Added some CLI commands and fixed pom.xml and features.xml to use commons-lang 2.6 (bundle)
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 5cc83ef..f7fc371 100644
--- a/cli/src/main/resources/OSGI-INF/blueprint/shell-config.xml
+++ b/cli/src/main/resources/OSGI-INF/blueprint/shell-config.xml
@@ -2,13 +2,31 @@
<command-bundle xmlns="http://karaf.apache.org/xmlns/shell/v1.1.0">
<command>
- <action class="org.onlab.onos.cli.GreetCommand"/>
+ <action class="org.onlab.onos.cli.net.DevicesListCommand"/>
+ </command>
+ <command>
+ <action class="org.onlab.onos.cli.net.DevicePortsListCommand"/>
<completers>
- <ref component-id="nameCompleter"/>
+ <ref component-id="deviceIdCompleter"/>
</completers>
</command>
+ <command>
+ <action class="org.onlab.onos.cli.net.LinksListCommand"/>
+ <completers>
+ <ref component-id="deviceIdCompleter"/>
+ </completers>
+ </command>
+
+ <!--<command>-->
+ <!--<action class="org.onlab.onos.cli.GreetCommand"/>-->
+ <!--<completers>-->
+ <!--<ref component-id="nameCompleter"/>-->
+ <!--</completers>-->
+ <!--</command>-->
</command-bundle>
+ <bean id="deviceIdCompleter" class="org.onlab.onos.cli.net.DeviceIdCompleter"/>
+
<bean id="nameCompleter" class="org.onlab.onos.cli.NameCompleter"/>
</blueprint>