public interface VirtualMeterProviderService extends VirtualProviderService<VirtualMeterProvider>
| Modifier and Type | Method and Description |
|---|---|
void |
meterOperationFailed(NetworkId networkId,
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 |
pushMeterMetrics(NetworkId networkId,
org.onosproject.net.DeviceId deviceId,
java.util.Collection<org.onosproject.net.meter.Meter> meterEntries)
Pushes the collection of meters observed on the virtual data plane as
well as their associated statistics.
|
providervoid meterOperationFailed(NetworkId networkId, org.onosproject.net.meter.MeterOperation operation, org.onosproject.net.meter.MeterFailReason reason)
networkId - the identity of the virtual network where this rule appliesoperation - the failed operationreason - the failure reasonvoid pushMeterMetrics(NetworkId networkId, org.onosproject.net.DeviceId deviceId, java.util.Collection<org.onosproject.net.meter.Meter> meterEntries)
networkId - the identity of the virtual network where this rule appliesdeviceId - a device idmeterEntries - a collection of meter entries