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
@Generated("mdsal-binding-generator") 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 PortFeatures
getAdvertisedFeatures()
Return advertisedFeatures, ornull
if it is not present.PortFeaturesV10
getAdvertisedFeaturesV10()
Return advertisedFeaturesV10, ornull
if it is not present.PortConfig
getConfig()
Return config, ornull
if it is not present.PortConfigV10
getConfigV10()
Return configV10, ornull
if it is not present.PortFeatures
getCurrentFeatures()
Return currentFeatures, ornull
if it is not present.PortFeaturesV10
getCurrentFeaturesV10()
Return currentFeaturesV10, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
getCurrSpeed()
Return currSpeed, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress
getHwAddr()
Return hwAddr, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
getMaxSpeed()
Return maxSpeed, ornull
if it is not present.String
getName()
Return name, ornull
if it is not present.PortFeatures
getPeerFeatures()
Return peerFeatures, ornull
if it is not present.PortFeaturesV10
getPeerFeaturesV10()
Return peerFeaturesV10, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
getPortNo()
Return portNo, ornull
if it is not present.PortState
getState()
Return state, ornull
if it is not present.PortStateV10
getStateV10()
Return stateV10, ornull
if it is not present.PortFeatures
getSupportedFeatures()
Return supportedFeatures, ornull
if it is not present.PortFeaturesV10
getSupportedFeaturesV10()
Return supportedFeaturesV10, ornull
if it is not present.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
org.opendaylight.yangtools.yang.common.Uint32 getPortNo()
Return portNo, ornull
if it is not present.- Returns:
org.opendaylight.yangtools.yang.common.Uint32
portNo, ornull
if it is not present.
-
getHwAddr
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress getHwAddr()
Return hwAddr, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress
hwAddr, ornull
if it is not present.
-
getName
String getName()
Return name, ornull
if it is not present.- Returns:
java.lang.String
name, ornull
if it is not present.
-
getConfig
PortConfig getConfig()
Return config, ornull
if it is not present.Bitmap of OFPPC_* flags.
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.PortConfig
config, ornull
if it is not present.
-
getState
PortState getState()
Return state, ornull
if it is not present.Bitmap of OFPPS_* flags.
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.PortState
state, ornull
if it is not present.
-
getCurrentFeatures
PortFeatures getCurrentFeatures()
Return currentFeatures, ornull
if it is not present.Current features.
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.PortFeatures
currentFeatures, 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.openflow.common.types.rev130731.PortFeatures
advertisedFeatures, ornull
if it is not present.
-
getSupportedFeatures
PortFeatures getSupportedFeatures()
Return supportedFeatures, ornull
if it is not present.Features supported by the port.
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.PortFeatures
supportedFeatures, ornull
if it is not present.
-
getPeerFeatures
PortFeatures getPeerFeatures()
Return peerFeatures, ornull
if it is not present.Features advertised by peer.
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.PortFeatures
peerFeatures, ornull
if it is not present.
-
getCurrSpeed
org.opendaylight.yangtools.yang.common.Uint32 getCurrSpeed()
Return currSpeed, ornull
if it is not present.Current port bitrate in kbps.
- Returns:
org.opendaylight.yangtools.yang.common.Uint32
currSpeed, ornull
if it is not present.
-
getMaxSpeed
org.opendaylight.yangtools.yang.common.Uint32 getMaxSpeed()
Return maxSpeed, ornull
if it is not present.Max port bitrate in kbps
- Returns:
org.opendaylight.yangtools.yang.common.Uint32
maxSpeed, ornull
if it is not present.
-
getConfigV10
PortConfigV10 getConfigV10()
Return configV10, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.PortConfigV10
configV10, ornull
if it is not present.
-
getStateV10
PortStateV10 getStateV10()
Return stateV10, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.PortStateV10
stateV10, ornull
if it is not present.
-
getCurrentFeaturesV10
PortFeaturesV10 getCurrentFeaturesV10()
Return currentFeaturesV10, ornull
if it is not present.Current features.
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.PortFeaturesV10
currentFeaturesV10, ornull
if it is not present.
-
getAdvertisedFeaturesV10
PortFeaturesV10 getAdvertisedFeaturesV10()
Return advertisedFeaturesV10, ornull
if it is not present.Features being advertised by the port.
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.PortFeaturesV10
advertisedFeaturesV10, ornull
if it is not present.
-
getSupportedFeaturesV10
PortFeaturesV10 getSupportedFeaturesV10()
Return supportedFeaturesV10, ornull
if it is not present.Features supported by the port.
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.PortFeaturesV10
supportedFeaturesV10, ornull
if it is not present.
-
getPeerFeaturesV10
PortFeaturesV10 getPeerFeaturesV10()
Return peerFeaturesV10, ornull
if it is not present.Features advertised by peer.
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.PortFeaturesV10
peerFeaturesV10, ornull
if it is not present.
-
-