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