Thomas Vachuska | 7d693f5 | 2014-10-21 19:17:57 -0700 | [diff] [blame] | 1 | <!-- |
| 2 | ~ Licensed to the Apache Software Foundation (ASF) under one |
| 3 | ~ or more contributor license agreements. See the NOTICE file |
| 4 | ~ distributed with this work for additional information |
| 5 | ~ regarding copyright ownership. The ASF licenses this file |
| 6 | ~ to you under the Apache License, Version 2.0 (the |
| 7 | ~ "License"); you may not use this file except in compliance |
| 8 | ~ with the License. You may obtain a copy of the License at |
| 9 | ~ |
| 10 | ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | ~ |
| 12 | ~ Unless required by applicable law or agreed to in writing, |
| 13 | ~ software distributed under the License is distributed on an |
| 14 | ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 15 | ~ KIND, either express or implied. See the License for the |
| 16 | ~ specific language governing permissions and limitations |
| 17 | ~ under the License. |
| 18 | --> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 19 | <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"> |
| 20 | |
| 21 | <command-bundle xmlns="http://karaf.apache.org/xmlns/shell/v1.1.0"> |
| 22 | <command> |
tom | 9b4030d | 2014-10-06 10:39:03 -0700 | [diff] [blame] | 23 | <action class="org.onlab.onos.cli.SummaryCommand"/> |
| 24 | </command> |
| 25 | <command> |
tom | e472987 | 2014-09-23 00:37:37 -0700 | [diff] [blame] | 26 | <action class="org.onlab.onos.cli.NodesListCommand"/> |
| 27 | </command> |
| 28 | <command> |
tom | 9710fb4 | 2014-09-29 11:35:28 -0700 | [diff] [blame] | 29 | <action class="org.onlab.onos.cli.NodeAddCommand"/> |
| 30 | </command> |
| 31 | <command> |
| 32 | <action class="org.onlab.onos.cli.NodeRemoveCommand"/> |
| 33 | </command> |
Ayaka Koshibe | 45503ce | 2014-10-14 11:26:45 -0700 | [diff] [blame] | 34 | |
| 35 | <command> |
| 36 | <action class="org.onlab.onos.cli.RolesCommand"/> |
| 37 | </command> |
tom | 9710fb4 | 2014-09-29 11:35:28 -0700 | [diff] [blame] | 38 | <command> |
tom | 1380eee | 2014-09-24 09:22:02 -0700 | [diff] [blame] | 39 | <action class="org.onlab.onos.cli.MastersListCommand"/> |
| 40 | <completers> |
| 41 | <ref component-id="clusterIdCompleter"/> |
| 42 | </completers> |
alshabib | a7f7ca8 | 2014-09-22 11:41:23 -0700 | [diff] [blame] | 43 | </command> |
tom | 1380eee | 2014-09-24 09:22:02 -0700 | [diff] [blame] | 44 | |
alshabib | a7f7ca8 | 2014-09-22 11:41:23 -0700 | [diff] [blame] | 45 | <command> |
tom | 6d2a43e | 2014-09-08 01:50:20 -0700 | [diff] [blame] | 46 | <action class="org.onlab.onos.cli.net.DevicesListCommand"/> |
| 47 | </command> |
| 48 | <command> |
| 49 | <action class="org.onlab.onos.cli.net.DevicePortsListCommand"/> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 50 | <completers> |
tom | 6d2a43e | 2014-09-08 01:50:20 -0700 | [diff] [blame] | 51 | <ref component-id="deviceIdCompleter"/> |
Ray Milkey | 9bbc944 | 2014-10-13 10:27:45 -0700 | [diff] [blame] | 52 | <null/> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 53 | </completers> |
| 54 | </command> |
tom | 6d2a43e | 2014-09-08 01:50:20 -0700 | [diff] [blame] | 55 | <command> |
tom | c290a12 | 2014-09-08 14:27:13 -0700 | [diff] [blame] | 56 | <action class="org.onlab.onos.cli.net.DeviceRemoveCommand"/> |
| 57 | <completers> |
| 58 | <ref component-id="deviceIdCompleter"/> |
Ray Milkey | 9bbc944 | 2014-10-13 10:27:45 -0700 | [diff] [blame] | 59 | <null/> |
tom | c290a12 | 2014-09-08 14:27:13 -0700 | [diff] [blame] | 60 | </completers> |
| 61 | </command> |
tom | 5f35f7c | 2014-09-08 18:38:19 -0700 | [diff] [blame] | 62 | <command> |
| 63 | <action class="org.onlab.onos.cli.net.DeviceRoleCommand"/> |
| 64 | <completers> |
| 65 | <ref component-id="deviceIdCompleter"/> |
tom | a6235a5 | 2014-10-15 13:25:39 -0700 | [diff] [blame] | 66 | <ref component-id="nodeIdCompleter"/> |
Ray Milkey | 9bbc944 | 2014-10-13 10:27:45 -0700 | [diff] [blame] | 67 | <ref component-id="roleCompleter"/> |
| 68 | <null/> |
tom | 5f35f7c | 2014-09-08 18:38:19 -0700 | [diff] [blame] | 69 | </completers> |
| 70 | </command> |
tom | c290a12 | 2014-09-08 14:27:13 -0700 | [diff] [blame] | 71 | |
| 72 | <command> |
tom | 6d2a43e | 2014-09-08 01:50:20 -0700 | [diff] [blame] | 73 | <action class="org.onlab.onos.cli.net.LinksListCommand"/> |
| 74 | <completers> |
| 75 | <ref component-id="deviceIdCompleter"/> |
Ray Milkey | 9bbc944 | 2014-10-13 10:27:45 -0700 | [diff] [blame] | 76 | <null/> |
tom | 6d2a43e | 2014-09-08 01:50:20 -0700 | [diff] [blame] | 77 | </completers> |
| 78 | </command> |
tom | 13cb485 | 2014-09-11 12:44:17 -0700 | [diff] [blame] | 79 | |
| 80 | <command> |
| 81 | <action class="org.onlab.onos.cli.net.TopologyCommand"/> |
| 82 | </command> |
| 83 | <command> |
tom | 9eb57fb | 2014-09-11 19:42:38 -0700 | [diff] [blame] | 84 | <action class="org.onlab.onos.cli.net.PathListCommand"/> |
| 85 | <completers> |
| 86 | <ref component-id="deviceIdCompleter"/> |
Ray Milkey | 9bbc944 | 2014-10-13 10:27:45 -0700 | [diff] [blame] | 87 | <ref component-id="deviceIdCompleter"/> |
| 88 | <null/> |
tom | 9eb57fb | 2014-09-11 19:42:38 -0700 | [diff] [blame] | 89 | </completers> |
| 90 | </command> |
tom | f5c9d92 | 2014-10-03 15:22:03 -0700 | [diff] [blame] | 91 | |
tom | 9eb57fb | 2014-09-11 19:42:38 -0700 | [diff] [blame] | 92 | <command> |
tom | 0511a52 | 2014-10-04 12:06:02 -0700 | [diff] [blame] | 93 | <action class="org.onlab.onos.cli.net.IntentsListCommand"/> |
| 94 | </command> |
| 95 | <command> |
tom | 6db1f0a | 2014-10-07 09:12:29 -0700 | [diff] [blame] | 96 | <action class="org.onlab.onos.cli.net.IntentRemoveCommand"/> |
Brian O'Connor | 66630c8 | 2014-10-02 21:08:19 -0700 | [diff] [blame] | 97 | <completers> |
tom | 6db1f0a | 2014-10-07 09:12:29 -0700 | [diff] [blame] | 98 | <ref component-id="intentIdCompleter"/> |
Ray Milkey | 9bbc944 | 2014-10-13 10:27:45 -0700 | [diff] [blame] | 99 | <null/> |
Brian O'Connor | 66630c8 | 2014-10-02 21:08:19 -0700 | [diff] [blame] | 100 | </completers> |
| 101 | </command> |
tom | f5c9d92 | 2014-10-03 15:22:03 -0700 | [diff] [blame] | 102 | <command> |
tom | 6db1f0a | 2014-10-07 09:12:29 -0700 | [diff] [blame] | 103 | <action class="org.onlab.onos.cli.net.AddHostToHostIntentCommand"/> |
tom | 0511a52 | 2014-10-04 12:06:02 -0700 | [diff] [blame] | 104 | <completers> |
tom | 6db1f0a | 2014-10-07 09:12:29 -0700 | [diff] [blame] | 105 | <ref component-id="hostIdCompleter"/> |
Ray Milkey | 9bbc944 | 2014-10-13 10:27:45 -0700 | [diff] [blame] | 106 | <ref component-id="hostIdCompleter"/> |
| 107 | <null/> |
tom | 0511a52 | 2014-10-04 12:06:02 -0700 | [diff] [blame] | 108 | </completers> |
tom | f5c9d92 | 2014-10-03 15:22:03 -0700 | [diff] [blame] | 109 | </command> |
Ray Milkey | a058c73 | 2014-10-08 13:52:34 -0700 | [diff] [blame] | 110 | <command> |
| 111 | <action class="org.onlab.onos.cli.net.AddPointToPointIntentCommand"/> |
| 112 | <completers> |
| 113 | <ref component-id="connectPointCompleter"/> |
| 114 | <ref component-id="connectPointCompleter"/> |
Ray Milkey | 9bbc944 | 2014-10-13 10:27:45 -0700 | [diff] [blame] | 115 | <null/> |
Ray Milkey | a058c73 | 2014-10-08 13:52:34 -0700 | [diff] [blame] | 116 | </completers> |
Ray Milkey | 9fdf1ea | 2014-10-21 09:48:02 -0700 | [diff] [blame] | 117 | <optional-completers> |
| 118 | <entry key="-t" value-ref="ethTypeCompleter"/> |
| 119 | </optional-completers> |
Ray Milkey | a058c73 | 2014-10-08 13:52:34 -0700 | [diff] [blame] | 120 | </command> |
Brian O'Connor | 1aa99eb | 2014-10-10 16:18:58 -0700 | [diff] [blame] | 121 | <command> |
alshabib | 23a8d7c | 2014-10-22 21:53:39 -0700 | [diff] [blame] | 122 | <action class="org.onlab.onos.cli.net.GetStatistics"/> |
| 123 | <completers> |
| 124 | <ref component-id="connectPointCompleter"/> |
| 125 | </completers> |
| 126 | </command> |
| 127 | <command> |
Ray Milkey | 0742ec9 | 2014-10-13 08:39:55 -0700 | [diff] [blame] | 128 | <action class="org.onlab.onos.cli.net.AddMultiPointToSinglePointIntentCommand"/> |
| 129 | <completers> |
| 130 | <ref component-id="connectPointCompleter"/> |
| 131 | </completers> |
Ray Milkey | 9fdf1ea | 2014-10-21 09:48:02 -0700 | [diff] [blame] | 132 | <optional-completers> |
| 133 | <entry key="-t" value-ref="ethTypeCompleter"/> |
| 134 | </optional-completers> |
Ray Milkey | 0742ec9 | 2014-10-13 08:39:55 -0700 | [diff] [blame] | 135 | </command> |
| 136 | <command> |
Brian O'Connor | 1aa99eb | 2014-10-10 16:18:58 -0700 | [diff] [blame] | 137 | <action class="org.onlab.onos.cli.net.IntentPushTestCommand"/> |
| 138 | <completers> |
| 139 | <ref component-id="connectPointCompleter"/> |
| 140 | <ref component-id="connectPointCompleter"/> |
Ray Milkey | 9bbc944 | 2014-10-13 10:27:45 -0700 | [diff] [blame] | 141 | <ref component-id="nullCompleter"/> |
| 142 | <null/> |
Brian O'Connor | 1aa99eb | 2014-10-10 16:18:58 -0700 | [diff] [blame] | 143 | </completers> |
| 144 | </command> |
Brian O'Connor | 66630c8 | 2014-10-02 21:08:19 -0700 | [diff] [blame] | 145 | |
| 146 | <command> |
tom | 13cb485 | 2014-09-11 12:44:17 -0700 | [diff] [blame] | 147 | <action class="org.onlab.onos.cli.net.ClustersListCommand"/> |
| 148 | </command> |
| 149 | <command> |
| 150 | <action class="org.onlab.onos.cli.net.ClusterDevicesCommand"/> |
| 151 | <completers> |
| 152 | <ref component-id="clusterIdCompleter"/> |
Ray Milkey | 9bbc944 | 2014-10-13 10:27:45 -0700 | [diff] [blame] | 153 | <null/> |
tom | 13cb485 | 2014-09-11 12:44:17 -0700 | [diff] [blame] | 154 | </completers> |
| 155 | </command> |
| 156 | <command> |
| 157 | <action class="org.onlab.onos.cli.net.ClusterLinksCommand"/> |
| 158 | <completers> |
| 159 | <ref component-id="clusterIdCompleter"/> |
Ray Milkey | 9bbc944 | 2014-10-13 10:27:45 -0700 | [diff] [blame] | 160 | <null/> |
tom | 13cb485 | 2014-09-11 12:44:17 -0700 | [diff] [blame] | 161 | </completers> |
| 162 | </command> |
Ayaka Koshibe | 43530be | 2014-09-15 11:14:52 -0700 | [diff] [blame] | 163 | |
| 164 | <command> |
| 165 | <action class="org.onlab.onos.cli.net.HostsListCommand"/> |
Ayaka Koshibe | 43530be | 2014-09-15 11:14:52 -0700 | [diff] [blame] | 166 | </command> |
| 167 | |
tom | 89b63c5 | 2014-09-16 09:19:51 -0700 | [diff] [blame] | 168 | <command> |
tom | 1380eee | 2014-09-24 09:22:02 -0700 | [diff] [blame] | 169 | <action class="org.onlab.onos.cli.net.FlowsListCommand"/> |
alshabib | 99b8fdc | 2014-09-25 14:30:22 -0700 | [diff] [blame] | 170 | <completers> |
alshabib | 144a294 | 2014-09-25 18:44:02 -0700 | [diff] [blame] | 171 | <ref component-id="flowRuleStatusCompleter"/> |
alshabib | 99b8fdc | 2014-09-25 14:30:22 -0700 | [diff] [blame] | 172 | <ref component-id="deviceIdCompleter"/> |
Ray Milkey | 9bbc944 | 2014-10-13 10:27:45 -0700 | [diff] [blame] | 173 | <null/> |
alshabib | 99b8fdc | 2014-09-25 14:30:22 -0700 | [diff] [blame] | 174 | </completers> |
tom | 1380eee | 2014-09-24 09:22:02 -0700 | [diff] [blame] | 175 | </command> |
| 176 | |
| 177 | <command> |
tom | 89b63c5 | 2014-09-16 09:19:51 -0700 | [diff] [blame] | 178 | <action class="org.onlab.onos.cli.net.WipeOutCommand"/> |
| 179 | </command> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 180 | </command-bundle> |
| 181 | |
tom | 1380eee | 2014-09-24 09:22:02 -0700 | [diff] [blame] | 182 | <bean id="nodeIdCompleter" class="org.onlab.onos.cli.NodeIdCompleter"/> |
tom | 6d2a43e | 2014-09-08 01:50:20 -0700 | [diff] [blame] | 183 | <bean id="deviceIdCompleter" class="org.onlab.onos.cli.net.DeviceIdCompleter"/> |
tom | 13cb485 | 2014-09-11 12:44:17 -0700 | [diff] [blame] | 184 | <bean id="clusterIdCompleter" class="org.onlab.onos.cli.net.ClusterIdCompleter"/> |
tom | 5f35f7c | 2014-09-08 18:38:19 -0700 | [diff] [blame] | 185 | <bean id="roleCompleter" class="org.onlab.onos.cli.net.RoleCompleter"/> |
Ayaka Koshibe | 43530be | 2014-09-15 11:14:52 -0700 | [diff] [blame] | 186 | <bean id="hostIdCompleter" class="org.onlab.onos.cli.net.HostIdCompleter"/> |
tom | 0511a52 | 2014-10-04 12:06:02 -0700 | [diff] [blame] | 187 | <bean id="intentIdCompleter" class="org.onlab.onos.cli.net.IntentIdCompleter"/> |
alshabib | 144a294 | 2014-09-25 18:44:02 -0700 | [diff] [blame] | 188 | <bean id="flowRuleStatusCompleter" class="org.onlab.onos.cli.net.FlowRuleStatusCompleter"/> |
Ray Milkey | a058c73 | 2014-10-08 13:52:34 -0700 | [diff] [blame] | 189 | <bean id="connectPointCompleter" class="org.onlab.onos.cli.net.ConnectPointCompleter"/> |
Ray Milkey | 9bbc944 | 2014-10-13 10:27:45 -0700 | [diff] [blame] | 190 | <bean id="nullCompleter" class="org.apache.karaf.shell.console.completer.NullCompleter"/> |
Ray Milkey | 9fdf1ea | 2014-10-21 09:48:02 -0700 | [diff] [blame] | 191 | <bean id="ethTypeCompleter" class="org.onlab.onos.cli.net.EthTypeCompleter"/> |
tom | 6d2a43e | 2014-09-08 01:50:20 -0700 | [diff] [blame] | 192 | |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 193 | </blueprint> |