Interface CommonPort
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
CommonPortWithMask
,FlowCapableNodeConnector
,FlowCapableNodeConnectorUpdated
,FlowCapableNodeConnectorUpdateFields
,FlowCapablePort
,FlowNodeConnector
,FlowPortStatus
,NodePort
,Port
,PortMessage
,PortRemoved
,Ports
@Generated("mdsal-binding-generator") public interface CommonPort extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module opendaylight-port-types
grouping common-port { leaf port-number { type port-number-uni; } leaf hardware-address { type yang:mac-address; } leaf configuration { type port-config; } leaf advertised-features { type port-features; } }
The schema path to identify an instance is opendaylight-port-types/common-port
-
-
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 PortFeatures
getAdvertisedFeatures()
Return advertisedFeatures, ornull
if it is not present.PortConfig
getConfiguration()
Return configuration, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress
getHardwareAddress()
Return hardwareAddress, ornull
if it is not present.PortNumberUni
getPortNumber()
Return portNumber, ornull
if it is not present.Class<? extends CommonPort>
implementedInterface()
-
-
-
Method Detail
-
implementedInterface
Class<? extends CommonPort> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getPortNumber
PortNumberUni getPortNumber()
Return portNumber, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.port.rev130925.PortNumberUni
portNumber, ornull
if it is not present.
-
getHardwareAddress
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress getHardwareAddress()
Return hardwareAddress, ornull
if it is not present.MAC Address of the port
- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress
hardwareAddress, ornull
if it is not present.
-
getConfiguration
PortConfig getConfiguration()
Return configuration, ornull
if it is not present.Bit map of OFPPC-* flags
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.port.rev130925.PortConfig
configuration, ornull
if it is not present.
-
getAdvertisedFeatures
PortFeatures getAdvertisedFeatures()
Return advertisedFeatures, ornull
if it is not present.Features being advertised by the port
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.port.rev130925.PortFeatures
advertisedFeatures, ornull
if it is not present.
-
-