blob: 0b43f5f532fb574357068eb8e3a48e24ace62b61 [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"/>
Ray Milkeyfb6655e2015-04-10 10:50:54 -070040 <ref component-id="componentPropertyNameCompleter"/>
Thomas Vachuska90b453f2015-01-30 18:57:14 -080041 <null/>
42 </completers>
43 </command>
44
45 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080046 <action class="org.onosproject.cli.MetricsListCommand"/>
Yuta HIGUCHI6a462832014-11-23 23:56:03 -080047 </command>
48
tom9b4030d2014-10-06 10:39:03 -070049 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080050 <action class="org.onosproject.cli.NodesListCommand"/>
tome4729872014-09-23 00:37:37 -070051 </command>
Thomas Vachuska1dcb0482015-02-18 18:21:28 -080052 <!--
tome4729872014-09-23 00:37:37 -070053 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080054 <action class="org.onosproject.cli.NodeAddCommand"/>
tom9710fb42014-09-29 11:35:28 -070055 </command>
56 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080057 <action class="org.onosproject.cli.NodeRemoveCommand"/>
tom9710fb42014-09-29 11:35:28 -070058 </command>
Thomas Vachuska1dcb0482015-02-18 18:21:28 -080059 -->
Ayaka Koshibe45503ce2014-10-14 11:26:45 -070060
61 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080062 <action class="org.onosproject.cli.RolesCommand"/>
Ayaka Koshibe45503ce2014-10-14 11:26:45 -070063 </command>
tom9710fb42014-09-29 11:35:28 -070064 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080065 <action class="org.onosproject.cli.MastersListCommand"/>
Thomas Vachuskae0f804a2014-10-27 23:40:48 -070066 </command>
67 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080068 <action class="org.onosproject.cli.BalanceMastersCommand"/>
Thomas Vachuskae02e11c2014-11-24 16:13:52 -080069 </command>
70 <command>
Thomas Vachuska90b453f2015-01-30 18:57:14 -080071 <action class="org.onosproject.cli.app.ApplicationIdListCommand"/>
alshabiba7f7ca82014-09-22 11:41:23 -070072 </command>
tom1380eee2014-09-24 09:22:02 -070073
alshabiba7f7ca82014-09-22 11:41:23 -070074 <command>
Thomas Vachuska5c2f8132015-04-08 23:09:08 -070075 <action class="org.onosproject.cli.net.DriversListCommand"/>
76 <completers>
77 <ref component-id="driverNameCompleter"/>
78 <null/>
79 </completers>
80 </command>
81
82 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080083 <action class="org.onosproject.cli.net.DevicesListCommand"/>
tom6d2a43e2014-09-08 01:50:20 -070084 </command>
85 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080086 <action class="org.onosproject.cli.net.DevicePortsListCommand"/>
tom0eb04ca2014-08-25 14:34:51 -070087 <completers>
tom6d2a43e2014-09-08 01:50:20 -070088 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -070089 <null/>
tom0eb04ca2014-08-25 14:34:51 -070090 </completers>
91 </command>
tom6d2a43e2014-09-08 01:50:20 -070092 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080093 <action class="org.onosproject.cli.net.DeviceRemoveCommand"/>
tomc290a122014-09-08 14:27:13 -070094 <completers>
95 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -070096 <null/>
tomc290a122014-09-08 14:27:13 -070097 </completers>
98 </command>
tom5f35f7c2014-09-08 18:38:19 -070099 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800100 <action class="org.onosproject.cli.net.DeviceRoleCommand"/>
tom5f35f7c2014-09-08 18:38:19 -0700101 <completers>
102 <ref component-id="deviceIdCompleter"/>
toma6235a52014-10-15 13:25:39 -0700103 <ref component-id="nodeIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700104 <ref component-id="roleCompleter"/>
105 <null/>
tom5f35f7c2014-09-08 18:38:19 -0700106 </completers>
107 </command>
tomc290a122014-09-08 14:27:13 -0700108
109 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800110 <action class="org.onosproject.cli.net.LinksListCommand"/>
tom6d2a43e2014-09-08 01:50:20 -0700111 <completers>
112 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700113 <null/>
tom6d2a43e2014-09-08 01:50:20 -0700114 </completers>
115 </command>
tom13cb4852014-09-11 12:44:17 -0700116
117 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800118 <action class="org.onosproject.cli.net.TopologyCommand"/>
tom13cb4852014-09-11 12:44:17 -0700119 </command>
120 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800121 <action class="org.onosproject.cli.net.PathListCommand"/>
tom9eb57fb2014-09-11 19:42:38 -0700122 <completers>
123 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700124 <ref component-id="deviceIdCompleter"/>
125 <null/>
tom9eb57fb2014-09-11 19:42:38 -0700126 </completers>
127 </command>
tomf5c9d922014-10-03 15:22:03 -0700128
tom9eb57fb2014-09-11 19:42:38 -0700129 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800130 <action class="org.onosproject.cli.net.IntentsListCommand"/>
tom0511a522014-10-04 12:06:02 -0700131 </command>
132 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800133 <action class="org.onosproject.cli.net.IntentRemoveCommand"/>
Brian O'Connor66630c82014-10-02 21:08:19 -0700134 <completers>
Ray Milkeyd088e8a2015-04-07 14:56:57 -0700135 <ref component-id="appIdWithIntentNameCompleter"/>
tom6db1f0a2014-10-07 09:12:29 -0700136 <ref component-id="intentIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700137 <null/>
Brian O'Connor66630c82014-10-02 21:08:19 -0700138 </completers>
139 </command>
tomf5c9d922014-10-03 15:22:03 -0700140 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800141 <action class="org.onosproject.cli.net.AddHostToHostIntentCommand"/>
tom0511a522014-10-04 12:06:02 -0700142 <completers>
tom6db1f0a2014-10-07 09:12:29 -0700143 <ref component-id="hostIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700144 <ref component-id="hostIdCompleter"/>
145 <null/>
tom0511a522014-10-04 12:06:02 -0700146 </completers>
tomf5c9d922014-10-03 15:22:03 -0700147 </command>
Ray Milkeya058c732014-10-08 13:52:34 -0700148 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800149 <action class="org.onosproject.cli.net.AddPointToPointIntentCommand"/>
Ray Milkeya058c732014-10-08 13:52:34 -0700150 <completers>
151 <ref component-id="connectPointCompleter"/>
152 <ref component-id="connectPointCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700153 <null/>
Ray Milkeya058c732014-10-08 13:52:34 -0700154 </completers>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700155 <optional-completers>
156 <entry key="-t" value-ref="ethTypeCompleter"/>
Jonathan Hart6e948282014-11-17 22:50:42 -0800157 <entry key="--ipProto" value-ref="ipProtocolCompleter"/>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700158 </optional-completers>
Ray Milkeya058c732014-10-08 13:52:34 -0700159 </command>
Brian O'Connor1aa99eb2014-10-10 16:18:58 -0700160 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800161 <action class="org.onosproject.cli.net.AddOpticalIntentCommand"/>
Brian O'Connor5296b322014-10-23 14:59:05 -0700162 <completers>
163 <ref component-id="connectPointCompleter"/>
164 <ref component-id="connectPointCompleter"/>
165 <null/>
166 </completers>
167 </command>
168 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800169 <action class="org.onosproject.cli.net.GetStatistics"/>
Thomas Vachuska1dcb0482015-02-18 18:21:28 -0800170 <completers>
171 <ref component-id="connectPointCompleter"/>
172 </completers>
alshabib23a8d7c2014-10-22 21:53:39 -0700173 </command>
174 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800175 <action class="org.onosproject.cli.net.AddMultiPointToSinglePointIntentCommand"/>
Ray Milkey0742ec92014-10-13 08:39:55 -0700176 <completers>
177 <ref component-id="connectPointCompleter"/>
178 </completers>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700179 <optional-completers>
180 <entry key="-t" value-ref="ethTypeCompleter"/>
Jonathan Hart6e948282014-11-17 22:50:42 -0800181 <entry key="--ipProto" value-ref="ipProtocolCompleter"/>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700182 </optional-completers>
Ray Milkey0742ec92014-10-13 08:39:55 -0700183 </command>
184 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800185 <action class="org.onosproject.cli.net.AddSinglePointToMultiPointIntentCommand"/>
Michele Santuari4a338072014-11-05 18:38:55 +0100186 <completers>
187 <ref component-id="connectPointCompleter"/>
188 </completers>
189 <optional-completers>
190 <entry key="-t" value-ref="ethTypeCompleter"/>
Pavlin Radoslavov70761df2015-03-09 11:05:49 -0700191 <entry key="--ipProto" value-ref="ipProtocolCompleter"/>
Michele Santuari4a338072014-11-05 18:38:55 +0100192 </optional-completers>
193 </command>
194 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800195 <action class="org.onosproject.cli.net.IntentPushTestCommand"/>
Brian O'Connor1aa99eb2014-10-10 16:18:58 -0700196 <completers>
197 <ref component-id="connectPointCompleter"/>
198 <ref component-id="connectPointCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700199 <ref component-id="nullCompleter"/>
200 <null/>
Brian O'Connor1aa99eb2014-10-10 16:18:58 -0700201 </completers>
202 </command>
Brian O'Connorfe0f4b12014-10-30 21:19:02 -0700203 <command>
Brian O'Connor66cfbfa2015-02-17 18:17:32 -0800204 <action class="org.onosproject.cli.net.IntentCycleCommand"/>
205 <completers>
206 <ref component-id="connectPointCompleter"/>
207 <ref component-id="connectPointCompleter"/>
208 <ref component-id="nullCompleter"/>
209 <null/>
210 </completers>
211 </command>
212 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800213 <action class="org.onosproject.cli.net.RandomIntentCommand"/>
Brian O'Connor6741a5f2014-11-19 20:40:11 -0800214 <completers>
215 <ref component-id="nullCompleter"/>
216 <null/>
217 </completers>
218 </command>
219 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800220 <action class="org.onosproject.cli.net.ResourceAllocationsCommand"/>
Brian O'Connorfe0f4b12014-10-30 21:19:02 -0700221 <completers>
222 <ref component-id="connectPointCompleter"/>
223 <ref component-id="connectPointCompleter"/>
224 <null/>
225 </completers>
226 </command>
227 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800228 <action class="org.onosproject.cli.net.ResourceAvailableCommand"/>
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>
Brian O'Connor66630c82014-10-02 21:08:19 -0700235 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800236 <action class="org.onosproject.cli.net.ClustersListCommand"/>
tom13cb4852014-09-11 12:44:17 -0700237 </command>
238 <command>
Jonathan Hart054da972015-02-18 17:30:28 -0800239 <action class="org.onosproject.cli.net.PartitionsListCommand"/>
240 </command>
241 <command>
Madan Jampania89f8f92015-04-01 14:39:54 -0700242 <action class="org.onosproject.cli.net.MapsListCommand"/>
243 </command>
244 <command>
Madan Jampanib5d72d52015-04-03 16:53:50 -0700245 <action class="org.onosproject.cli.net.CountersListCommand"/>
246 </command>
247 <command>
Madan Jampanibff6d8f2015-03-31 16:53:47 -0700248 <action class="org.onosproject.cli.net.TransactionsCommand"/>
249 </command>
250 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800251 <action class="org.onosproject.cli.net.ClusterDevicesCommand"/>
tom13cb4852014-09-11 12:44:17 -0700252 <completers>
253 <ref component-id="clusterIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700254 <null/>
tom13cb4852014-09-11 12:44:17 -0700255 </completers>
256 </command>
257 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800258 <action class="org.onosproject.cli.net.ClusterLinksCommand"/>
tom13cb4852014-09-11 12:44:17 -0700259 <completers>
260 <ref component-id="clusterIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700261 <null/>
tom13cb4852014-09-11 12:44:17 -0700262 </completers>
263 </command>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700264
265 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800266 <action class="org.onosproject.cli.net.HostsListCommand"/>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700267 </command>
Jonathan Hart61d4ebc2014-10-29 11:08:26 -0700268 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800269 <action class="org.onosproject.cli.net.HostRemoveCommand"/>
Thomas Vachuska33601602014-11-19 03:32:15 -0800270 <completers>
271 <ref component-id="hostIdCompleter"/>
272 <null/>
273 </completers>
274 </command>
275 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800276 <action class="org.onosproject.cli.net.AddressBindingsListCommand"/>
Jonathan Hart61d4ebc2014-10-29 11:08:26 -0700277 </command>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700278
tom89b63c52014-09-16 09:19:51 -0700279 <command>
Jonathan Hart32600692015-03-09 10:38:40 -0700280 <action class="org.onosproject.cli.net.GroupsListCommand"/>
281 </command>
282
283 <command>
sangho538108b2015-04-08 14:29:20 -0700284 <action class="org.onosproject.cli.net.DevicePortStatsCommand"/>
285 </command>
286
287 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800288 <action class="org.onosproject.cli.net.FlowsListCommand"/>
alshabib99b8fdc2014-09-25 14:30:22 -0700289 <completers>
alshabib144a2942014-09-25 18:44:02 -0700290 <ref component-id="flowRuleStatusCompleter"/>
alshabib99b8fdc2014-09-25 14:30:22 -0700291 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700292 <null/>
alshabib99b8fdc2014-09-25 14:30:22 -0700293 </completers>
tom1380eee2014-09-24 09:22:02 -0700294 </command>
295
296 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800297 <action class="org.onosproject.cli.net.AddFlowsCommand"/>
alshabib5afcbd72014-10-30 16:28:40 +0100298 </command>
Yuta HIGUCHIc2bf3d82014-11-28 18:50:41 -0800299 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800300 <action class="org.onosproject.cli.net.LeaderCommand"/>
Yuta HIGUCHIc2bf3d82014-11-28 18:50:41 -0800301 </command>
alshabib5afcbd72014-10-30 16:28:40 +0100302
303 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800304 <action class="org.onosproject.cli.net.WipeOutCommand"/>
tom89b63c52014-09-16 09:19:51 -0700305 </command>
Michele Santuari4b6019e2014-12-19 11:31:45 +0100306 <command>
Thomas Vachuska1dcb0482015-02-18 18:21:28 -0800307 <action class="org.onosproject.cli.net.AddMplsIntent"/>
308 <completers>
309 <ref component-id="connectPointCompleter"/>
Ray Milkey2a6e4452015-04-08 09:59:20 -0700310 <ref component-id="connectPointCompleter"/>
311 <null/>
Thomas Vachuska1dcb0482015-02-18 18:21:28 -0800312 </completers>
313 </command>
tom0eb04ca2014-08-25 14:34:51 -0700314 </command-bundle>
315
Thomas Vachuska1dcb0482015-02-18 18:21:28 -0800316 <bean id="appCommandCompleter" class="org.onosproject.cli.app.ApplicationCommandCompleter"/>
Thomas Vachuska90b453f2015-01-30 18:57:14 -0800317 <bean id="appNameCompleter" class="org.onosproject.cli.app.ApplicationNameCompleter"/>
Ray Milkeyd088e8a2015-04-07 14:56:57 -0700318 <bean id="appIdWithIntentNameCompleter" class="org.onosproject.cli.app.ApplicationIdWithIntentNameCompleter"/>
Thomas Vachuska6d697f12015-03-08 20:59:50 -0700319 <bean id="cfgCommandCompleter" class="org.onosproject.cli.cfg.ComponentConfigCommandCompleter"/>
320 <bean id="componentNameCompleter" class="org.onosproject.cli.cfg.ComponentNameCompleter"/>
Ray Milkeyfb6655e2015-04-10 10:50:54 -0700321 <bean id="componentPropertyNameCompleter" class="org.onosproject.cli.cfg.ComponentPropertyNameCompleter"/>
Brian O'Connorabafb502014-12-02 22:26:20 -0800322 <bean id="nodeIdCompleter" class="org.onosproject.cli.NodeIdCompleter"/>
323 <bean id="deviceIdCompleter" class="org.onosproject.cli.net.DeviceIdCompleter"/>
324 <bean id="clusterIdCompleter" class="org.onosproject.cli.net.ClusterIdCompleter"/>
325 <bean id="roleCompleter" class="org.onosproject.cli.net.RoleCompleter"/>
326 <bean id="hostIdCompleter" class="org.onosproject.cli.net.HostIdCompleter"/>
327 <bean id="intentIdCompleter" class="org.onosproject.cli.net.IntentIdCompleter"/>
328 <bean id="flowRuleStatusCompleter" class="org.onosproject.cli.net.FlowRuleStatusCompleter"/>
329 <bean id="connectPointCompleter" class="org.onosproject.cli.net.ConnectPointCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700330 <bean id="nullCompleter" class="org.apache.karaf.shell.console.completer.NullCompleter"/>
Brian O'Connorabafb502014-12-02 22:26:20 -0800331 <bean id="ethTypeCompleter" class="org.onosproject.cli.net.EthTypeCompleter"/>
332 <bean id="ipProtocolCompleter" class="org.onosproject.cli.net.IpProtocolCompleter"/>
Thomas Vachuska5c2f8132015-04-08 23:09:08 -0700333 <bean id="driverNameCompleter" class="org.onosproject.cli.net.DriverNameCompleter"/>
tom6d2a43e2014-09-08 01:50:20 -0700334
Thomas Vachuskac40d4632015-04-09 16:55:03 -0700335 <bean id="startStopCompleter" class="org.onosproject.cli.StartStopCompleter"/>
336 <bean id="upDownCompleter" class="org.onosproject.cli.UpDownCompleter"/>
337
tom0eb04ca2014-08-25 14:34:51 -0700338</blueprint>