blob: 96c494d20d4b13a2eaff6f48c578e6e9de43529e [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>
tom5f35f7c2014-09-08 18:38:19 -070019 <command>
20 <action class="org.onlab.onos.cli.net.DeviceRoleCommand"/>
21 <completers>
22 <ref component-id="deviceIdCompleter"/>
23 <ref component-id="roleCompleter"/>
24 </completers>
25 </command>
tomc290a122014-09-08 14:27:13 -070026
27 <command>
tom6d2a43e2014-09-08 01:50:20 -070028 <action class="org.onlab.onos.cli.net.LinksListCommand"/>
29 <completers>
30 <ref component-id="deviceIdCompleter"/>
31 </completers>
32 </command>
33
tomc290a122014-09-08 14:27:13 -070034 <command>
35 <action class="org.onlab.onos.cli.GreetCommand"/>
36 <completers>
37 <ref component-id="nameCompleter"/>
38 </completers>
39 </command>
tom0eb04ca2014-08-25 14:34:51 -070040 </command-bundle>
41
tom6d2a43e2014-09-08 01:50:20 -070042 <bean id="deviceIdCompleter" class="org.onlab.onos.cli.net.DeviceIdCompleter"/>
tom5f35f7c2014-09-08 18:38:19 -070043 <bean id="roleCompleter" class="org.onlab.onos.cli.net.RoleCompleter"/>
tom6d2a43e2014-09-08 01:50:20 -070044
tom0eb04ca2014-08-25 14:34:51 -070045 <bean id="nameCompleter" class="org.onlab.onos.cli.NameCompleter"/>
46
47</blueprint>