public final class OpenFlowValueMapper extends Object
| Modifier and Type | Method and Description |
|---|---|
static org.onosproject.net.ChannelSpacing |
lookupChannelSpacing(byte spacing)
Looks up the corresponding
ChannelSpacing instance
from the specified byte value for channel spacing
defined in ONF "Optical Transport Protocol Extensions Version 1.0". |
static byte |
lookupChannelSpacing(org.onosproject.net.ChannelSpacing spacing)
Looks up the corresponding byte value for channel spacing defined in
ONF "Optical Transport Protocol Extensions Version 1.0"
from the specified
ChannelSpacing instance. |
static org.onosproject.net.GridType |
lookupGridType(byte type)
Looks up the corresponding
GridType instance
from the specified byte value for grid type
defined in ONF "Optical Transport Protocol Extensions Version 1.0". |
static byte |
lookupGridType(org.onosproject.net.GridType type)
Looks up the corresponding byte value defined in
ONF "Optical Transport Protocol Extensions Version 1.0"
from the specified
GridType instance. |
static org.onosproject.net.OchSignalType |
lookupOchSignalType(byte signalType)
Looks up the the corresponding
OchSignalType instance
from the specified byte value for Och signal type defined in
ONF "Optical Transport Protocol Extensions Version 1.0". |
static byte |
lookupOchSignalType(org.onosproject.net.OchSignalType signalType)
Looks up the corresponding byte value for Och signal type defined in
ONF "Optical Transport Protocol Extensions Version 1.0"
from the specified
OchSignalType instance. |
static org.onosproject.net.OduSignalType |
lookupOduSignalType(byte signalType)
Looks up the the corresponding
OchSignalType instance
from the specified byte value for ODU signal type defined in
ONF "Optical Transport Protocol Extensions Version 1.0". |
static byte |
lookupOduSignalType(org.onosproject.net.OduSignalType signalType)
Looks up the corresponding byte value for ODU signal type defined in
ONF "Optical Transport Protocol Extensions Version 1.0"
from the specified
OchSignalType instance. |
public static byte lookupGridType(org.onosproject.net.GridType type)
GridType instance.type - grid typeNoMappingFoundException - if the specified grid type is not foundpublic static org.onosproject.net.GridType lookupGridType(byte type)
GridType instance
from the specified byte value for grid type
defined in ONF "Optical Transport Protocol Extensions Version 1.0".type - byte value as grid type defined the specpublic static byte lookupChannelSpacing(org.onosproject.net.ChannelSpacing spacing)
ChannelSpacing instance.spacing - channel spacingNoMappingFoundException - if the specified channel spacing is not foundpublic static org.onosproject.net.ChannelSpacing lookupChannelSpacing(byte spacing)
ChannelSpacing instance
from the specified byte value for channel spacing
defined in ONF "Optical Transport Protocol Extensions Version 1.0".spacing - byte value as channel spacing defined the specNoMappingFoundException - if the specified channel spacing is not foundpublic static byte lookupOchSignalType(org.onosproject.net.OchSignalType signalType)
OchSignalType instance.signalType - optical signal typeNoMappingFoundException - if the specified Och signal type is not foundpublic static org.onosproject.net.OchSignalType lookupOchSignalType(byte signalType)
OchSignalType instance
from the specified byte value for Och signal type defined in
ONF "Optical Transport Protocol Extensions Version 1.0".signalType - byte value as Och singal type defined the specNoMappingFoundException - if the specified Och signal type is not foundpublic static byte lookupOduSignalType(org.onosproject.net.OduSignalType signalType)
OchSignalType instance.signalType - ODU (Optical channel Data Unit) signal typeNoMappingFoundException - if the specified ODU signal type is not foundpublic static org.onosproject.net.OduSignalType lookupOduSignalType(byte signalType)
OchSignalType instance
from the specified byte value for ODU signal type defined in
ONF "Optical Transport Protocol Extensions Version 1.0".signalType - byte value as ODU (Optical channel Data Unit) signal type defined the specNoMappingFoundException - if the specified ODU signal type is not found