|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.ac.ulg.montefiore.run.totem.repository.model.LSPRoutingParameter
be.ac.ulg.montefiore.run.totem.repository.model.LSPBypassRoutingParameter
public final class LSPBypassRoutingParameter
This class specifies the information needed to compute a bypass backup.
It basically contains general LSP information (from LSPRoutingParameter
), diffserv information
(setup and holding levels and classtype), a list of protected linksand a destination node id.
For fast re-routable LSPs, only one protected link should be set. For NHOP lsps, the dstNode is optional and should
be the protected link destination node. For NNHOP, it is mandatory and should be the next next hop.
Creation date: 25-May-2005
Field Summary |
---|
Fields inherited from class be.ac.ulg.montefiore.run.totem.repository.model.LSPRoutingParameter |
---|
acceptedCos, bandwidth, isSetBandwidth, lspId, routingAlgorithmParams |
Constructor Summary | |
---|---|
LSPBypassRoutingParameter(java.lang.String lspId)
Assume that the destination of the LSP is the destination node of the last protected link. |
|
LSPBypassRoutingParameter(java.lang.String lspId,
java.lang.String dstNode)
Initialises a newly created LSPBypassRoutingParameter object. |
Method Summary | |
---|---|
void |
addProtectedLink(java.lang.String link)
Adds the link link to the list of the links protected by the LSP to create. |
int |
getClassType()
|
java.lang.String |
getDstNode()
|
int |
getHolding()
|
java.util.List<java.lang.String> |
getProtectedLink()
Returns the list of the links to protect. |
int |
getSetup()
|
boolean |
isSetClassType()
|
boolean |
isSetDstNode()
|
boolean |
isSetHolding()
|
boolean |
isSetSetup()
|
void |
setClassType(int classType)
|
void |
setDstNode(java.lang.String dstNode)
|
void |
setHolding(int holding)
|
void |
setSetup(int setup)
|
Methods inherited from class be.ac.ulg.montefiore.run.totem.repository.model.LSPRoutingParameter |
---|
getAcceptedCos, getBandwidth, getLspId, getRoutingAlgorithmParameter, isSetBandwidth, putAllRoutingAlgorithmParameter, putRoutingAlgorithmParameter, setAcceptedCos, setBandwidth, setLspId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LSPBypassRoutingParameter(java.lang.String lspId, java.lang.String dstNode)
LSPBypassRoutingParameter
object.
public LSPBypassRoutingParameter(java.lang.String lspId)
lspId
- Method Detail |
---|
public void addProtectedLink(java.lang.String link)
link
to the list of the links protected by the LSP to create.
link
- The ID of the link to add.public java.util.List<java.lang.String> getProtectedLink()
public int getClassType()
public void setClassType(int classType)
classType
- The classType to set.public boolean isSetClassType()
public int getHolding()
public void setHolding(int holding)
holding
- The holding to set.public boolean isSetHolding()
public int getSetup()
public void setSetup(int setup)
setup
- The setup to set.public boolean isSetSetup()
public java.lang.String getDstNode()
public void setDstNode(java.lang.String dstNode)
public boolean isSetDstNode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |