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
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()
Features being advertised by the portPortConfig
getConfiguration()
Bit map of OFPPC-* flagsorg.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress
getHardwareAddress()
MAC Address of the portPortNumberUni
getPortNumber()
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()
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.port.rev130925.PortNumberUni
portNumber
, ornull
if not present
-
getHardwareAddress
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress getHardwareAddress()
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 not present
-
getConfiguration
PortConfig getConfiguration()
Bit map of OFPPC-* flags- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.port.rev130925.PortConfig
configuration
, ornull
if not present
-
getAdvertisedFeatures
PortFeatures getAdvertisedFeatures()
Features being advertised by the port- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.port.rev130925.PortFeatures
advertisedFeatures
, ornull
if not present
-
-