|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.ac.ulg.montefiore.run.totem.domain.model.DomainChangeAdapter
be.ac.ulg.montefiore.run.totem.domain.model.impl.UseBackupOnFailureRerouteMethod
public class UseBackupOnFailureRerouteMethod
When a lsp status changes to down, one of its backups is chosen and activated. If reusePrimary
is set to
true, when a link becomes up, primaries on this link are activated if possible. If a primary is activated, its backups
are disabled.
Creation date: 8/05/2007
Constructor Summary | |
---|---|
UseBackupOnFailureRerouteMethod()
|
Method Summary | |
---|---|
java.util.List<ParameterDescriptor> |
getStartParameters()
Returns the optional parameters that can be given when starting the algorithm |
void |
linkStatusChangeEvent(Link link)
Notify a link status change event |
void |
lspStatusChangeEvent(Lsp lsp)
Notify a change in the status of an LSP (UP<->DOWN) |
void |
setDomain(Domain domain)
Sets the domain on which the network controller should listens to events. |
void |
start(java.util.HashMap<java.lang.String,java.lang.String> params)
Starts the reroute method. |
void |
stop()
Stop the reroute method. |
Methods inherited from class be.ac.ulg.montefiore.run.totem.domain.model.DomainChangeAdapter |
---|
addLinkEvent, addLspEvent, addNodeEvent, linkBandwidthChangeEvent, linkDelayChangeEvent, linkMetricChangeEvent, linkReservedBandwidthChangeEvent, linkTeMetricChangeEvent, lspReservationChangeEvent, nodeLocationChangeEvent, nodeStatusChangeEvent, removeLinkEvent, removeLspEvent, removeNodeEvent, rerouteLspEvent |
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, linkTeMetricChangeEvent, lspReservationChangeEvent, nodeLocationChangeEvent, nodeStatusChangeEvent, removeLinkEvent, removeLspEvent, removeNodeEvent, rerouteLspEvent |
Constructor Detail |
---|
public UseBackupOnFailureRerouteMethod()
Method Detail |
---|
public void start(java.util.HashMap<java.lang.String,java.lang.String> params) throws RerouteMethodInitialisationException
RerouteMethod
start
in interface RerouteMethod
params
- The parameters to initialise the reroute method. See
the specific documentation of each reroute method to have a list of
the supported parameters.
RerouteMethodInitialisationException
- If an error occurs
during the initialisation of the controller.public void stop()
RerouteMethod
stop
in interface RerouteMethod
public void setDomain(Domain domain)
RerouteMethod
setDomain
in interface RerouteMethod
public java.util.List<ParameterDescriptor> getStartParameters()
RerouteMethod
getStartParameters
in interface RerouteMethod
public void linkStatusChangeEvent(Link link)
DomainChangeAdapter
linkStatusChangeEvent
in interface DomainChangeListener
linkStatusChangeEvent
in class DomainChangeAdapter
public void lspStatusChangeEvent(Lsp lsp)
DomainChangeAdapter
lspStatusChangeEvent
in interface DomainChangeListener
lspStatusChangeEvent
in class DomainChangeAdapter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |