Completer fixes for core ONOS CLI commands
Change-Id: Icedfc542ad93a2825b592f3deb6cd96d91779544
diff --git a/cli/src/main/java/org/onosproject/cli/net/vnet/VirtualPortCompleter.java b/cli/src/main/java/org/onosproject/cli/net/vnet/VirtualPortCompleter.java
index 2660428..f810a97 100644
--- a/cli/src/main/java/org/onosproject/cli/net/vnet/VirtualPortCompleter.java
+++ b/cli/src/main/java/org/onosproject/cli/net/vnet/VirtualPortCompleter.java
@@ -18,6 +18,7 @@
import static org.onlab.osgi.DefaultServiceDirectory.getService;
+import org.apache.karaf.shell.api.action.lifecycle.Service;
import org.onosproject.cli.AbstractChoicesCompleter;
import org.onosproject.incubator.net.virtual.NetworkId;
import org.onosproject.incubator.net.virtual.VirtualNetworkService;
@@ -35,6 +36,7 @@
* Assumes the first argument which can be parsed to a number is network id
* and the argument right before the one being completed is device id
*/
+@Service
public class VirtualPortCompleter extends AbstractChoicesCompleter {
@Override
protected List<String> choices() {