blob: 87bcbee6c7d3bb485b02b3ae989c7e89ecaf3775 [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"/>
Thomas Vachuska1dcb0482015-02-18 18:21:28 -080032 </completers>
33 </command>
34
Thomas Vachuska1dcb0482015-02-18 18:21:28 -080035 <command>
Thomas Vachuska6d697f12015-03-08 20:59:50 -070036 <action class="org.onosproject.cli.cfg.ComponentConfigCommand"/>
Thomas Vachuska90b453f2015-01-30 18:57:14 -080037 <completers>
Thomas Vachuska6d697f12015-03-08 20:59:50 -070038 <ref component-id="cfgCommandCompleter"/>
39 <ref component-id="componentNameCompleter"/>
Thomas Vachuska90b453f2015-01-30 18:57:14 -080040 <null/>
41 </completers>
42 </command>
43
44 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080045 <action class="org.onosproject.cli.MetricsListCommand"/>
Yuta HIGUCHI6a462832014-11-23 23:56:03 -080046 </command>
47
tom9b4030d2014-10-06 10:39:03 -070048 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080049 <action class="org.onosproject.cli.NodesListCommand"/>
tome4729872014-09-23 00:37:37 -070050 </command>
Thomas Vachuska1dcb0482015-02-18 18:21:28 -080051 <!--
tome4729872014-09-23 00:37:37 -070052 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080053 <action class="org.onosproject.cli.NodeAddCommand"/>
tom9710fb42014-09-29 11:35:28 -070054 </command>
55 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080056 <action class="org.onosproject.cli.NodeRemoveCommand"/>
tom9710fb42014-09-29 11:35:28 -070057 </command>
Thomas Vachuska1dcb0482015-02-18 18:21:28 -080058 -->
Ayaka Koshibe45503ce2014-10-14 11:26:45 -070059
60 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080061 <action class="org.onosproject.cli.RolesCommand"/>
Ayaka Koshibe45503ce2014-10-14 11:26:45 -070062 </command>
tom9710fb42014-09-29 11:35:28 -070063 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080064 <action class="org.onosproject.cli.MastersListCommand"/>
Thomas Vachuskae0f804a2014-10-27 23:40:48 -070065 </command>
66 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080067 <action class="org.onosproject.cli.BalanceMastersCommand"/>
Thomas Vachuskae02e11c2014-11-24 16:13:52 -080068 </command>
69 <command>
Thomas Vachuska90b453f2015-01-30 18:57:14 -080070 <action class="org.onosproject.cli.app.ApplicationIdListCommand"/>
alshabiba7f7ca82014-09-22 11:41:23 -070071 </command>
tom1380eee2014-09-24 09:22:02 -070072
alshabiba7f7ca82014-09-22 11:41:23 -070073 <command>
Thomas Vachuska5c2f8132015-04-08 23:09:08 -070074 <action class="org.onosproject.cli.net.DriversListCommand"/>
75 <completers>
76 <ref component-id="driverNameCompleter"/>
77 <null/>
78 </completers>
79 </command>
80
81 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080082 <action class="org.onosproject.cli.net.DevicesListCommand"/>
tom6d2a43e2014-09-08 01:50:20 -070083 </command>
84 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080085 <action class="org.onosproject.cli.net.DevicePortsListCommand"/>
tom0eb04ca2014-08-25 14:34:51 -070086 <completers>
tom6d2a43e2014-09-08 01:50:20 -070087 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -070088 <null/>
tom0eb04ca2014-08-25 14:34:51 -070089 </completers>
90 </command>
tom6d2a43e2014-09-08 01:50:20 -070091 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080092 <action class="org.onosproject.cli.net.DeviceRemoveCommand"/>
tomc290a122014-09-08 14:27:13 -070093 <completers>
94 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -070095 <null/>
tomc290a122014-09-08 14:27:13 -070096 </completers>
97 </command>
tom5f35f7c2014-09-08 18:38:19 -070098 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080099 <action class="org.onosproject.cli.net.DeviceRoleCommand"/>
tom5f35f7c2014-09-08 18:38:19 -0700100 <completers>
101 <ref component-id="deviceIdCompleter"/>
toma6235a52014-10-15 13:25:39 -0700102 <ref component-id="nodeIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700103 <ref component-id="roleCompleter"/>
104 <null/>
tom5f35f7c2014-09-08 18:38:19 -0700105 </completers>
106 </command>
tomc290a122014-09-08 14:27:13 -0700107
108 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800109 <action class="org.onosproject.cli.net.LinksListCommand"/>
tom6d2a43e2014-09-08 01:50:20 -0700110 <completers>
111 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700112 <null/>
tom6d2a43e2014-09-08 01:50:20 -0700113 </completers>
114 </command>
tom13cb4852014-09-11 12:44:17 -0700115
116 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800117 <action class="org.onosproject.cli.net.TopologyCommand"/>
tom13cb4852014-09-11 12:44:17 -0700118 </command>
119 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800120 <action class="org.onosproject.cli.net.PathListCommand"/>
tom9eb57fb2014-09-11 19:42:38 -0700121 <completers>
122 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700123 <ref component-id="deviceIdCompleter"/>
124 <null/>
tom9eb57fb2014-09-11 19:42:38 -0700125 </completers>
126 </command>
tomf5c9d922014-10-03 15:22:03 -0700127
tom9eb57fb2014-09-11 19:42:38 -0700128 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800129 <action class="org.onosproject.cli.net.IntentsListCommand"/>
tom0511a522014-10-04 12:06:02 -0700130 </command>
131 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800132 <action class="org.onosproject.cli.net.IntentRemoveCommand"/>
Brian O'Connor66630c82014-10-02 21:08:19 -0700133 <completers>
Ray Milkeyd088e8a2015-04-07 14:56:57 -0700134 <ref component-id="appIdWithIntentNameCompleter"/>
tom6db1f0a2014-10-07 09:12:29 -0700135 <ref component-id="intentIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700136 <null/>
Brian O'Connor66630c82014-10-02 21:08:19 -0700137 </completers>
138 </command>
tomf5c9d922014-10-03 15:22:03 -0700139 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800140 <action class="org.onosproject.cli.net.AddHostToHostIntentCommand"/>
tom0511a522014-10-04 12:06:02 -0700141 <completers>
tom6db1f0a2014-10-07 09:12:29 -0700142 <ref component-id="hostIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700143 <ref component-id="hostIdCompleter"/>
144 <null/>
tom0511a522014-10-04 12:06:02 -0700145 </completers>
tomf5c9d922014-10-03 15:22:03 -0700146 </command>
Ray Milkeya058c732014-10-08 13:52:34 -0700147 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800148 <action class="org.onosproject.cli.net.AddPointToPointIntentCommand"/>
Ray Milkeya058c732014-10-08 13:52:34 -0700149 <completers>
150 <ref component-id="connectPointCompleter"/>
151 <ref component-id="connectPointCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700152 <null/>
Ray Milkeya058c732014-10-08 13:52:34 -0700153 </completers>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700154 <optional-completers>
155 <entry key="-t" value-ref="ethTypeCompleter"/>
Jonathan Hart6e948282014-11-17 22:50:42 -0800156 <entry key="--ipProto" value-ref="ipProtocolCompleter"/>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700157 </optional-completers>
Ray Milkeya058c732014-10-08 13:52:34 -0700158 </command>
Brian O'Connor1aa99eb2014-10-10 16:18:58 -0700159 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800160 <action class="org.onosproject.cli.net.AddOpticalIntentCommand"/>
Brian O'Connor5296b322014-10-23 14:59:05 -0700161 <completers>
162 <ref component-id="connectPointCompleter"/>
163 <ref component-id="connectPointCompleter"/>
164 <null/>
165 </completers>
166 </command>
167 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800168 <action class="org.onosproject.cli.net.GetStatistics"/>
Thomas Vachuska1dcb0482015-02-18 18:21:28 -0800169 <completers>
170 <ref component-id="connectPointCompleter"/>
171 </completers>
alshabib23a8d7c2014-10-22 21:53:39 -0700172 </command>
173 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800174 <action class="org.onosproject.cli.net.AddMultiPointToSinglePointIntentCommand"/>
Ray Milkey0742ec92014-10-13 08:39:55 -0700175 <completers>
176 <ref component-id="connectPointCompleter"/>
177 </completers>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700178 <optional-completers>
179 <entry key="-t" value-ref="ethTypeCompleter"/>
Jonathan Hart6e948282014-11-17 22:50:42 -0800180 <entry key="--ipProto" value-ref="ipProtocolCompleter"/>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700181 </optional-completers>
Ray Milkey0742ec92014-10-13 08:39:55 -0700182 </command>
183 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800184 <action class="org.onosproject.cli.net.AddSinglePointToMultiPointIntentCommand"/>
Michele Santuari4a338072014-11-05 18:38:55 +0100185 <completers>
186 <ref component-id="connectPointCompleter"/>
187 </completers>
188 <optional-completers>
189 <entry key="-t" value-ref="ethTypeCompleter"/>
Pavlin Radoslavov70761df2015-03-09 11:05:49 -0700190 <entry key="--ipProto" value-ref="ipProtocolCompleter"/>
Michele Santuari4a338072014-11-05 18:38:55 +0100191 </optional-completers>
192 </command>
193 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800194 <action class="org.onosproject.cli.net.IntentPushTestCommand"/>
Brian O'Connor1aa99eb2014-10-10 16:18:58 -0700195 <completers>
196 <ref component-id="connectPointCompleter"/>
197 <ref component-id="connectPointCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700198 <ref component-id="nullCompleter"/>
199 <null/>
Brian O'Connor1aa99eb2014-10-10 16:18:58 -0700200 </completers>
201 </command>
Brian O'Connorfe0f4b12014-10-30 21:19:02 -0700202 <command>
Brian O'Connor66cfbfa2015-02-17 18:17:32 -0800203 <action class="org.onosproject.cli.net.IntentCycleCommand"/>
204 <completers>
205 <ref component-id="connectPointCompleter"/>
206 <ref component-id="connectPointCompleter"/>
207 <ref component-id="nullCompleter"/>
208 <null/>
209 </completers>
210 </command>
211 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800212 <action class="org.onosproject.cli.net.RandomIntentCommand"/>
Brian O'Connor6741a5f2014-11-19 20:40:11 -0800213 <completers>
214 <ref component-id="nullCompleter"/>
215 <null/>
216 </completers>
217 </command>
218 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800219 <action class="org.onosproject.cli.net.ResourceAllocationsCommand"/>
Brian O'Connorfe0f4b12014-10-30 21:19:02 -0700220 <completers>
221 <ref component-id="connectPointCompleter"/>
222 <ref component-id="connectPointCompleter"/>
223 <null/>
224 </completers>
225 </command>
226 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800227 <action class="org.onosproject.cli.net.ResourceAvailableCommand"/>
Brian O'Connorfe0f4b12014-10-30 21:19:02 -0700228 <completers>
229 <ref component-id="connectPointCompleter"/>
230 <ref component-id="connectPointCompleter"/>
231 <null/>
232 </completers>
233 </command>
Brian O'Connor66630c82014-10-02 21:08:19 -0700234 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800235 <action class="org.onosproject.cli.net.ClustersListCommand"/>
tom13cb4852014-09-11 12:44:17 -0700236 </command>
237 <command>
Jonathan Hart054da972015-02-18 17:30:28 -0800238 <action class="org.onosproject.cli.net.PartitionsListCommand"/>
239 </command>
240 <command>
Madan Jampania89f8f92015-04-01 14:39:54 -0700241 <action class="org.onosproject.cli.net.MapsListCommand"/>
242 </command>
243 <command>
Madan Jampanib5d72d52015-04-03 16:53:50 -0700244 <action class="org.onosproject.cli.net.CountersListCommand"/>
245 </command>
246 <command>
Madan Jampanibff6d8f2015-03-31 16:53:47 -0700247 <action class="org.onosproject.cli.net.TransactionsCommand"/>
248 </command>
249 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800250 <action class="org.onosproject.cli.net.ClusterDevicesCommand"/>
tom13cb4852014-09-11 12:44:17 -0700251 <completers>
252 <ref component-id="clusterIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700253 <null/>
tom13cb4852014-09-11 12:44:17 -0700254 </completers>
255 </command>
256 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800257 <action class="org.onosproject.cli.net.ClusterLinksCommand"/>
tom13cb4852014-09-11 12:44:17 -0700258 <completers>
259 <ref component-id="clusterIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700260 <null/>
tom13cb4852014-09-11 12:44:17 -0700261 </completers>
262 </command>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700263
264 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800265 <action class="org.onosproject.cli.net.HostsListCommand"/>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700266 </command>
Jonathan Hart61d4ebc2014-10-29 11:08:26 -0700267 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800268 <action class="org.onosproject.cli.net.HostRemoveCommand"/>
Thomas Vachuska33601602014-11-19 03:32:15 -0800269 <completers>
270 <ref component-id="hostIdCompleter"/>
271 <null/>
272 </completers>
273 </command>
274 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800275 <action class="org.onosproject.cli.net.AddressBindingsListCommand"/>
Jonathan Hart61d4ebc2014-10-29 11:08:26 -0700276 </command>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700277
tom89b63c52014-09-16 09:19:51 -0700278 <command>
Jonathan Hart32600692015-03-09 10:38:40 -0700279 <action class="org.onosproject.cli.net.GroupsListCommand"/>
280 </command>
281
282 <command>
sangho538108b2015-04-08 14:29:20 -0700283 <action class="org.onosproject.cli.net.DevicePortStatsCommand"/>
284 </command>
285
286 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800287 <action class="org.onosproject.cli.net.FlowsListCommand"/>
alshabib99b8fdc2014-09-25 14:30:22 -0700288 <completers>
alshabib144a2942014-09-25 18:44:02 -0700289 <ref component-id="flowRuleStatusCompleter"/>
alshabib99b8fdc2014-09-25 14:30:22 -0700290 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700291 <null/>
alshabib99b8fdc2014-09-25 14:30:22 -0700292 </completers>
tom1380eee2014-09-24 09:22:02 -0700293 </command>
294
295 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800296 <action class="org.onosproject.cli.net.AddFlowsCommand"/>
alshabib5afcbd72014-10-30 16:28:40 +0100297 </command>
Yuta HIGUCHIc2bf3d82014-11-28 18:50:41 -0800298 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800299 <action class="org.onosproject.cli.net.LeaderCommand"/>
Yuta HIGUCHIc2bf3d82014-11-28 18:50:41 -0800300 </command>
alshabib5afcbd72014-10-30 16:28:40 +0100301
302 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800303 <action class="org.onosproject.cli.net.WipeOutCommand"/>
tom89b63c52014-09-16 09:19:51 -0700304 </command>
Michele Santuari4b6019e2014-12-19 11:31:45 +0100305 <command>
Thomas Vachuska1dcb0482015-02-18 18:21:28 -0800306 <action class="org.onosproject.cli.net.AddMplsIntent"/>
307 <completers>
308 <ref component-id="connectPointCompleter"/>
Ray Milkey2a6e4452015-04-08 09:59:20 -0700309 <ref component-id="connectPointCompleter"/>
310 <null/>
Thomas Vachuska1dcb0482015-02-18 18:21:28 -0800311 </completers>
312 </command>
tom0eb04ca2014-08-25 14:34:51 -0700313 </command-bundle>
314
Thomas Vachuska1dcb0482015-02-18 18:21:28 -0800315 <bean id="appCommandCompleter" class="org.onosproject.cli.app.ApplicationCommandCompleter"/>
Thomas Vachuska90b453f2015-01-30 18:57:14 -0800316 <bean id="appNameCompleter" class="org.onosproject.cli.app.ApplicationNameCompleter"/>
Ray Milkeyd088e8a2015-04-07 14:56:57 -0700317 <bean id="appIdWithIntentNameCompleter" class="org.onosproject.cli.app.ApplicationIdWithIntentNameCompleter"/>
Thomas Vachuska6d697f12015-03-08 20:59:50 -0700318 <bean id="cfgCommandCompleter" class="org.onosproject.cli.cfg.ComponentConfigCommandCompleter"/>
319 <bean id="componentNameCompleter" class="org.onosproject.cli.cfg.ComponentNameCompleter"/>
Brian O'Connorabafb502014-12-02 22:26:20 -0800320 <bean id="nodeIdCompleter" class="org.onosproject.cli.NodeIdCompleter"/>
321 <bean id="deviceIdCompleter" class="org.onosproject.cli.net.DeviceIdCompleter"/>
322 <bean id="clusterIdCompleter" class="org.onosproject.cli.net.ClusterIdCompleter"/>
323 <bean id="roleCompleter" class="org.onosproject.cli.net.RoleCompleter"/>
324 <bean id="hostIdCompleter" class="org.onosproject.cli.net.HostIdCompleter"/>
325 <bean id="intentIdCompleter" class="org.onosproject.cli.net.IntentIdCompleter"/>
326 <bean id="flowRuleStatusCompleter" class="org.onosproject.cli.net.FlowRuleStatusCompleter"/>
327 <bean id="connectPointCompleter" class="org.onosproject.cli.net.ConnectPointCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700328 <bean id="nullCompleter" class="org.apache.karaf.shell.console.completer.NullCompleter"/>
Brian O'Connorabafb502014-12-02 22:26:20 -0800329 <bean id="ethTypeCompleter" class="org.onosproject.cli.net.EthTypeCompleter"/>
330 <bean id="ipProtocolCompleter" class="org.onosproject.cli.net.IpProtocolCompleter"/>
Thomas Vachuska5c2f8132015-04-08 23:09:08 -0700331 <bean id="driverNameCompleter" class="org.onosproject.cli.net.DriverNameCompleter"/>
tom6d2a43e2014-09-08 01:50:20 -0700332
tom0eb04ca2014-08-25 14:34:51 -0700333</blueprint>