@Beta
public final class OduCltPortHelper
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.util.Optional<OduCltPort> |
asOduCltPort(org.onosproject.net.Port port) |
static org.onosproject.net.device.PortDescription |
oduCltPortDescription(org.onosproject.net.device.PortDescription base,
org.onosproject.net.CltSignalType signalType,
org.onosproject.net.SparseAnnotations annotations)
Creates ODU client port description based on the supplied information.
|
static org.onosproject.net.device.PortDescription |
oduCltPortDescription(org.onosproject.net.PortNumber number,
boolean isEnabled,
org.onosproject.net.CltSignalType signalType)
Creates ODU client port description based on the supplied information.
|
static org.onosproject.net.device.PortDescription |
oduCltPortDescription(org.onosproject.net.PortNumber number,
boolean isEnabled,
org.onosproject.net.CltSignalType signalType,
org.onosproject.net.SparseAnnotations annotations)
Creates ODU client port description based on the supplied information.
|
static org.onosproject.net.Annotations |
stripHandledAnnotations(org.onosproject.net.Annotations input)
Returns
Annotations not used by the port type projection. |
public static org.onosproject.net.device.PortDescription oduCltPortDescription(org.onosproject.net.PortNumber number,
boolean isEnabled,
org.onosproject.net.CltSignalType signalType)
number - port numberisEnabled - port enabled statesignalType - ODU client signal typepublic static org.onosproject.net.device.PortDescription oduCltPortDescription(org.onosproject.net.PortNumber number,
boolean isEnabled,
org.onosproject.net.CltSignalType signalType,
org.onosproject.net.SparseAnnotations annotations)
number - port numberisEnabled - port enabled statesignalType - ODU client signal typeannotations - key/value annotations mappublic static org.onosproject.net.device.PortDescription oduCltPortDescription(org.onosproject.net.device.PortDescription base,
org.onosproject.net.CltSignalType signalType,
org.onosproject.net.SparseAnnotations annotations)
base - PortDescription to get basic information fromsignalType - ODU client signal typeannotations - key/value annotations mappublic static java.util.Optional<OduCltPort> asOduCltPort(org.onosproject.net.Port port)
public static org.onosproject.net.Annotations stripHandledAnnotations(org.onosproject.net.Annotations input)
Annotations not used by the port type projection.input - AnnotationsAnnotations