[ONOS-5648] skeleton code for VirtualMeterProvider
Changes.
1. Default Virtual Meter Provider is added
Change-Id: Idf5fa26b3dfb2bf76d18f215a36ce9fe85f63311
diff --git a/incubator/api/src/main/java/org/onosproject/incubator/net/virtual/provider/VirtualMeterProviderService.java b/incubator/api/src/main/java/org/onosproject/incubator/net/virtual/provider/VirtualMeterProviderService.java
index c49c598..17acdad 100644
--- a/incubator/api/src/main/java/org/onosproject/incubator/net/virtual/provider/VirtualMeterProviderService.java
+++ b/incubator/api/src/main/java/org/onosproject/incubator/net/virtual/provider/VirtualMeterProviderService.java
@@ -16,7 +16,6 @@
package org.onosproject.incubator.net.virtual.provider;
-import org.onosproject.incubator.net.virtual.NetworkId;
import org.onosproject.net.DeviceId;
import org.onosproject.net.meter.Meter;
import org.onosproject.net.meter.MeterFailReason;
@@ -34,21 +33,17 @@
* Notifies the core that a meter operation failed for a
* specific reason.
*
- * @param networkId the identity of the virtual network where this rule applies
* @param operation the failed operation
* @param reason the failure reason
*/
- void meterOperationFailed(NetworkId networkId, MeterOperation operation,
- MeterFailReason reason);
+ void meterOperationFailed(MeterOperation operation, MeterFailReason reason);
/**
* Pushes the collection of meters observed on the virtual data plane as
* well as their associated statistics.
*
- * @param networkId the identity of the virtual network where this rule applies
* @param deviceId a device id
* @param meterEntries a collection of meter entries
*/
- void pushMeterMetrics(NetworkId networkId, DeviceId deviceId,
- Collection<Meter> meterEntries);
+ void pushMeterMetrics(DeviceId deviceId, Collection<Meter> meterEntries);
}