blob: 6102aa08e5006f112cfdb31e0e6f0ab9f9bab41c [file] [log] [blame]
Thomas Vachuska7d693f52014-10-21 19:17:57 -07001<!--
Thomas Vachuska4f1a60c2014-10-28 13:39:07 -07002 ~ Copyright 2014 Open Networking Laboratory
Thomas Vachuska7d693f52014-10-21 19:17:57 -07003 ~
Thomas Vachuska4f1a60c2014-10-28 13:39:07 -07004 ~ Licensed under the Apache License, Version 2.0 (the "License");
5 ~ you may not use this file except in compliance with the License.
6 ~ You may obtain a copy of the License at
Thomas Vachuska7d693f52014-10-21 19:17:57 -07007 ~
Thomas Vachuska4f1a60c2014-10-28 13:39:07 -07008 ~ http://www.apache.org/licenses/LICENSE-2.0
9 ~
10 ~ Unless required by applicable law or agreed to in writing, software
11 ~ distributed under the License is distributed on an "AS IS" BASIS,
12 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 ~ See the License for the specific language governing permissions and
14 ~ limitations under the License.
Thomas Vachuska7d693f52014-10-21 19:17:57 -070015 -->
tom0eb04ca2014-08-25 14:34:51 -070016<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
17
18 <command-bundle xmlns="http://karaf.apache.org/xmlns/shell/v1.1.0">
19 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080020 <action class="org.onosproject.cli.SummaryCommand"/>
tom9b4030d2014-10-06 10:39:03 -070021 </command>
Yuta HIGUCHI6a462832014-11-23 23:56:03 -080022
23 <command>
Thomas Vachuska90b453f2015-01-30 18:57:14 -080024 <action class="org.onosproject.cli.app.ApplicationsListCommand"/>
25 </command>
26
27 <command>
Thomas Vachuska1dcb0482015-02-18 18:21:28 -080028 <action class="org.onosproject.cli.app.ApplicationCommand"/>
29 <completers>
30 <ref component-id="appCommandCompleter"/>
31 <ref component-id="appNameCompleter"/>
32 <null/>
33 </completers>
34 </command>
35
36 <!--
37 <command>
Thomas Vachuska90b453f2015-01-30 18:57:14 -080038 <action class="org.onosproject.cli.app.ApplicationActivateCommand"/>
39 <completers>
40 <ref component-id="appNameCompleter"/>
41 <null/>
42 </completers>
43 </command>
44
45 <command>
46 <action class="org.onosproject.cli.app.ApplicationDeactivateCommand"/>
47 <completers>
48 <ref component-id="appNameCompleter"/>
49 <null/>
50 </completers>
51 </command>
52
53 <command>
54 <action class="org.onosproject.cli.app.ApplicationUninstallCommand"/>
55 <completers>
56 <ref component-id="appNameCompleter"/>
57 <null/>
58 </completers>
Thomas Vachuska02aeb032015-01-06 22:36:30 -080059 </command>
Thomas Vachuska1dcb0482015-02-18 18:21:28 -080060 -->
Thomas Vachuska02aeb032015-01-06 22:36:30 -080061
62 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080063 <action class="org.onosproject.cli.MetricsListCommand"/>
Yuta HIGUCHI6a462832014-11-23 23:56:03 -080064 </command>
65
tom9b4030d2014-10-06 10:39:03 -070066 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080067 <action class="org.onosproject.cli.NodesListCommand"/>
tome4729872014-09-23 00:37:37 -070068 </command>
Thomas Vachuska1dcb0482015-02-18 18:21:28 -080069 <!--
tome4729872014-09-23 00:37:37 -070070 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080071 <action class="org.onosproject.cli.NodeAddCommand"/>
tom9710fb42014-09-29 11:35:28 -070072 </command>
73 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080074 <action class="org.onosproject.cli.NodeRemoveCommand"/>
tom9710fb42014-09-29 11:35:28 -070075 </command>
Thomas Vachuska1dcb0482015-02-18 18:21:28 -080076 -->
Ayaka Koshibe45503ce2014-10-14 11:26:45 -070077
78 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080079 <action class="org.onosproject.cli.RolesCommand"/>
Ayaka Koshibe45503ce2014-10-14 11:26:45 -070080 </command>
tom9710fb42014-09-29 11:35:28 -070081 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080082 <action class="org.onosproject.cli.MastersListCommand"/>
Thomas Vachuskae0f804a2014-10-27 23:40:48 -070083 </command>
84 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080085 <action class="org.onosproject.cli.BalanceMastersCommand"/>
Thomas Vachuskae02e11c2014-11-24 16:13:52 -080086 </command>
87 <command>
Thomas Vachuska90b453f2015-01-30 18:57:14 -080088 <action class="org.onosproject.cli.app.ApplicationIdListCommand"/>
alshabiba7f7ca82014-09-22 11:41:23 -070089 </command>
tom1380eee2014-09-24 09:22:02 -070090
alshabiba7f7ca82014-09-22 11:41:23 -070091 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080092 <action class="org.onosproject.cli.net.DevicesListCommand"/>
tom6d2a43e2014-09-08 01:50:20 -070093 </command>
94 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080095 <action class="org.onosproject.cli.net.DevicePortsListCommand"/>
tom0eb04ca2014-08-25 14:34:51 -070096 <completers>
tom6d2a43e2014-09-08 01:50:20 -070097 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -070098 <null/>
tom0eb04ca2014-08-25 14:34:51 -070099 </completers>
100 </command>
tom6d2a43e2014-09-08 01:50:20 -0700101 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800102 <action class="org.onosproject.cli.net.DeviceRemoveCommand"/>
tomc290a122014-09-08 14:27:13 -0700103 <completers>
104 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700105 <null/>
tomc290a122014-09-08 14:27:13 -0700106 </completers>
107 </command>
tom5f35f7c2014-09-08 18:38:19 -0700108 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800109 <action class="org.onosproject.cli.net.DeviceRoleCommand"/>
tom5f35f7c2014-09-08 18:38:19 -0700110 <completers>
111 <ref component-id="deviceIdCompleter"/>
toma6235a52014-10-15 13:25:39 -0700112 <ref component-id="nodeIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700113 <ref component-id="roleCompleter"/>
114 <null/>
tom5f35f7c2014-09-08 18:38:19 -0700115 </completers>
116 </command>
tomc290a122014-09-08 14:27:13 -0700117
118 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800119 <action class="org.onosproject.cli.net.LinksListCommand"/>
tom6d2a43e2014-09-08 01:50:20 -0700120 <completers>
121 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700122 <null/>
tom6d2a43e2014-09-08 01:50:20 -0700123 </completers>
124 </command>
tom13cb4852014-09-11 12:44:17 -0700125
126 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800127 <action class="org.onosproject.cli.net.TopologyCommand"/>
tom13cb4852014-09-11 12:44:17 -0700128 </command>
129 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800130 <action class="org.onosproject.cli.net.PathListCommand"/>
tom9eb57fb2014-09-11 19:42:38 -0700131 <completers>
132 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700133 <ref component-id="deviceIdCompleter"/>
134 <null/>
tom9eb57fb2014-09-11 19:42:38 -0700135 </completers>
136 </command>
tomf5c9d922014-10-03 15:22:03 -0700137
tom9eb57fb2014-09-11 19:42:38 -0700138 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800139 <action class="org.onosproject.cli.net.IntentsListCommand"/>
tom0511a522014-10-04 12:06:02 -0700140 </command>
141 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800142 <action class="org.onosproject.cli.net.IntentRemoveCommand"/>
Brian O'Connor66630c82014-10-02 21:08:19 -0700143 <completers>
Thomas Vachuska1dcb0482015-02-18 18:21:28 -0800144 <ref component-id="appIdNameCompleter"/>
tom6db1f0a2014-10-07 09:12:29 -0700145 <ref component-id="intentIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700146 <null/>
Brian O'Connor66630c82014-10-02 21:08:19 -0700147 </completers>
148 </command>
tomf5c9d922014-10-03 15:22:03 -0700149 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800150 <action class="org.onosproject.cli.net.AddHostToHostIntentCommand"/>
tom0511a522014-10-04 12:06:02 -0700151 <completers>
tom6db1f0a2014-10-07 09:12:29 -0700152 <ref component-id="hostIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700153 <ref component-id="hostIdCompleter"/>
154 <null/>
tom0511a522014-10-04 12:06:02 -0700155 </completers>
tomf5c9d922014-10-03 15:22:03 -0700156 </command>
Ray Milkeya058c732014-10-08 13:52:34 -0700157 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800158 <action class="org.onosproject.cli.net.AddPointToPointIntentCommand"/>
Ray Milkeya058c732014-10-08 13:52:34 -0700159 <completers>
160 <ref component-id="connectPointCompleter"/>
161 <ref component-id="connectPointCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700162 <null/>
Ray Milkeya058c732014-10-08 13:52:34 -0700163 </completers>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700164 <optional-completers>
165 <entry key="-t" value-ref="ethTypeCompleter"/>
Jonathan Hart6e948282014-11-17 22:50:42 -0800166 <entry key="--ipProto" value-ref="ipProtocolCompleter"/>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700167 </optional-completers>
Ray Milkeya058c732014-10-08 13:52:34 -0700168 </command>
Brian O'Connor1aa99eb2014-10-10 16:18:58 -0700169 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800170 <action class="org.onosproject.cli.net.AddOpticalIntentCommand"/>
Brian O'Connor5296b322014-10-23 14:59:05 -0700171 <completers>
172 <ref component-id="connectPointCompleter"/>
173 <ref component-id="connectPointCompleter"/>
174 <null/>
175 </completers>
176 </command>
177 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800178 <action class="org.onosproject.cli.net.GetStatistics"/>
Thomas Vachuska1dcb0482015-02-18 18:21:28 -0800179 <completers>
180 <ref component-id="connectPointCompleter"/>
181 </completers>
alshabib23a8d7c2014-10-22 21:53:39 -0700182 </command>
183 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800184 <action class="org.onosproject.cli.net.AddMultiPointToSinglePointIntentCommand"/>
Ray Milkey0742ec92014-10-13 08:39:55 -0700185 <completers>
186 <ref component-id="connectPointCompleter"/>
187 </completers>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700188 <optional-completers>
189 <entry key="-t" value-ref="ethTypeCompleter"/>
Jonathan Hart6e948282014-11-17 22:50:42 -0800190 <entry key="--ipProto" value-ref="ipProtocolCompleter"/>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700191 </optional-completers>
Ray Milkey0742ec92014-10-13 08:39:55 -0700192 </command>
193 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800194 <action class="org.onosproject.cli.net.AddSinglePointToMultiPointIntentCommand"/>
Michele Santuari4a338072014-11-05 18:38:55 +0100195 <completers>
196 <ref component-id="connectPointCompleter"/>
197 </completers>
198 <optional-completers>
199 <entry key="-t" value-ref="ethTypeCompleter"/>
200 </optional-completers>
201 </command>
202 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800203 <action class="org.onosproject.cli.net.IntentPushTestCommand"/>
Brian O'Connor1aa99eb2014-10-10 16:18:58 -0700204 <completers>
205 <ref component-id="connectPointCompleter"/>
206 <ref component-id="connectPointCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700207 <ref component-id="nullCompleter"/>
208 <null/>
Brian O'Connor1aa99eb2014-10-10 16:18:58 -0700209 </completers>
210 </command>
Brian O'Connorfe0f4b12014-10-30 21:19:02 -0700211 <command>
Brian O'Connor66cfbfa2015-02-17 18:17:32 -0800212 <action class="org.onosproject.cli.net.IntentCycleCommand"/>
213 <completers>
214 <ref component-id="connectPointCompleter"/>
215 <ref component-id="connectPointCompleter"/>
216 <ref component-id="nullCompleter"/>
217 <null/>
218 </completers>
219 </command>
220 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800221 <action class="org.onosproject.cli.net.RandomIntentCommand"/>
Brian O'Connor6741a5f2014-11-19 20:40:11 -0800222 <completers>
223 <ref component-id="nullCompleter"/>
224 <null/>
225 </completers>
226 </command>
227 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800228 <action class="org.onosproject.cli.net.ResourceAllocationsCommand"/>
Brian O'Connorfe0f4b12014-10-30 21:19:02 -0700229 <completers>
230 <ref component-id="connectPointCompleter"/>
231 <ref component-id="connectPointCompleter"/>
232 <null/>
233 </completers>
234 </command>
235 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800236 <action class="org.onosproject.cli.net.ResourceAvailableCommand"/>
Brian O'Connorfe0f4b12014-10-30 21:19:02 -0700237 <completers>
238 <ref component-id="connectPointCompleter"/>
239 <ref component-id="connectPointCompleter"/>
240 <null/>
241 </completers>
242 </command>
Brian O'Connor66630c82014-10-02 21:08:19 -0700243 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800244 <action class="org.onosproject.cli.net.ClustersListCommand"/>
tom13cb4852014-09-11 12:44:17 -0700245 </command>
246 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800247 <action class="org.onosproject.cli.net.ClusterDevicesCommand"/>
tom13cb4852014-09-11 12:44:17 -0700248 <completers>
249 <ref component-id="clusterIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700250 <null/>
tom13cb4852014-09-11 12:44:17 -0700251 </completers>
252 </command>
253 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800254 <action class="org.onosproject.cli.net.ClusterLinksCommand"/>
tom13cb4852014-09-11 12:44:17 -0700255 <completers>
256 <ref component-id="clusterIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700257 <null/>
tom13cb4852014-09-11 12:44:17 -0700258 </completers>
259 </command>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700260
261 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800262 <action class="org.onosproject.cli.net.HostsListCommand"/>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700263 </command>
Jonathan Hart61d4ebc2014-10-29 11:08:26 -0700264 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800265 <action class="org.onosproject.cli.net.HostRemoveCommand"/>
Thomas Vachuska33601602014-11-19 03:32:15 -0800266 <completers>
267 <ref component-id="hostIdCompleter"/>
268 <null/>
269 </completers>
270 </command>
271 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800272 <action class="org.onosproject.cli.net.AddressBindingsListCommand"/>
Jonathan Hart61d4ebc2014-10-29 11:08:26 -0700273 </command>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700274
tom89b63c52014-09-16 09:19:51 -0700275 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800276 <action class="org.onosproject.cli.net.FlowsListCommand"/>
alshabib99b8fdc2014-09-25 14:30:22 -0700277 <completers>
alshabib144a2942014-09-25 18:44:02 -0700278 <ref component-id="flowRuleStatusCompleter"/>
alshabib99b8fdc2014-09-25 14:30:22 -0700279 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700280 <null/>
alshabib99b8fdc2014-09-25 14:30:22 -0700281 </completers>
tom1380eee2014-09-24 09:22:02 -0700282 </command>
283
284 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800285 <action class="org.onosproject.cli.net.AddFlowsCommand"/>
alshabib5afcbd72014-10-30 16:28:40 +0100286 </command>
Yuta HIGUCHIc2bf3d82014-11-28 18:50:41 -0800287 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800288 <action class="org.onosproject.cli.net.LeaderCommand"/>
Yuta HIGUCHIc2bf3d82014-11-28 18:50:41 -0800289 </command>
alshabib5afcbd72014-10-30 16:28:40 +0100290
291 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800292 <action class="org.onosproject.cli.net.WipeOutCommand"/>
tom89b63c52014-09-16 09:19:51 -0700293 </command>
Michele Santuari4b6019e2014-12-19 11:31:45 +0100294 <command>
Thomas Vachuska1dcb0482015-02-18 18:21:28 -0800295 <action class="org.onosproject.cli.net.AddMplsIntent"/>
296 <completers>
297 <ref component-id="connectPointCompleter"/>
298 </completers>
299 </command>
tom0eb04ca2014-08-25 14:34:51 -0700300 </command-bundle>
301
Thomas Vachuska1dcb0482015-02-18 18:21:28 -0800302 <bean id="appCommandCompleter" class="org.onosproject.cli.app.ApplicationCommandCompleter"/>
Thomas Vachuska90b453f2015-01-30 18:57:14 -0800303 <bean id="appNameCompleter" class="org.onosproject.cli.app.ApplicationNameCompleter"/>
Ray Milkey02479862015-02-17 17:02:19 -0800304 <bean id="appIdNameCompleter" class="org.onosproject.cli.app.ApplicationIdNameCompleter"/>
Brian O'Connorabafb502014-12-02 22:26:20 -0800305 <bean id="nodeIdCompleter" class="org.onosproject.cli.NodeIdCompleter"/>
306 <bean id="deviceIdCompleter" class="org.onosproject.cli.net.DeviceIdCompleter"/>
307 <bean id="clusterIdCompleter" class="org.onosproject.cli.net.ClusterIdCompleter"/>
308 <bean id="roleCompleter" class="org.onosproject.cli.net.RoleCompleter"/>
309 <bean id="hostIdCompleter" class="org.onosproject.cli.net.HostIdCompleter"/>
310 <bean id="intentIdCompleter" class="org.onosproject.cli.net.IntentIdCompleter"/>
311 <bean id="flowRuleStatusCompleter" class="org.onosproject.cli.net.FlowRuleStatusCompleter"/>
312 <bean id="connectPointCompleter" class="org.onosproject.cli.net.ConnectPointCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700313 <bean id="nullCompleter" class="org.apache.karaf.shell.console.completer.NullCompleter"/>
Brian O'Connorabafb502014-12-02 22:26:20 -0800314 <bean id="ethTypeCompleter" class="org.onosproject.cli.net.EthTypeCompleter"/>
315 <bean id="ipProtocolCompleter" class="org.onosproject.cli.net.IpProtocolCompleter"/>
tom6d2a43e2014-09-08 01:50:20 -0700316
tom0eb04ca2014-08-25 14:34:51 -0700317</blueprint>