Package ospf

The XML API OSS interface uses the ospf package to configure the OSPF routing protocol. OSPF is a hierarchical link state protocol. OSPF is an IGP used within large ASs. OSPF routers exchange the state, cost, and other relevant interface information with neighbors once the neighbors are discovered. The information exchange enables all participating routers to establish a network topology map. Each router applies the Dijkstra algorithm to calculate the shortest path to each destination in the network. The resulting OSPF forwarding table is submitted to the routing table manager to calculate the routing table.

Because OSPF is hierarchical, routers are configured in logical groups called areas. The topology of each area is hidden from routers outside the area, which limits protocol traffic and routing table sizes. There are two main types of areas: