Package org.onosproject.net.meter
Interface MeterProviderService
- 
- All Superinterfaces:
- ProviderService<MeterProvider>
 
 public interface MeterProviderService extends ProviderService<MeterProvider> Service through which meter providers can inject information into the core.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddeleteMeterFeatures(DeviceId deviceId)Delete meter features collected from the device.voidmeterOperationFailed(MeterOperation operation, MeterFailReason reason)Notifies the core that a meter operaton failed for a specific reason.voidpushMeterFeatures(DeviceId deviceId, MeterFeatures meterfeatures)Pushes the meter features collected from the device.voidpushMeterMetrics(DeviceId deviceId, java.util.Collection<Meter> meterEntries)Pushes the collection of meters observed on the data plane as well as their associated statistics.- 
Methods inherited from interface org.onosproject.net.provider.ProviderServiceprovider
 
- 
 
- 
- 
- 
Method Detail- 
meterOperationFailedvoid meterOperationFailed(MeterOperation operation, MeterFailReason reason) Notifies the core that a meter operaton failed for a specific reason.- Parameters:
- operation- the failed operation
- reason- the failure reason
 
 - 
pushMeterMetricsvoid pushMeterMetrics(DeviceId deviceId, java.util.Collection<Meter> meterEntries) Pushes the collection of meters observed on the data plane as well as their associated statistics.- Parameters:
- deviceId- a device id
- meterEntries- a collection of meter entries
 
 - 
pushMeterFeaturesvoid pushMeterFeatures(DeviceId deviceId, MeterFeatures meterfeatures) Pushes the meter features collected from the device.- Parameters:
- deviceId- the device Id
- meterfeatures- the meter features
 
 - 
deleteMeterFeaturesvoid deleteMeterFeatures(DeviceId deviceId) Delete meter features collected from the device.- Parameters:
- deviceId- the device id
 
 
- 
 
-