Interface CommonPortWithMask
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
,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; } }
-
Field Summary
Modifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptiongetMask()
Return mask, ornull
if it is not present.Class<? extends CommonPortWithMask>
default @NonNull PortConfig
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
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends CommonPortWithMask> implementedInterface()- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
- Specified by:
implementedInterface
in interfaceCommonPort
- 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
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
-