tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 1 | <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> |
tom | 6d2a43e | 2014-09-08 01:50:20 -0700 | [diff] [blame^] | 5 | <action class="org.onlab.onos.cli.net.DevicesListCommand"/> |
| 6 | </command> |
| 7 | <command> |
| 8 | <action class="org.onlab.onos.cli.net.DevicePortsListCommand"/> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 9 | <completers> |
tom | 6d2a43e | 2014-09-08 01:50:20 -0700 | [diff] [blame^] | 10 | <ref component-id="deviceIdCompleter"/> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 11 | </completers> |
| 12 | </command> |
tom | 6d2a43e | 2014-09-08 01:50:20 -0700 | [diff] [blame^] | 13 | <command> |
| 14 | <action class="org.onlab.onos.cli.net.LinksListCommand"/> |
| 15 | <completers> |
| 16 | <ref component-id="deviceIdCompleter"/> |
| 17 | </completers> |
| 18 | </command> |
| 19 | |
| 20 | <!--<command>--> |
| 21 | <!--<action class="org.onlab.onos.cli.GreetCommand"/>--> |
| 22 | <!--<completers>--> |
| 23 | <!--<ref component-id="nameCompleter"/>--> |
| 24 | <!--</completers>--> |
| 25 | <!--</command>--> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 26 | </command-bundle> |
| 27 | |
tom | 6d2a43e | 2014-09-08 01:50:20 -0700 | [diff] [blame^] | 28 | <bean id="deviceIdCompleter" class="org.onlab.onos.cli.net.DeviceIdCompleter"/> |
| 29 | |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 30 | <bean id="nameCompleter" class="org.onlab.onos.cli.NameCompleter"/> |
| 31 | |
| 32 | </blueprint> |