public class WIpLink extends WAbstractNetworkElement
Modifier and Type | Method and Description |
---|---|
void |
coupleToLightpathRequest(WLightpathRequest lpReq)
Couples this IP link to the provided lightpath request.
|
void |
decouple()
Decouples this IP link, if it is coupled to a lightpath
|
WNode |
getA()
Returns the IP link orgin node
|
WNode |
getB()
Returns the IP link destination node
|
WIpLink |
getBidirectionalPair()
If the IP link is part of a pair of IP bidirectional links, returns the opposite link pair.
|
double |
getCarriedTrafficGbps()
Returns the current IP traffic carried by the IP link in Gbps.
|
WLightpathRequest |
getCoupledLpRequest()
Returns the lightpath that this IP link is coupled to, or raises an exception if this IP link is not coupled
|
double |
getCurrentCapacityGbps()
Returns the current IP link capacity.
|
double |
getLengthIfNotCoupledInKm()
Returns the user-defined link length in km, which is assumed to be the valid one when the IP link is not coupled to a lightpath
|
Link |
getNe()
Returns the underlying Net2Plan object.
|
double |
getNominalCapacityGbps()
Returns the link nominal capacity in Gbps.
|
double |
getWorstCaseLengthInKm()
Returns the length of this link.
|
double |
getWorstCasePropagationDelayInMs()
Returns the propagation delay in ms of this link.
|
boolean |
isBidirectional()
Returns true if the IP link is part of a pair of IP bidirectional links
|
boolean |
isCoupledtoLpRequest()
Indicates if this IP link is coupled to a lighptath
|
boolean |
isVirtualLink()
Returns true is the IP links is virtual.
|
void |
setLengthIfNotCoupledInKm(double lengthInKm)
sets the user-defined link length in km, which is assumed to be the valid one when the IP link is not coupled to a lightpath
|
String |
toString() |
compareTo, equals, getAsFiber, getAsIpLayer, getAsIpLink, getAsLightpathRequest, getAsLightpathUnregenerated, getAsNode, getAsServiceChain, getAsServiceChainRequest, getAsVnfInstance, getAsWdmLayer, getId, getNet, getNetPlan, isFiber, isLayerIp, isLayerWdm, isLightpathRequest, isLightpathUnregenerated, isNode, isServiceChain, isServiceChainRequest, isVnfInstance, isWIpLink, wasRemoved
public void coupleToLightpathRequest(WLightpathRequest lpReq)
lpReq
- see abovepublic void decouple()
public WNode getA()
public WNode getB()
public WIpLink getBidirectionalPair()
public double getCarriedTrafficGbps()
public WLightpathRequest getCoupledLpRequest()
public double getCurrentCapacityGbps()
public double getLengthIfNotCoupledInKm()
public Link getNe()
WAbstractNetworkElement
getNe
in class WAbstractNetworkElement
public double getNominalCapacityGbps()
public double getWorstCaseLengthInKm()
public double getWorstCasePropagationDelayInMs()
public boolean isBidirectional()
public boolean isCoupledtoLpRequest()
public boolean isVirtualLink()
public void setLengthIfNotCoupledInKm(double lengthInKm)
lengthInKm
- see aboveCopyright © 2018. All rights reserved.