Interface MeterProviderService

    • 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 operation
        reason - 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 id
        meterEntries - a collection of meter entries
      • pushMeterFeatures

        void pushMeterFeatures​(DeviceId deviceId,
                               MeterFeatures meterfeatures)
        Pushes the meter features collected from the device.
        Parameters:
        deviceId - the device Id
        meterfeatures - the meter features
      • deleteMeterFeatures

        void deleteMeterFeatures​(DeviceId deviceId)
        Delete meter features collected from the device.
        Parameters:
        deviceId - the device id