Implements the reactions of an IP network governed by the OSPF/ECMP forwarding policies, for given link weigths
This algorithm implements the reactions of an IP network governed by the OSPF/ECMP forwarding policies, for given link weigths, to the following events:
SimEvent.DemandAdd: Adds a new IP traffic demand, and recomputes the routing (now including the new traffic).
SimEvent.DemandRemove: Remvoes an IP traffic demand, and recomputes the routing.
SimEvent.DemandModify: Modifies the offered traffic of a demand, and recomputes the routing.
SimEvent.LinkAdd: Adds a new IP link to the network, recomputes the routing tables and the routing.
SimEvent.LinkRemove: Removes an existing IP link in the network, recomputes the routing tables and the routing.
SimEvent.LinkModify: Modifies the capacity of an IP link. The routing is not modified, since OSPF does not react to capacity changes.
SimEvent.NodesAndLinksChangeFailureState: Fails/repairs the indicated nodes and/or IP links, and reacts to such failures as OSPF does: the failed links are removed from the routing tables, and the network routing recomputed.
This module can be used in conjunction with the Online_evGen_generalGenerator generator for simulating IP/OSPF networks.
See the technology conventions used in Net2Plan built-in algorithms and libraries to represent IP/OSPF networks.