|
||||||||||
| 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.RemovePrimaryOnFailureRerouteMethod
public class RemovePrimaryOnFailureRerouteMethod
When an lsp status changed to down, it is removed from the domain. If the lsp had backups, one is chosen, activated, and converted into a primary with the same id as the removed lsp.
Creation date: 7/05/2007
| Constructor Summary | |
|---|---|
RemovePrimaryOnFailureRerouteMethod()
|
|
RemovePrimaryOnFailureRerouteMethod(Domain domain)
|
|
| Method Summary | |
|---|---|
java.util.List<ParameterDescriptor> |
getStartParameters()
Returns the optional parameters that can be given when starting the algorithm |
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, linkStatusChangeEvent, 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, linkStatusChangeEvent, linkTeMetricChangeEvent, lspReservationChangeEvent, nodeLocationChangeEvent, nodeStatusChangeEvent, removeLinkEvent, removeLspEvent, removeNodeEvent, rerouteLspEvent |
| Constructor Detail |
|---|
public RemovePrimaryOnFailureRerouteMethod()
public RemovePrimaryOnFailureRerouteMethod(Domain domain)
| Method Detail |
|---|
public void start(java.util.HashMap<java.lang.String,java.lang.String> params)
throws RerouteMethodInitialisationException
start in interface RerouteMethodparams - 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 method.public void stop()
stop in interface RerouteMethodpublic void setDomain(Domain domain)
RerouteMethod
setDomain in interface RerouteMethodpublic java.util.List<ParameterDescriptor> getStartParameters()
getStartParameters in interface RerouteMethodpublic void lspStatusChangeEvent(Lsp lsp)
DomainChangeAdapter
lspStatusChangeEvent in interface DomainChangeListenerlspStatusChangeEvent in class DomainChangeAdapter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||