Interface Meter
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
AddMeterInput
,BatchAddMeters
,BatchRemoveMeters
,FlatBatchAddMeter
,FlatBatchRemoveMeter
,Meter
,MeterAdded
,MeterConfigStats
,MeterConfigStats
,MeterMessage
,MeterRemoved
,MeterUpdated
,NodeMeter
,OriginalBatchedMeter
,OriginalMeter
,RemoveMeterInput
,StaleMeter
,UpdatedBatchedMeter
,UpdatedMeter
public interface Meter extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module opendaylight-meter-types
grouping meter { leaf flags { type meter-flags; } leaf meter-id { type meter-id; } leaf barrier { type boolean; } leaf meter-name { type string; } leaf container-name { type string; } container meter-band-headers { list meter-band-header { key band-id; leaf band-id { type band-id; } container meter-band-types { leaf flags { type meter-band-type; } } leaf band-rate { type uint32; } leaf band-burst-size { type uint32; } uses band-type; } } }
The schema path to identify an instance is opendaylight-meter-types/meter
-
-
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 String
getContainerName()
Name of container@Nullable MeterFlags
getFlags()
Meter configuration flags@Nullable MeterBandHeaders
getMeterBandHeaders()
@Nullable MeterId
getMeterId()
Meter instance@Nullable String
getMeterName()
Name of meter instanceClass<? extends Meter>
implementedInterface()
@Nullable Boolean
isBarrier()
If true, barrier message is sent
-
-
-
Method Detail
-
implementedInterface
Class<? extends Meter> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getFlags
@Nullable MeterFlags getFlags()
Meter configuration flags- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.meter.types.rev130918.MeterFlags
flags
, ornull
if not present
-
getMeterId
@Nullable MeterId getMeterId()
Meter instance- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.meter.types.rev130918.MeterId
meterId
, ornull
if not present
-
isBarrier
@Nullable Boolean isBarrier()
If true, barrier message is sent- Returns:
java.lang.Boolean
barrier
, ornull
if not present
-
getMeterName
@Nullable String getMeterName()
Name of meter instance- Returns:
java.lang.String
meterName
, ornull
if not present
-
getContainerName
@Nullable String getContainerName()
Name of container- Returns:
java.lang.String
containerName
, ornull
if not present
-
getMeterBandHeaders
@Nullable MeterBandHeaders getMeterBandHeaders()
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.meter.types.rev130918.meter.MeterBandHeaders
meterBandHeaders
, ornull
if not present
-
-