Interface Meters
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
FlowCapableNode
,FlowCapableNodeUpdated
,FlowNode
public interface Meters extends org.opendaylight.yangtools.yang.binding.DataObject
Openflow meter list.This class represents the following YANG schema fragment defined in module flow-node-inventory
grouping meters { list meter { key meter-id; uses meter:meter; } list stale-meter { key meter-id; uses meter:meter; } }
The schema path to identify an instance is flow-node-inventory/meters
-
-
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 Default Methods Modifier and Type Method Description @Nullable Map<MeterKey,Meter>
getMeter()
@Nullable Map<StaleMeterKey,StaleMeter>
getStaleMeter()
Class<? extends Meters>
implementedInterface()
default @NonNull Map<MeterKey,Meter>
nonnullMeter()
default @NonNull Map<StaleMeterKey,StaleMeter>
nonnullStaleMeter()
-
-
-
Method Detail
-
implementedInterface
Class<? extends Meters> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getMeter
@Nullable Map<MeterKey,Meter> getMeter()
- Returns:
java.util.Map
meter
, ornull
if not present
-
nonnullMeter
default @NonNull Map<MeterKey,Meter> nonnullMeter()
- Returns:
java.util.Map
meter
, or an empty list if it is not present
-
getStaleMeter
@Nullable Map<StaleMeterKey,StaleMeter> getStaleMeter()
- Returns:
java.util.Map
staleMeter
, ornull
if not present
-
nonnullStaleMeter
default @NonNull Map<StaleMeterKey,StaleMeter> nonnullStaleMeter()
- Returns:
java.util.Map
staleMeter
, or an empty list if it is not present
-
-