Interface PortGrouping
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
PhyPort
,Ports
,PortStatus
,PortStatusMessage
public interface PortGrouping extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module openflow-protocol
grouping port-grouping { leaf port-no { type uint32; } leaf hw-addr { type yang:mac-address; } leaf name { type string; } leaf config { type oft:port-config; } leaf state { type oft:port-state; } leaf current-features { type oft:port-features; } leaf advertised-features { type oft:port-features; } leaf supported-features { type oft:port-features; } leaf peer-features { type oft:port-features; } leaf curr-speed { type uint32; units kbps; } leaf max-speed { type uint32; units kbps; } leaf config-v10 { type oft:port-config-v10; } leaf state-v10 { type oft:port-state-v10; } leaf current-features-v10 { type oft:port-features-v10; } leaf advertised-features-v10 { type oft:port-features-v10; } leaf supported-features-v10 { type oft:port-features-v10; } leaf peer-features-v10 { type oft:port-features-v10; } }
The schema path to identify an instance is openflow-protocol/port-grouping
-
-
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
getAdvertisedFeatures()
Features being advertised by the port.@Nullable PortFeaturesV10
getAdvertisedFeaturesV10()
Features being advertised by the port.@Nullable PortConfig
getConfig()
Bitmap of OFPPC_* flags.@Nullable PortConfigV10
getConfigV10()
@Nullable PortFeatures
getCurrentFeatures()
Current features.@Nullable PortFeaturesV10
getCurrentFeaturesV10()
Current features.@Nullable org.opendaylight.yangtools.yang.common.Uint32
getCurrSpeed()
Current port bitrate in kbps.@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress
getHwAddr()
@Nullable org.opendaylight.yangtools.yang.common.Uint32
getMaxSpeed()
Max port bitrate in kbps@Nullable String
getName()
@Nullable PortFeatures
getPeerFeatures()
Features advertised by peer.@Nullable PortFeaturesV10
getPeerFeaturesV10()
Features advertised by peer.@Nullable org.opendaylight.yangtools.yang.common.Uint32
getPortNo()
@Nullable PortState
getState()
Bitmap of OFPPS_* flags.@Nullable PortStateV10
getStateV10()
@Nullable PortFeatures
getSupportedFeatures()
Features supported by the port.@Nullable PortFeaturesV10
getSupportedFeaturesV10()
Features supported by the port.Class<? extends PortGrouping>
implementedInterface()
-
-
-
Method Detail
-
implementedInterface
Class<? extends PortGrouping> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getPortNo
@Nullable org.opendaylight.yangtools.yang.common.Uint32 getPortNo()
- Returns:
org.opendaylight.yangtools.yang.common.Uint32
portNo
, ornull
if not present
-
getHwAddr
@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress getHwAddr()
- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress
hwAddr
, ornull
if not present
-
getName
@Nullable String getName()
- Returns:
java.lang.String
name
, ornull
if not present
-
getConfig
@Nullable PortConfig getConfig()
Bitmap of OFPPC_* flags.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.PortConfig
config
, ornull
if not present
-
getState
@Nullable PortState getState()
Bitmap of OFPPS_* flags.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.PortState
state
, ornull
if not present
-
getCurrentFeatures
@Nullable PortFeatures getCurrentFeatures()
Current features.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.PortFeatures
currentFeatures
, ornull
if not present
-
getAdvertisedFeatures
@Nullable PortFeatures getAdvertisedFeatures()
Features being advertised by the port.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.PortFeatures
advertisedFeatures
, ornull
if not present
-
getSupportedFeatures
@Nullable PortFeatures getSupportedFeatures()
Features supported by the port.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.PortFeatures
supportedFeatures
, ornull
if not present
-
getPeerFeatures
@Nullable PortFeatures getPeerFeatures()
Features advertised by peer.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.PortFeatures
peerFeatures
, ornull
if not present
-
getCurrSpeed
@Nullable org.opendaylight.yangtools.yang.common.Uint32 getCurrSpeed()
Current port bitrate in kbps.- Returns:
org.opendaylight.yangtools.yang.common.Uint32
currSpeed
, ornull
if not present
-
getMaxSpeed
@Nullable org.opendaylight.yangtools.yang.common.Uint32 getMaxSpeed()
Max port bitrate in kbps- Returns:
org.opendaylight.yangtools.yang.common.Uint32
maxSpeed
, ornull
if not present
-
getConfigV10
@Nullable PortConfigV10 getConfigV10()
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.PortConfigV10
configV10
, ornull
if not present
-
getStateV10
@Nullable PortStateV10 getStateV10()
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.PortStateV10
stateV10
, ornull
if not present
-
getCurrentFeaturesV10
@Nullable PortFeaturesV10 getCurrentFeaturesV10()
Current features.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.PortFeaturesV10
currentFeaturesV10
, ornull
if not present
-
getAdvertisedFeaturesV10
@Nullable PortFeaturesV10 getAdvertisedFeaturesV10()
Features being advertised by the port.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.PortFeaturesV10
advertisedFeaturesV10
, ornull
if not present
-
getSupportedFeaturesV10
@Nullable PortFeaturesV10 getSupportedFeaturesV10()
Features supported by the port.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.PortFeaturesV10
supportedFeaturesV10
, ornull
if not present
-
getPeerFeaturesV10
@Nullable PortFeaturesV10 getPeerFeaturesV10()
Features advertised by peer.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.PortFeaturesV10
peerFeaturesV10
, ornull
if not present
-
-