Implements the reactions of a WDM network carrying lightpaths in a fixed or flexi grid of wavelengths.
The design follows the assumptions described in WDMUtils
Net2Plan library
This algorithm implements the reactions of a WDM network carrying lightpaths, to the following events:
WDMUtils.LightpathAdd
: Adds the corresponding lightpath to the network
(the Route object and potentially a ProtectionSegment object if the lightpath is asked to be 1+1 protected),
if enough resources exist for it. If the event includes a Demand object, the lightpath is associated to it.
If not, a new demand is created. The object establishes the line rate of the lightpath to establish. If such line rate is
not present in any transponder type defined, an exception is raised (on valid transponders exist for such a lightpath).
If the event includes the RSA (also of the backup, if 1+1 protection is selected), the algorithm
tries this RSA. If not, the user-selected strategy for the routing and spectrum assignment of the lightpath is applied.
Such strategy is tried first with the first transponder type (in order) with the appropriate line rate. If a valid RSA is not found
it is repeated with the next. The lightpath request is blocked if under no transponder type of the appropriate line rate, a RSA
is found (note that different transponders can have e.g. different optical reaches or number of occupied slots).
WDMUtils.LightpathModify
: Modifies the carried traffic and/or the RSA of a lightpath.
WDMUtils.LightpathRemove
: Removes the corresponding lightpath (including the Demand and Route objects, and potentially the 1+1 segment if any), releasing the resources.
SimEvent.NodesAndLinksChangeFailureState
: Fails/repairs the indicated nodes and/or links, and reacts to such failures
(the particular form depends on the network recovery options selected).
SimEvent.DemandModify
: Modifies the offered traffic of a demand.
SimEvent.DemandRemove
: Removes a demand, and all its associated lightpaths if any, releasing the resources.
This module can be used in conjunction with the
Online_evGen_wdm
generator for creating the events to which
this module reacts.
See in
WDMUtils
Javadoc the WDM technology conventions used in Net2Plan built-in algorithms and libraries to represent WDM networks.