public interface VirtualMeterProviderService extends VirtualProviderService<VirtualMeterProvider>
| Modifier and Type | Method and Description |
|---|---|
void |
deleteMeterFeatures(org.onosproject.net.DeviceId deviceId)
Delete meter features collected from the device.
|
void |
meterOperationFailed(org.onosproject.net.meter.MeterOperation operation,
org.onosproject.net.meter.MeterFailReason reason)
Notifies the core that a meter operation failed for a
specific reason.
|
void |
pushMeterFeatures(org.onosproject.net.DeviceId deviceId,
org.onosproject.net.meter.MeterFeatures meterfeatures)
Pushes the meter features collected from the device.
|
void |
pushMeterMetrics(org.onosproject.net.DeviceId deviceId,
java.util.Collection<org.onosproject.net.meter.Meter> meterEntries)
Pushes the collection of meters observed on the data plane as
well as their associated statistics.
|
providervoid meterOperationFailed(org.onosproject.net.meter.MeterOperation operation,
org.onosproject.net.meter.MeterFailReason reason)
operation - the failed operationreason - the failure reasonvoid pushMeterMetrics(org.onosproject.net.DeviceId deviceId,
java.util.Collection<org.onosproject.net.meter.Meter> meterEntries)
deviceId - a device idmeterEntries - a collection of meter entriesvoid pushMeterFeatures(org.onosproject.net.DeviceId deviceId,
org.onosproject.net.meter.MeterFeatures meterfeatures)
deviceId - the device Idmeterfeatures - the meter featuresvoid deleteMeterFeatures(org.onosproject.net.DeviceId deviceId)
deviceId - the device id