@Beta public class PacketLinkRealizedByOptical extends Object
| Constructor and Description |
|---|
PacketLinkRealizedByOptical(org.onosproject.net.ConnectPoint src,
org.onosproject.net.ConnectPoint dst,
org.onosproject.net.intent.Key realizingIntentKey,
org.onlab.util.Bandwidth bandwidth)
Creates instance with specified parameters.
|
| Modifier and Type | Method and Description |
|---|---|
org.onlab.util.Bandwidth |
bandwidth()
Returns assigned bandwidth.
|
static PacketLinkRealizedByOptical |
create(org.onosproject.net.ConnectPoint src,
org.onosproject.net.ConnectPoint dst,
org.onosproject.net.intent.OpticalCircuitIntent intent)
Creates PacketLinkRealizedByOptical instance with specified connect points and OpticalCircuitIntent.
|
static PacketLinkRealizedByOptical |
create(org.onosproject.net.ConnectPoint src,
org.onosproject.net.ConnectPoint dst,
org.onosproject.net.intent.OpticalConnectivityIntent intent)
Creates PacketLinkRealizedByOptical instance with specified connect points and OpticalConnectivityIntent.
|
org.onosproject.net.ConnectPoint |
dst()
Returns destination connect point.
|
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
isBetween(org.onosproject.net.ConnectPoint src,
org.onosproject.net.ConnectPoint dst)
Check if packet link is between specified two connect points.
|
org.onosproject.net.intent.Key |
realizingIntentKey()
Returns intent key.
|
org.onosproject.net.ConnectPoint |
src()
Returns source connect point.
|
public PacketLinkRealizedByOptical(org.onosproject.net.ConnectPoint src,
org.onosproject.net.ConnectPoint dst,
org.onosproject.net.intent.Key realizingIntentKey,
org.onlab.util.Bandwidth bandwidth)
src - source connect pointdst - destination connect pointrealizingIntentKey - key of Optical*Intent that realizes packet link between src and dstbandwidth - assigned bandwidthpublic static PacketLinkRealizedByOptical create(org.onosproject.net.ConnectPoint src, org.onosproject.net.ConnectPoint dst, org.onosproject.net.intent.OpticalCircuitIntent intent)
src - source connect pointdst - destination connect pointintent - OpticalCircuitIntent that realizes packet link between src and dstpublic static PacketLinkRealizedByOptical create(org.onosproject.net.ConnectPoint src, org.onosproject.net.ConnectPoint dst, org.onosproject.net.intent.OpticalConnectivityIntent intent)
src - source connect pointdst - destination connect pointintent - OpticalConnectivityIntent that realizes packet link between src and dstpublic org.onosproject.net.ConnectPoint src()
public org.onosproject.net.ConnectPoint dst()
public org.onlab.util.Bandwidth bandwidth()
public org.onosproject.net.intent.Key realizingIntentKey()
public boolean isBetween(org.onosproject.net.ConnectPoint src,
org.onosproject.net.ConnectPoint dst)
src - source connect pointdst - destination connect point