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 Summary
All 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.ProviderService
provider
-
-
-
-
Method Detail
-
meterOperationFailed
void meterOperationFailed(MeterOperation operation, MeterFailReason reason)
Notifies the core that a meter operaton failed for a specific reason.- Parameters:
operation- the failed operationreason- the failure reason
-
pushMeterMetrics
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.- Parameters:
deviceId- a device idmeterEntries- a collection of meter entries
-
pushMeterFeatures
void pushMeterFeatures(DeviceId deviceId, MeterFeatures meterfeatures)
Pushes the meter features collected from the device.- Parameters:
deviceId- the device Idmeterfeatures- the meter features
-
deleteMeterFeatures
void deleteMeterFeatures(DeviceId deviceId)
Delete meter features collected from the device.- Parameters:
deviceId- the device id
-
-