Interface FlowCapablePort
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,CommonPort
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,Queues
- All Known Subinterfaces:
FlowCapableNodeConnector
,FlowCapableNodeConnectorUpdated
,FlowCapableNodeConnectorUpdateFields
,FlowNodeConnector
,FlowPortStatus
,NodePort
,PortRemoved
,Ports
public interface FlowCapablePort extends org.opendaylight.yangtools.yang.binding.DataObject, CommonPort, Queues
This class represents the following YANG schema fragment defined in module opendaylight-port-types
grouping flow-capable-port { uses common-port; leaf name { type string; } container state { uses port-state; } leaf current-feature { type port-features; } leaf supported { type port-features; } leaf peer-features { type port-features; } leaf current-speed { type uint32; units kbps; } leaf maximum-speed { type uint32; units kbps; } uses queues; }
The schema path to identify an instance is opendaylight-port-types/flow-capable-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 @Nullable PortFeatures
getCurrentFeature()
Bit map of OFPPF-* flags@Nullable org.opendaylight.yangtools.yang.common.Uint32
getCurrentSpeed()
Current port bit rate in kbps@Nullable org.opendaylight.yangtools.yang.common.Uint32
getMaximumSpeed()
Max port bit rate in kbps@Nullable String
getName()
Human readable name of the port@Nullable PortFeatures
getPeerFeatures()
Features advertised by peer@Nullable State
getState()
Description of state of port@Nullable PortFeatures
getSupported()
Features supported by the portClass<? extends FlowCapablePort>
implementedInterface()
-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.port.rev130925.CommonPort
getAdvertisedFeatures, getConfiguration, getHardwareAddress, getPortNumber
-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.port.rev130925.Queues
getQueue, nonnullQueue
-
-
-
-
Method Detail
-
implementedInterface
Class<? extends FlowCapablePort> 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
- Specified by:
implementedInterface
in interfaceQueues
-
getName
@Nullable String getName()
Human readable name of the port- Returns:
java.lang.String
name
, ornull
if not present
-
getState
@Nullable State getState()
Description of state of port- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.port.rev130925.flow.capable.port.State
state
, ornull
if not present
-
getCurrentFeature
@Nullable PortFeatures getCurrentFeature()
Bit map of OFPPF-* flags- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.port.rev130925.PortFeatures
currentFeature
, ornull
if not present
-
getSupported
@Nullable PortFeatures getSupported()
Features supported by the port- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.port.rev130925.PortFeatures
supported
, ornull
if not present
-
getPeerFeatures
@Nullable PortFeatures getPeerFeatures()
Features advertised by peer- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.port.rev130925.PortFeatures
peerFeatures
, ornull
if not present
-
getCurrentSpeed
@Nullable org.opendaylight.yangtools.yang.common.Uint32 getCurrentSpeed()
Current port bit rate in kbps- Returns:
org.opendaylight.yangtools.yang.common.Uint32
currentSpeed
, ornull
if not present
-
getMaximumSpeed
@Nullable org.opendaylight.yangtools.yang.common.Uint32 getMaximumSpeed()
Max port bit rate in kbps- Returns:
org.opendaylight.yangtools.yang.common.Uint32
maximumSpeed
, ornull
if not present
-
-