blob: 7aa67be5edbf4e55fef328aeade29c0addf7a813 [file] [log] [blame]
tom0eb04ca2014-08-25 14:34:51 -07001<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
2
3 <command-bundle xmlns="http://karaf.apache.org/xmlns/shell/v1.1.0">
4 <command>
tom6d2a43e2014-09-08 01:50:20 -07005 <action class="org.onlab.onos.cli.net.DevicesListCommand"/>
6 </command>
7 <command>
8 <action class="org.onlab.onos.cli.net.DevicePortsListCommand"/>
tom0eb04ca2014-08-25 14:34:51 -07009 <completers>
tom6d2a43e2014-09-08 01:50:20 -070010 <ref component-id="deviceIdCompleter"/>
tom0eb04ca2014-08-25 14:34:51 -070011 </completers>
12 </command>
tom6d2a43e2014-09-08 01:50:20 -070013 <command>
tomc290a122014-09-08 14:27:13 -070014 <action class="org.onlab.onos.cli.net.DeviceRemoveCommand"/>
15 <completers>
16 <ref component-id="deviceIdCompleter"/>
17 </completers>
18 </command>
19
20 <command>
tom6d2a43e2014-09-08 01:50:20 -070021 <action class="org.onlab.onos.cli.net.LinksListCommand"/>
22 <completers>
23 <ref component-id="deviceIdCompleter"/>
24 </completers>
25 </command>
26
tomc290a122014-09-08 14:27:13 -070027 <command>
28 <action class="org.onlab.onos.cli.GreetCommand"/>
29 <completers>
30 <ref component-id="nameCompleter"/>
31 </completers>
32 </command>
tom0eb04ca2014-08-25 14:34:51 -070033 </command-bundle>
34
tom6d2a43e2014-09-08 01:50:20 -070035 <bean id="deviceIdCompleter" class="org.onlab.onos.cli.net.DeviceIdCompleter"/>
36
tom0eb04ca2014-08-25 14:34:51 -070037 <bean id="nameCompleter" class="org.onlab.onos.cli.NameCompleter"/>
38
39</blueprint>