public class WServiceChain extends WAbstractNetworkElement
Modifier and Type | Method and Description |
---|---|
WNode |
getA()
The service chain origin node
|
WNode |
getB()
The service chain destination node
|
double |
getInitiallyInjectedTrafficGbps()
Returns the traffic injected by the service chain origin node in Gbps
|
Route |
getNe()
Returns the underlying Net2Plan object.
|
List<? extends WAbstractNetworkElement> |
getSequenceOfLinksAndVnfs()
Returns the sequence of traversed IP links and VNF instances traversed
|
List<WIpLink> |
getSequenceOfTraversedIpLinks()
Returns the sequence of traversed IP links, filtering out any VNF instance traversed
|
List<WVnfInstance> |
getSequenceOfTraversedVnfInstances()
Returns the sequence of traversed VNF instances, filtering out any IP link traversed
|
WServiceChainRequest |
getServiceChainRequest()
Returns the service chain request that this service chain is realizing
|
void |
remove()
Removes this service chain, realeasing the resources
|
void |
setInitiallyInjectedTrafficGbps(double injectedTrafficGbps)
Sets the traffic injected by the service chain origin node in Gbps
|
void |
setPath(List<? extends WAbstractNetworkElement> seqIpLinksAndVnfInstances)
Reconfigures the path of the service chain: the sequence of IP links and VNF instances to traverse
|
void |
setPathAndInitiallyInjectedTraffic(Optional<Double> optInjectedTrafficGbps,
Optional<List<? extends WAbstractNetworkElement>> optSeqIpLinksAndVnfInstances)
Reconfigures in one shot: (i) the injected traffic by the origin node of the service chain, and (ii) the path of the chain: the sequence of traversed IP links and VNF instances
|
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 WNode getA()
public WNode getB()
public double getInitiallyInjectedTrafficGbps()
public Route getNe()
WAbstractNetworkElement
getNe
in class WAbstractNetworkElement
public List<? extends WAbstractNetworkElement> getSequenceOfLinksAndVnfs()
public List<WIpLink> getSequenceOfTraversedIpLinks()
public List<WVnfInstance> getSequenceOfTraversedVnfInstances()
public WServiceChainRequest getServiceChainRequest()
public void remove()
public void setInitiallyInjectedTrafficGbps(double injectedTrafficGbps)
injectedTrafficGbps
- see abovepublic void setPath(List<? extends WAbstractNetworkElement> seqIpLinksAndVnfInstances)
seqIpLinksAndVnfInstances
- see abovepublic void setPathAndInitiallyInjectedTraffic(Optional<Double> optInjectedTrafficGbps, Optional<List<? extends WAbstractNetworkElement>> optSeqIpLinksAndVnfInstances)
optInjectedTrafficGbps
- see aboveoptSeqIpLinksAndVnfInstances
- see aboveCopyright © 2018. All rights reserved.