Interface CommonPortWithMask
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,CommonPort
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
Port
,PortMessage
@Generated("mdsal-binding-generator") public interface CommonPortWithMask extends org.opendaylight.yangtools.yang.binding.DataObject, CommonPort
This class represents the following YANG schema fragment defined in module opendaylight-port-types
grouping common-port-with-mask { uses common-port; leaf mask { type port-config; } }
The schema path to identify an instance is opendaylight-port-typescommon-port-with-mask
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PortConfig
getMask()
Return mask, ornull
if it is not present.Class<? extends CommonPortWithMask>
implementedInterface()
default @NonNull PortConfig
requireMask()
Return mask, guaranteed to be non-null.-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.port.rev130925.CommonPort
getAdvertisedFeatures, getConfiguration, getHardwareAddress, getPortNumber, requireAdvertisedFeatures, requireConfiguration, requireHardwareAddress, requirePortNumber
-
-
-
-
Method Detail
-
implementedInterface
Class<? extends CommonPortWithMask> implementedInterface()
- Specified by:
implementedInterface
in interfaceCommonPort
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getMask
PortConfig getMask()
Return mask, ornull
if it is not present.Bitmap of OFPPC-* flags to be changed
- Returns:
PortConfig
mask, ornull
if it is not present.
-
requireMask
default @NonNull PortConfig requireMask()
Return mask, guaranteed to be non-null.Bitmap of OFPPC-* flags to be changed
- Returns:
PortConfig
mask, guaranteed to be non-null.- Throws:
NoSuchElementException
- if mask is not present
-
-