Interface BucketGrouping
-
- All Superinterfaces:
ActionsGrouping
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
BucketsList
public interface BucketGrouping extends org.opendaylight.yangtools.yang.binding.DataObject, ActionsGrouping
Bucket for use in groups.This class represents the following YANG schema fragment defined in module openflow-protocol
grouping bucket-grouping { leaf weight { type uint16; } leaf watch-port { type oft:port-number; } leaf watch-group { type uint32; } uses ofaction:actions-grouping; }
The schema path to identify an instance is openflow-protocol/bucket-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 org.opendaylight.yangtools.yang.common.Uint32
getWatchGroup()
Group whose state affects whether this bucket is live.PortNumber
getWatchPort()
Port whose state affects whether this bucket is live.org.opendaylight.yangtools.yang.common.Uint16
getWeight()
Relative weight of bucket.Class<? extends BucketGrouping>
implementedInterface()
-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.action.rev150203.ActionsGrouping
getAction, nonnullAction
-
-
-
-
Method Detail
-
implementedInterface
Class<? extends BucketGrouping> implementedInterface()
- Specified by:
implementedInterface
in interfaceActionsGrouping
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getWeight
org.opendaylight.yangtools.yang.common.Uint16 getWeight()
Relative weight of bucket. Only defined for select groups.- Returns:
org.opendaylight.yangtools.yang.common.Uint16
weight
, ornull
if not present
-
getWatchPort
PortNumber getWatchPort()
Port whose state affects whether this bucket is live. Only required for fast failover groups.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.PortNumber
watchPort
, ornull
if not present
-
getWatchGroup
org.opendaylight.yangtools.yang.common.Uint32 getWatchGroup()
Group whose state affects whether this bucket is live. Only required for fast failover groups.- Returns:
org.opendaylight.yangtools.yang.common.Uint32
watchGroup
, ornull
if not present
-
-