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> |
tom | c290a12 | 2014-09-08 14:27:13 -0700 | [diff] [blame] | 14 | <action class="org.onlab.onos.cli.net.DeviceRemoveCommand"/> |
| 15 | <completers> |
| 16 | <ref component-id="deviceIdCompleter"/> |
| 17 | </completers> |
| 18 | </command> |
tom | 5f35f7c | 2014-09-08 18:38:19 -0700 | [diff] [blame] | 19 | <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> |
tom | c290a12 | 2014-09-08 14:27:13 -0700 | [diff] [blame] | 26 | |
| 27 | <command> |
tom | 6d2a43e | 2014-09-08 01:50:20 -0700 | [diff] [blame] | 28 | <action class="org.onlab.onos.cli.net.LinksListCommand"/> |
| 29 | <completers> |
| 30 | <ref component-id="deviceIdCompleter"/> |
| 31 | </completers> |
| 32 | </command> |
| 33 | |
tom | c290a12 | 2014-09-08 14:27:13 -0700 | [diff] [blame] | 34 | <command> |
| 35 | <action class="org.onlab.onos.cli.GreetCommand"/> |
| 36 | <completers> |
| 37 | <ref component-id="nameCompleter"/> |
| 38 | </completers> |
| 39 | </command> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 40 | </command-bundle> |
| 41 | |
tom | 6d2a43e | 2014-09-08 01:50:20 -0700 | [diff] [blame] | 42 | <bean id="deviceIdCompleter" class="org.onlab.onos.cli.net.DeviceIdCompleter"/> |
tom | 5f35f7c | 2014-09-08 18:38:19 -0700 | [diff] [blame] | 43 | <bean id="roleCompleter" class="org.onlab.onos.cli.net.RoleCompleter"/> |
tom | 6d2a43e | 2014-09-08 01:50:20 -0700 | [diff] [blame] | 44 | |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 45 | <bean id="nameCompleter" class="org.onlab.onos.cli.NameCompleter"/> |
| 46 | |
| 47 | </blueprint> |