be.ac.ulg.montefiore.run.totem.netController.model
Class RerouteLSPOnFailureNetworkController
java.lang.Object
be.ac.ulg.montefiore.run.totem.domain.model.DomainChangeAdapter
be.ac.ulg.montefiore.run.totem.netController.model.RerouteLSPOnFailureNetworkController
- All Implemented Interfaces:
- DomainChangeListener, NetworkController
public class RerouteLSPOnFailureNetworkController
- extends DomainChangeAdapter
- implements NetworkController
This class implements a network controller. This controller asks a primary
LSPs routing algorithm to recompute the deleted LSPs.
The parameters of this class are:
- ASID: the domain on which the controller has to listen the
events. Note that this parameter is optional: we use the default
domain if no domain is specified.
- routingAlgo: the primary LSPs routing algorithm to use to
recompute the deleted LSPs.
Creation date: 23-mars-2005
- Author:
- Jean Lepropre (lepropre@run.montefiore.ulg.ac.be)
Method Summary |
void |
rerouteLspEvent(Lsp lsp)
Notify the fact that a LSP must be rerouted. |
void |
start(java.util.HashMap<java.lang.String,java.lang.String> params)
See the documentation of this class to have a list of the parameters. |
Methods inherited from class be.ac.ulg.montefiore.run.totem.domain.model.DomainChangeAdapter |
addLinkEvent, addLspEvent, addNodeEvent, linkBandwidthChangeEvent, linkDelayChangeEvent, linkMetricChangeEvent, linkReservedBandwidthChangeEvent, linkStatusChangeEvent, linkTeMetricChangeEvent, lspReservationChangeEvent, nodeLocationChangeEvent, nodeStatusChangeEvent, removeLinkEvent, removeLspEvent, removeNodeEvent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface be.ac.ulg.montefiore.run.totem.domain.model.DomainChangeListener |
addLinkEvent, addLspEvent, addNodeEvent, linkBandwidthChangeEvent, linkDelayChangeEvent, linkMetricChangeEvent, linkReservedBandwidthChangeEvent, linkStatusChangeEvent, linkTeMetricChangeEvent, lspReservationChangeEvent, nodeLocationChangeEvent, nodeStatusChangeEvent, removeLinkEvent, removeLspEvent, removeNodeEvent |
RerouteLSPOnFailureNetworkController
public RerouteLSPOnFailureNetworkController()
start
public void start(java.util.HashMap<java.lang.String,java.lang.String> params)
throws NetworkControllerInitialisationException
- See the documentation of this class to have a list of the parameters.
- Specified by:
start
in interface NetworkController
- Parameters:
params
- The parameters to initialise the network controller. See
the specific documentation of each network controller to have a list of
the supported parameters.
- Throws:
NetworkControllerInitialisationException
- If an error occurs
during the initialisation of the controller.- See Also:
NetworkController.start(HashMap)
rerouteLspEvent
public void rerouteLspEvent(Lsp lsp)
- Description copied from interface:
DomainChangeListener
- Notify the fact that a LSP must be rerouted.
- Specified by:
rerouteLspEvent
in interface DomainChangeListener
- Overrides:
rerouteLspEvent
in class DomainChangeAdapter
- Parameters:
lsp
- The LSP to reroute.
Copyright © 2004-2006 Research Unit in Networking, All Rights Reserved.