blob: fdfa54cc0921e571a2b353c81391e6c39e958084 [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>
28 <action class="org.onosproject.cli.app.ApplicationActivateCommand"/>
29 <completers>
30 <ref component-id="appNameCompleter"/>
31 <null/>
32 </completers>
33 </command>
34
35 <command>
36 <action class="org.onosproject.cli.app.ApplicationDeactivateCommand"/>
37 <completers>
38 <ref component-id="appNameCompleter"/>
39 <null/>
40 </completers>
41 </command>
42
43 <command>
44 <action class="org.onosproject.cli.app.ApplicationUninstallCommand"/>
45 <completers>
46 <ref component-id="appNameCompleter"/>
47 <null/>
48 </completers>
Thomas Vachuska02aeb032015-01-06 22:36:30 -080049 </command>
50
51 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080052 <action class="org.onosproject.cli.MetricsListCommand"/>
Yuta HIGUCHI6a462832014-11-23 23:56:03 -080053 </command>
54
tom9b4030d2014-10-06 10:39:03 -070055 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080056 <action class="org.onosproject.cli.NodesListCommand"/>
tome4729872014-09-23 00:37:37 -070057 </command>
Yuta HIGUCHI23ab0fa2014-12-02 10:56:42 -080058<!--
tome4729872014-09-23 00:37:37 -070059 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080060 <action class="org.onosproject.cli.NodeAddCommand"/>
tom9710fb42014-09-29 11:35:28 -070061 </command>
62 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080063 <action class="org.onosproject.cli.NodeRemoveCommand"/>
tom9710fb42014-09-29 11:35:28 -070064 </command>
Yuta HIGUCHI23ab0fa2014-12-02 10:56:42 -080065-->
Ayaka Koshibe45503ce2014-10-14 11:26:45 -070066
67 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080068 <action class="org.onosproject.cli.RolesCommand"/>
Ayaka Koshibe45503ce2014-10-14 11:26:45 -070069 </command>
tom9710fb42014-09-29 11:35:28 -070070 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080071 <action class="org.onosproject.cli.MastersListCommand"/>
Thomas Vachuskae0f804a2014-10-27 23:40:48 -070072 </command>
73 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080074 <action class="org.onosproject.cli.BalanceMastersCommand"/>
Thomas Vachuskae02e11c2014-11-24 16:13:52 -080075 </command>
76 <command>
Thomas Vachuska90b453f2015-01-30 18:57:14 -080077 <action class="org.onosproject.cli.app.ApplicationIdListCommand"/>
alshabiba7f7ca82014-09-22 11:41:23 -070078 </command>
tom1380eee2014-09-24 09:22:02 -070079
alshabiba7f7ca82014-09-22 11:41:23 -070080 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080081 <action class="org.onosproject.cli.net.DevicesListCommand"/>
tom6d2a43e2014-09-08 01:50:20 -070082 </command>
83 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080084 <action class="org.onosproject.cli.net.DevicePortsListCommand"/>
tom0eb04ca2014-08-25 14:34:51 -070085 <completers>
tom6d2a43e2014-09-08 01:50:20 -070086 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -070087 <null/>
tom0eb04ca2014-08-25 14:34:51 -070088 </completers>
89 </command>
tom6d2a43e2014-09-08 01:50:20 -070090 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080091 <action class="org.onosproject.cli.net.DeviceRemoveCommand"/>
tomc290a122014-09-08 14:27:13 -070092 <completers>
93 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -070094 <null/>
tomc290a122014-09-08 14:27:13 -070095 </completers>
96 </command>
tom5f35f7c2014-09-08 18:38:19 -070097 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080098 <action class="org.onosproject.cli.net.DeviceRoleCommand"/>
tom5f35f7c2014-09-08 18:38:19 -070099 <completers>
100 <ref component-id="deviceIdCompleter"/>
toma6235a52014-10-15 13:25:39 -0700101 <ref component-id="nodeIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700102 <ref component-id="roleCompleter"/>
103 <null/>
tom5f35f7c2014-09-08 18:38:19 -0700104 </completers>
105 </command>
tomc290a122014-09-08 14:27:13 -0700106
107 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800108 <action class="org.onosproject.cli.net.LinksListCommand"/>
tom6d2a43e2014-09-08 01:50:20 -0700109 <completers>
110 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700111 <null/>
tom6d2a43e2014-09-08 01:50:20 -0700112 </completers>
113 </command>
tom13cb4852014-09-11 12:44:17 -0700114
115 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800116 <action class="org.onosproject.cli.net.TopologyCommand"/>
tom13cb4852014-09-11 12:44:17 -0700117 </command>
118 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800119 <action class="org.onosproject.cli.net.PathListCommand"/>
tom9eb57fb2014-09-11 19:42:38 -0700120 <completers>
121 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700122 <ref component-id="deviceIdCompleter"/>
123 <null/>
tom9eb57fb2014-09-11 19:42:38 -0700124 </completers>
125 </command>
tomf5c9d922014-10-03 15:22:03 -0700126
tom9eb57fb2014-09-11 19:42:38 -0700127 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800128 <action class="org.onosproject.cli.net.IntentsListCommand"/>
tom0511a522014-10-04 12:06:02 -0700129 </command>
130 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800131 <action class="org.onosproject.cli.net.IntentRemoveCommand"/>
Brian O'Connor66630c82014-10-02 21:08:19 -0700132 <completers>
Ray Milkey02479862015-02-17 17:02:19 -0800133 <ref component-id="appIdNameCompleter" />
tom6db1f0a2014-10-07 09:12:29 -0700134 <ref component-id="intentIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700135 <null/>
Brian O'Connor66630c82014-10-02 21:08:19 -0700136 </completers>
137 </command>
tomf5c9d922014-10-03 15:22:03 -0700138 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800139 <action class="org.onosproject.cli.net.AddHostToHostIntentCommand"/>
tom0511a522014-10-04 12:06:02 -0700140 <completers>
tom6db1f0a2014-10-07 09:12:29 -0700141 <ref component-id="hostIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700142 <ref component-id="hostIdCompleter"/>
143 <null/>
tom0511a522014-10-04 12:06:02 -0700144 </completers>
tomf5c9d922014-10-03 15:22:03 -0700145 </command>
Ray Milkeya058c732014-10-08 13:52:34 -0700146 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800147 <action class="org.onosproject.cli.net.AddPointToPointIntentCommand"/>
Ray Milkeya058c732014-10-08 13:52:34 -0700148 <completers>
149 <ref component-id="connectPointCompleter"/>
150 <ref component-id="connectPointCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700151 <null/>
Ray Milkeya058c732014-10-08 13:52:34 -0700152 </completers>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700153 <optional-completers>
154 <entry key="-t" value-ref="ethTypeCompleter"/>
Jonathan Hart6e948282014-11-17 22:50:42 -0800155 <entry key="--ipProto" value-ref="ipProtocolCompleter"/>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700156 </optional-completers>
Ray Milkeya058c732014-10-08 13:52:34 -0700157 </command>
Brian O'Connor1aa99eb2014-10-10 16:18:58 -0700158 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800159 <action class="org.onosproject.cli.net.AddOpticalIntentCommand"/>
Brian O'Connor5296b322014-10-23 14:59:05 -0700160 <completers>
161 <ref component-id="connectPointCompleter"/>
162 <ref component-id="connectPointCompleter"/>
163 <null/>
164 </completers>
165 </command>
166 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800167 <action class="org.onosproject.cli.net.GetStatistics"/>
alshabib23a8d7c2014-10-22 21:53:39 -0700168 <completers>
169 <ref component-id="connectPointCompleter"/>
170 </completers>
171 </command>
172 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800173 <action class="org.onosproject.cli.net.AddMultiPointToSinglePointIntentCommand"/>
Ray Milkey0742ec92014-10-13 08:39:55 -0700174 <completers>
175 <ref component-id="connectPointCompleter"/>
176 </completers>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700177 <optional-completers>
178 <entry key="-t" value-ref="ethTypeCompleter"/>
Jonathan Hart6e948282014-11-17 22:50:42 -0800179 <entry key="--ipProto" value-ref="ipProtocolCompleter"/>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700180 </optional-completers>
Ray Milkey0742ec92014-10-13 08:39:55 -0700181 </command>
182 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800183 <action class="org.onosproject.cli.net.AddSinglePointToMultiPointIntentCommand"/>
Michele Santuari4a338072014-11-05 18:38:55 +0100184 <completers>
185 <ref component-id="connectPointCompleter"/>
186 </completers>
187 <optional-completers>
188 <entry key="-t" value-ref="ethTypeCompleter"/>
189 </optional-completers>
190 </command>
191 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800192 <action class="org.onosproject.cli.net.IntentPushTestCommand"/>
Brian O'Connor1aa99eb2014-10-10 16:18:58 -0700193 <completers>
194 <ref component-id="connectPointCompleter"/>
195 <ref component-id="connectPointCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700196 <ref component-id="nullCompleter"/>
197 <null/>
Brian O'Connor1aa99eb2014-10-10 16:18:58 -0700198 </completers>
199 </command>
Brian O'Connorfe0f4b12014-10-30 21:19:02 -0700200 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800201 <action class="org.onosproject.cli.net.RandomIntentCommand"/>
Brian O'Connor6741a5f2014-11-19 20:40:11 -0800202 <completers>
203 <ref component-id="nullCompleter"/>
204 <null/>
205 </completers>
206 </command>
207 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800208 <action class="org.onosproject.cli.net.ResourceAllocationsCommand"/>
Brian O'Connorfe0f4b12014-10-30 21:19:02 -0700209 <completers>
210 <ref component-id="connectPointCompleter"/>
211 <ref component-id="connectPointCompleter"/>
212 <null/>
213 </completers>
214 </command>
215 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800216 <action class="org.onosproject.cli.net.ResourceAvailableCommand"/>
Brian O'Connorfe0f4b12014-10-30 21:19:02 -0700217 <completers>
218 <ref component-id="connectPointCompleter"/>
219 <ref component-id="connectPointCompleter"/>
220 <null/>
221 </completers>
222 </command>
Brian O'Connor66630c82014-10-02 21:08:19 -0700223 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800224 <action class="org.onosproject.cli.net.ClustersListCommand"/>
tom13cb4852014-09-11 12:44:17 -0700225 </command>
226 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800227 <action class="org.onosproject.cli.net.ClusterDevicesCommand"/>
tom13cb4852014-09-11 12:44:17 -0700228 <completers>
229 <ref component-id="clusterIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700230 <null/>
tom13cb4852014-09-11 12:44:17 -0700231 </completers>
232 </command>
233 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800234 <action class="org.onosproject.cli.net.ClusterLinksCommand"/>
tom13cb4852014-09-11 12:44:17 -0700235 <completers>
236 <ref component-id="clusterIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700237 <null/>
tom13cb4852014-09-11 12:44:17 -0700238 </completers>
239 </command>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700240
241 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800242 <action class="org.onosproject.cli.net.HostsListCommand"/>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700243 </command>
Jonathan Hart61d4ebc2014-10-29 11:08:26 -0700244 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800245 <action class="org.onosproject.cli.net.HostRemoveCommand"/>
Thomas Vachuska33601602014-11-19 03:32:15 -0800246 <completers>
247 <ref component-id="hostIdCompleter"/>
248 <null/>
249 </completers>
250 </command>
251 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800252 <action class="org.onosproject.cli.net.AddressBindingsListCommand"/>
Jonathan Hart61d4ebc2014-10-29 11:08:26 -0700253 </command>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700254
tom89b63c52014-09-16 09:19:51 -0700255 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800256 <action class="org.onosproject.cli.net.FlowsListCommand"/>
alshabib99b8fdc2014-09-25 14:30:22 -0700257 <completers>
alshabib144a2942014-09-25 18:44:02 -0700258 <ref component-id="flowRuleStatusCompleter"/>
alshabib99b8fdc2014-09-25 14:30:22 -0700259 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700260 <null/>
alshabib99b8fdc2014-09-25 14:30:22 -0700261 </completers>
tom1380eee2014-09-24 09:22:02 -0700262 </command>
263
264 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800265 <action class="org.onosproject.cli.net.AddFlowsCommand"/>
alshabib5afcbd72014-10-30 16:28:40 +0100266 </command>
Yuta HIGUCHIc2bf3d82014-11-28 18:50:41 -0800267 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800268 <action class="org.onosproject.cli.net.LeaderCommand"/>
Yuta HIGUCHIc2bf3d82014-11-28 18:50:41 -0800269 </command>
alshabib5afcbd72014-10-30 16:28:40 +0100270
271 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800272 <action class="org.onosproject.cli.net.WipeOutCommand"/>
tom89b63c52014-09-16 09:19:51 -0700273 </command>
Michele Santuari4b6019e2014-12-19 11:31:45 +0100274 <command>
275 <action class="org.onosproject.cli.net.AddMplsIntent" />
276 <completers>
277 <ref component-id="connectPointCompleter" />
278 </completers>
279 </command>
tom0eb04ca2014-08-25 14:34:51 -0700280 </command-bundle>
281
Thomas Vachuska90b453f2015-01-30 18:57:14 -0800282 <bean id="appNameCompleter" class="org.onosproject.cli.app.ApplicationNameCompleter"/>
Ray Milkey02479862015-02-17 17:02:19 -0800283 <bean id="appIdNameCompleter" class="org.onosproject.cli.app.ApplicationIdNameCompleter"/>
Brian O'Connorabafb502014-12-02 22:26:20 -0800284 <bean id="nodeIdCompleter" class="org.onosproject.cli.NodeIdCompleter"/>
285 <bean id="deviceIdCompleter" class="org.onosproject.cli.net.DeviceIdCompleter"/>
286 <bean id="clusterIdCompleter" class="org.onosproject.cli.net.ClusterIdCompleter"/>
287 <bean id="roleCompleter" class="org.onosproject.cli.net.RoleCompleter"/>
288 <bean id="hostIdCompleter" class="org.onosproject.cli.net.HostIdCompleter"/>
289 <bean id="intentIdCompleter" class="org.onosproject.cli.net.IntentIdCompleter"/>
290 <bean id="flowRuleStatusCompleter" class="org.onosproject.cli.net.FlowRuleStatusCompleter"/>
291 <bean id="connectPointCompleter" class="org.onosproject.cli.net.ConnectPointCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700292 <bean id="nullCompleter" class="org.apache.karaf.shell.console.completer.NullCompleter"/>
Brian O'Connorabafb502014-12-02 22:26:20 -0800293 <bean id="ethTypeCompleter" class="org.onosproject.cli.net.EthTypeCompleter"/>
294 <bean id="ipProtocolCompleter" class="org.onosproject.cli.net.IpProtocolCompleter"/>
tom6d2a43e2014-09-08 01:50:20 -0700295
tom0eb04ca2014-08-25 14:34:51 -0700296</blueprint>