meter-add cli command instead of add-meter
Change-Id: Ib65090dfd4f9c95fdf07ff780a85cf2a11f728c9
diff --git a/cli/src/main/java/org/onosproject/cli/net/AddMeterCommand.java b/cli/src/main/java/org/onosproject/cli/net/MeterAddCommand.java
similarity index 97%
rename from cli/src/main/java/org/onosproject/cli/net/AddMeterCommand.java
rename to cli/src/main/java/org/onosproject/cli/net/MeterAddCommand.java
index 6285316..587f03c 100644
--- a/cli/src/main/java/org/onosproject/cli/net/AddMeterCommand.java
+++ b/cli/src/main/java/org/onosproject/cli/net/MeterAddCommand.java
@@ -35,9 +35,9 @@
/**
* Add a meter to a device.
*/
-@Command(scope = "onos", name = "add-meter",
+@Command(scope = "onos", name = "meter-add",
description = "Adds a meter to a device (currently for testing)")
-public class AddMeterCommand extends AbstractShellCommand {
+public class MeterAddCommand extends AbstractShellCommand {
private Meter.Unit unit;
private Set<Band> bands = new HashSet<>();
diff --git a/cli/src/main/resources/OSGI-INF/blueprint/shell-config.xml b/cli/src/main/resources/OSGI-INF/blueprint/shell-config.xml
index f1614b5..949b1e3 100644
--- a/cli/src/main/resources/OSGI-INF/blueprint/shell-config.xml
+++ b/cli/src/main/resources/OSGI-INF/blueprint/shell-config.xml
@@ -191,7 +191,7 @@
</completers>
</command>
<command>
- <action class="org.onosproject.cli.net.AddMeterCommand"/>
+ <action class="org.onosproject.cli.net.MeterAddCommand"/>
<completers>
<ref component-id="deviceIdCompleter"/>
</completers>