commit | 5417cbe633c359ae3e7f9087ed9441f52d49102a | [log] [tgz] |
---|---|---|
author | Ray Milkey <ray@opennetworking.org> | Wed Oct 10 14:15:42 2018 -0700 |
committer | Ray Milkey <ray@opennetworking.org> | Wed Oct 10 14:15:42 2018 -0700 |
tree | b1e676d0776b9af9fe4b7cc6b2099de71046543f | |
parent | 4efc66f584a1953c871cbd20eb02e9a8e9a54b68 [diff] [blame] |
Simple Fabric app changes for karaf 4.2.1 CLI Change-Id: I185263f01acdde70500ea089736e756f5e26649e
diff --git a/apps/simplefabric/src/main/java/org/onosproject/simplefabric/SimpleFabricCommand.java b/apps/simplefabric/src/main/java/org/onosproject/simplefabric/SimpleFabricCommand.java index 780d904..8d88f08 100644 --- a/apps/simplefabric/src/main/java/org/onosproject/simplefabric/SimpleFabricCommand.java +++ b/apps/simplefabric/src/main/java/org/onosproject/simplefabric/SimpleFabricCommand.java
@@ -17,6 +17,7 @@ import org.apache.karaf.shell.api.action.Argument; import org.apache.karaf.shell.api.action.Command; +import org.apache.karaf.shell.api.action.Completion; import org.apache.karaf.shell.api.action.lifecycle.Service; import org.onosproject.cli.AbstractShellCommand; @@ -31,6 +32,7 @@ @Argument(index = 0, name = "command", description = "Command: show|intents|reactive-intents|refresh|flush", required = true, multiValued = false) + @Completion(SimpleFabricCommandCompleter.class) String command = null; @Override