public final class OpticalIntentUtility
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static org.onosproject.net.intent.Intent |
createOpticalIntent(org.onosproject.net.ConnectPoint ingress,
org.onosproject.net.ConnectPoint egress,
org.onosproject.net.device.DeviceService deviceService,
org.onosproject.net.intent.Key key,
org.onosproject.core.ApplicationId appId,
boolean bidirectional,
org.onosproject.net.OchSignal signal)
Returns a new optical intent created from the method parameters.
|
public static org.onosproject.net.intent.Intent createOpticalIntent(org.onosproject.net.ConnectPoint ingress,
org.onosproject.net.ConnectPoint egress,
org.onosproject.net.device.DeviceService deviceService,
org.onosproject.net.intent.Key key,
org.onosproject.core.ApplicationId appId,
boolean bidirectional,
org.onosproject.net.OchSignal signal)
ingress - ingress description (device/port)egress - egress description (device/port)deviceService - device servicekey - intent keyappId - application idbidirectional - if this argument is true, the optical link created
will be bidirectional, otherwise the link will be unidirectional.signal - optical signal