|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectit.unina.repository.MIRA.MIRA
public class MIRA
This class implements the integration of MIRA (Unina). This is the algorithms described in : NewMira (Wang, B., Su, X., Chen, C.: A New Bandwidth Guaranteed Routing Algorithm for MPLS Traffic Engineering. In Proceedings of IEEE International Conference on Communications, ICC 2002) Simple MIRA (Iliadis, I., Bauer, D.: A New Class of Online Minimum-Interference Routing Algorithms. NETWORKING 2002, LNCS 2345 (2002) 959-971)
Creation date : 6 juin 2005 14:55:06
| Constructor Summary | |
|---|---|
MIRA()
|
|
| Method Summary | |
|---|---|
void |
addLSP(Lsp lsp)
Adds an LSP to MIRA database |
java.util.List<ParameterDescriptor> |
getPrimaryRoutingParameters()
|
java.util.HashMap |
getRunningParameters()
Returns the parameters given when the algorithm was started |
java.util.List<ParameterDescriptor> |
getStartAlgoParameters()
Returns the optional parameters that can be given when starting the algorithm |
void |
invalidateDB()
Tells the algo that the database is not up-to-date |
boolean |
isDBValid()
return true if the local DB is up-to-date |
void |
removeLSP(java.lang.String lspid)
Remove an LSP from MIRA database |
void |
restart()
restarts the algorithm with the same parameters |
TotemActionList |
routeLSP(Domain dom,
LSPPrimaryRoutingParameter param)
Computes a path with MIRA for one demand from a source node to a destination node with a bandwidth requirement |
TotemActionList |
routeNLSP(Domain dom,
java.util.List<LSPPrimaryRoutingParameter> param)
Computes paths with MIRA for a list of demands. |
void |
start(java.util.HashMap params)
Used to start and initialize the algorithm |
void |
stop()
Cleans all Mira data structures |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MIRA()
| Method Detail |
|---|
public void start(java.util.HashMap params)
throws AlgorithmInitialisationException
TotemAlgorithm
start in interface TotemAlgorithmAlgorithmInitialisationExceptionpublic void stop()
stop in interface TotemAlgorithm
public TotemActionList routeNLSP(Domain dom,
java.util.List<LSPPrimaryRoutingParameter> param)
throws RoutingException,
NoRouteToHostException,
LocalDatabaseException
routeNLSP in interface LSPPrimaryRoutingparam - the list of the demand specified as a list of LSPPrimaryRoutingParameter
RoutingException
NoRouteToHostException
LocalDatabaseException
public TotemActionList routeLSP(Domain dom,
LSPPrimaryRoutingParameter param)
throws RoutingException,
NoRouteToHostException,
LocalDatabaseException
routeLSP in interface LSPPrimaryRoutingparam - contains the source, destination, bandwidth, PL, OA, ...
RoutingException
NoRouteToHostException
LocalDatabaseException
public void addLSP(Lsp lsp)
throws RoutingException
lsp - the LSP to be added
RoutingException
public void removeLSP(java.lang.String lspid)
throws RoutingException
lspid -
RoutingExceptionpublic java.util.List<ParameterDescriptor> getStartAlgoParameters()
TotemAlgorithm
getStartAlgoParameters in interface TotemAlgorithmpublic java.util.HashMap getRunningParameters()
TotemAlgorithm
getRunningParameters in interface TotemAlgorithmpublic java.util.List<ParameterDescriptor> getPrimaryRoutingParameters()
getPrimaryRoutingParameters in interface LSPPrimaryRoutingpublic boolean isDBValid()
DomainSyncAlgorithm
isDBValid in interface DomainSyncAlgorithmpublic void invalidateDB()
DomainSyncAlgorithm
invalidateDB in interface DomainSyncAlgorithmpublic void restart()
DomainSyncAlgorithm
restart in interface DomainSyncAlgorithm
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||