Interface PortStatus
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,OfHeader
,PortGrouping
- All Known Subinterfaces:
PortStatusMessage
@Generated("mdsal-binding-generator") public interface PortStatus extends org.opendaylight.yangtools.yang.binding.DataObject, OfHeader, PortGrouping
This class represents the following YANG schema fragment defined in module openflow-protocol
grouping port-status { uses ofHeader; uses port-grouping; leaf reason { type oft:port-reason; } }
The schema path to identify an instance is openflow-protocol/port-status
-
-
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 Modifier and Type Method Description PortReason
getReason()
Return reason, ornull
if it is not present.Class<? extends PortStatus>
implementedInterface()
-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.OfHeader
getVersion, getXid
-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.PortGrouping
getAdvertisedFeatures, getAdvertisedFeaturesV10, getConfig, getConfigV10, getCurrentFeatures, getCurrentFeaturesV10, getCurrSpeed, getHwAddr, getMaxSpeed, getName, getPeerFeatures, getPeerFeaturesV10, getPortNo, getState, getStateV10, getSupportedFeatures, getSupportedFeaturesV10
-
-
-
-
Method Detail
-
implementedInterface
Class<? extends PortStatus> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
- Specified by:
implementedInterface
in interfaceOfHeader
- Specified by:
implementedInterface
in interfacePortGrouping
-
getReason
PortReason getReason()
Return reason, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.PortReason
reason, ornull
if it is not present.
-
-