Model Architecture: OSPF

The following figure shows the relevant portions of a typical node model using the process models defined for OSPF.

Figure 427: Node Model Structure Surrounding OSPF

Node Model Structure Surrounding OSPF

The following table lists the process models used by the OSPF model suite. The process models implement both supported versions of OSPF.

Table 174: OSPF Process Models

Name Location Summary
ospf_v2 OSPF module Initializes major OSPF components (routing table, external routing information cache, and so on) on a per process basis. Redirects control packets to/from appropriate OSPF processes. Dispatches node/link failure/recovery events to processes.
ospf_process OSPF module Manages LSDB, routing-table and area information. It also processes incoming control packets (like HELLO, LSR, LS-ACK etc.).
ospf_interface_v2 OSPF module Implements the OSPF interface state machine to represent the state and behavior of an OSPF interface. Responsible for spawning neighbor processes.
ospf_neighbor_v2 OSPF module Maintains the neighbor state and implements the neighbor state machine.
ospf_virtual_interface_v2 OSPF module Implements the OSPF interface state machine to represent the state and behavior of an OSPF interface over a virtual link. Responsible for spawning neighbor processes.