blob: 478eaa9a1def9ef6a4fb3e9eedd620e363d283b0 [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.TabletMemberCommand"/>
Yuta HIGUCHI60731cb2014-11-11 01:34:46 -080057 </command>
Yuta HIGUCHIf0f2dfc2014-11-26 13:59:07 -080058
59 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080060 <action class="org.onosproject.cli.TabletLeaderCommand"/>
Yuta HIGUCHIf0f2dfc2014-11-26 13:59:07 -080061 </command>
62
Yuta HIGUCHI23ab0fa2014-12-02 10:56:42 -080063<!--
Yuta HIGUCHI60731cb2014-11-11 01:34:46 -080064 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080065 <action class="org.onosproject.cli.TabletAddCommand"/>
Yuta HIGUCHI60731cb2014-11-11 01:34:46 -080066 <completers>
67 <ref component-id="nodeIdCompleter"/>
68 <null/>
69 <null/>
70 </completers>
71 </command>
72 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080073 <action class="org.onosproject.cli.TabletRemoveCommand"/>
Yuta HIGUCHI60731cb2014-11-11 01:34:46 -080074 <completers>
75 <ref component-id="nodeIdCompleter"/>
76 <null/>
77 <null/>
78 </completers>
79 </command>
Yuta HIGUCHI23ab0fa2014-12-02 10:56:42 -080080-->
Yuta HIGUCHI60731cb2014-11-11 01:34:46 -080081
82 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080083 <action class="org.onosproject.cli.NodesListCommand"/>
tome4729872014-09-23 00:37:37 -070084 </command>
Yuta HIGUCHI23ab0fa2014-12-02 10:56:42 -080085<!--
tome4729872014-09-23 00:37:37 -070086 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080087 <action class="org.onosproject.cli.NodeAddCommand"/>
tom9710fb42014-09-29 11:35:28 -070088 </command>
89 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080090 <action class="org.onosproject.cli.NodeRemoveCommand"/>
tom9710fb42014-09-29 11:35:28 -070091 </command>
Yuta HIGUCHI23ab0fa2014-12-02 10:56:42 -080092-->
Ayaka Koshibe45503ce2014-10-14 11:26:45 -070093
94 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080095 <action class="org.onosproject.cli.RolesCommand"/>
Ayaka Koshibe45503ce2014-10-14 11:26:45 -070096 </command>
tom9710fb42014-09-29 11:35:28 -070097 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080098 <action class="org.onosproject.cli.MastersListCommand"/>
Thomas Vachuskae0f804a2014-10-27 23:40:48 -070099 </command>
100 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800101 <action class="org.onosproject.cli.BalanceMastersCommand"/>
Thomas Vachuskae02e11c2014-11-24 16:13:52 -0800102 </command>
103 <command>
Thomas Vachuska90b453f2015-01-30 18:57:14 -0800104 <action class="org.onosproject.cli.app.ApplicationIdListCommand"/>
alshabiba7f7ca82014-09-22 11:41:23 -0700105 </command>
tom1380eee2014-09-24 09:22:02 -0700106
alshabiba7f7ca82014-09-22 11:41:23 -0700107 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800108 <action class="org.onosproject.cli.net.DevicesListCommand"/>
tom6d2a43e2014-09-08 01:50:20 -0700109 </command>
110 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800111 <action class="org.onosproject.cli.net.DevicePortsListCommand"/>
tom0eb04ca2014-08-25 14:34:51 -0700112 <completers>
tom6d2a43e2014-09-08 01:50:20 -0700113 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700114 <null/>
tom0eb04ca2014-08-25 14:34:51 -0700115 </completers>
116 </command>
tom6d2a43e2014-09-08 01:50:20 -0700117 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800118 <action class="org.onosproject.cli.net.DeviceRemoveCommand"/>
tomc290a122014-09-08 14:27:13 -0700119 <completers>
120 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700121 <null/>
tomc290a122014-09-08 14:27:13 -0700122 </completers>
123 </command>
tom5f35f7c2014-09-08 18:38:19 -0700124 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800125 <action class="org.onosproject.cli.net.DeviceRoleCommand"/>
tom5f35f7c2014-09-08 18:38:19 -0700126 <completers>
127 <ref component-id="deviceIdCompleter"/>
toma6235a52014-10-15 13:25:39 -0700128 <ref component-id="nodeIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700129 <ref component-id="roleCompleter"/>
130 <null/>
tom5f35f7c2014-09-08 18:38:19 -0700131 </completers>
132 </command>
tomc290a122014-09-08 14:27:13 -0700133
134 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800135 <action class="org.onosproject.cli.net.LinksListCommand"/>
tom6d2a43e2014-09-08 01:50:20 -0700136 <completers>
137 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700138 <null/>
tom6d2a43e2014-09-08 01:50:20 -0700139 </completers>
140 </command>
tom13cb4852014-09-11 12:44:17 -0700141
142 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800143 <action class="org.onosproject.cli.net.TopologyCommand"/>
tom13cb4852014-09-11 12:44:17 -0700144 </command>
145 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800146 <action class="org.onosproject.cli.net.PathListCommand"/>
tom9eb57fb2014-09-11 19:42:38 -0700147 <completers>
148 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700149 <ref component-id="deviceIdCompleter"/>
150 <null/>
tom9eb57fb2014-09-11 19:42:38 -0700151 </completers>
152 </command>
tomf5c9d922014-10-03 15:22:03 -0700153
tom9eb57fb2014-09-11 19:42:38 -0700154 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800155 <action class="org.onosproject.cli.net.IntentsListCommand"/>
tom0511a522014-10-04 12:06:02 -0700156 </command>
157 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800158 <action class="org.onosproject.cli.net.IntentRemoveCommand"/>
Brian O'Connor66630c82014-10-02 21:08:19 -0700159 <completers>
tom6db1f0a2014-10-07 09:12:29 -0700160 <ref component-id="intentIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700161 <null/>
Brian O'Connor66630c82014-10-02 21:08:19 -0700162 </completers>
163 </command>
tomf5c9d922014-10-03 15:22:03 -0700164 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800165 <action class="org.onosproject.cli.net.AddHostToHostIntentCommand"/>
tom0511a522014-10-04 12:06:02 -0700166 <completers>
tom6db1f0a2014-10-07 09:12:29 -0700167 <ref component-id="hostIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700168 <ref component-id="hostIdCompleter"/>
169 <null/>
tom0511a522014-10-04 12:06:02 -0700170 </completers>
tomf5c9d922014-10-03 15:22:03 -0700171 </command>
Ray Milkeya058c732014-10-08 13:52:34 -0700172 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800173 <action class="org.onosproject.cli.net.AddPointToPointIntentCommand"/>
Ray Milkeya058c732014-10-08 13:52:34 -0700174 <completers>
175 <ref component-id="connectPointCompleter"/>
176 <ref component-id="connectPointCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700177 <null/>
Ray Milkeya058c732014-10-08 13:52:34 -0700178 </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 Milkeya058c732014-10-08 13:52:34 -0700183 </command>
Brian O'Connor1aa99eb2014-10-10 16:18:58 -0700184 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800185 <action class="org.onosproject.cli.net.AddOpticalIntentCommand"/>
Brian O'Connor5296b322014-10-23 14:59:05 -0700186 <completers>
187 <ref component-id="connectPointCompleter"/>
188 <ref component-id="connectPointCompleter"/>
189 <null/>
190 </completers>
191 </command>
192 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800193 <action class="org.onosproject.cli.net.GetStatistics"/>
alshabib23a8d7c2014-10-22 21:53:39 -0700194 <completers>
195 <ref component-id="connectPointCompleter"/>
196 </completers>
197 </command>
198 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800199 <action class="org.onosproject.cli.net.AddMultiPointToSinglePointIntentCommand"/>
Ray Milkey0742ec92014-10-13 08:39:55 -0700200 <completers>
201 <ref component-id="connectPointCompleter"/>
202 </completers>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700203 <optional-completers>
204 <entry key="-t" value-ref="ethTypeCompleter"/>
Jonathan Hart6e948282014-11-17 22:50:42 -0800205 <entry key="--ipProto" value-ref="ipProtocolCompleter"/>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700206 </optional-completers>
Ray Milkey0742ec92014-10-13 08:39:55 -0700207 </command>
208 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800209 <action class="org.onosproject.cli.net.AddSinglePointToMultiPointIntentCommand"/>
Michele Santuari4a338072014-11-05 18:38:55 +0100210 <completers>
211 <ref component-id="connectPointCompleter"/>
212 </completers>
213 <optional-completers>
214 <entry key="-t" value-ref="ethTypeCompleter"/>
215 </optional-completers>
216 </command>
217 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800218 <action class="org.onosproject.cli.net.IntentPushTestCommand"/>
Brian O'Connor1aa99eb2014-10-10 16:18:58 -0700219 <completers>
220 <ref component-id="connectPointCompleter"/>
221 <ref component-id="connectPointCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700222 <ref component-id="nullCompleter"/>
223 <null/>
Brian O'Connor1aa99eb2014-10-10 16:18:58 -0700224 </completers>
225 </command>
Brian O'Connorfe0f4b12014-10-30 21:19:02 -0700226 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800227 <action class="org.onosproject.cli.net.RandomIntentCommand"/>
Brian O'Connor6741a5f2014-11-19 20:40:11 -0800228 <completers>
229 <ref component-id="nullCompleter"/>
230 <null/>
231 </completers>
232 </command>
233 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800234 <action class="org.onosproject.cli.net.ResourceAllocationsCommand"/>
Brian O'Connorfe0f4b12014-10-30 21:19:02 -0700235 <completers>
236 <ref component-id="connectPointCompleter"/>
237 <ref component-id="connectPointCompleter"/>
238 <null/>
239 </completers>
240 </command>
241 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800242 <action class="org.onosproject.cli.net.ResourceAvailableCommand"/>
Brian O'Connorfe0f4b12014-10-30 21:19:02 -0700243 <completers>
244 <ref component-id="connectPointCompleter"/>
245 <ref component-id="connectPointCompleter"/>
246 <null/>
247 </completers>
248 </command>
Brian O'Connor66630c82014-10-02 21:08:19 -0700249 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800250 <action class="org.onosproject.cli.net.ClustersListCommand"/>
tom13cb4852014-09-11 12:44:17 -0700251 </command>
252 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800253 <action class="org.onosproject.cli.net.ClusterDevicesCommand"/>
tom13cb4852014-09-11 12:44:17 -0700254 <completers>
255 <ref component-id="clusterIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700256 <null/>
tom13cb4852014-09-11 12:44:17 -0700257 </completers>
258 </command>
259 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800260 <action class="org.onosproject.cli.net.ClusterLinksCommand"/>
tom13cb4852014-09-11 12:44:17 -0700261 <completers>
262 <ref component-id="clusterIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700263 <null/>
tom13cb4852014-09-11 12:44:17 -0700264 </completers>
265 </command>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700266
267 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800268 <action class="org.onosproject.cli.net.HostsListCommand"/>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700269 </command>
Jonathan Hart61d4ebc2014-10-29 11:08:26 -0700270 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800271 <action class="org.onosproject.cli.net.HostRemoveCommand"/>
Thomas Vachuska33601602014-11-19 03:32:15 -0800272 <completers>
273 <ref component-id="hostIdCompleter"/>
274 <null/>
275 </completers>
276 </command>
277 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800278 <action class="org.onosproject.cli.net.AddressBindingsListCommand"/>
Jonathan Hart61d4ebc2014-10-29 11:08:26 -0700279 </command>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700280
tom89b63c52014-09-16 09:19:51 -0700281 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800282 <action class="org.onosproject.cli.net.FlowsListCommand"/>
alshabib99b8fdc2014-09-25 14:30:22 -0700283 <completers>
alshabib144a2942014-09-25 18:44:02 -0700284 <ref component-id="flowRuleStatusCompleter"/>
alshabib99b8fdc2014-09-25 14:30:22 -0700285 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700286 <null/>
alshabib99b8fdc2014-09-25 14:30:22 -0700287 </completers>
tom1380eee2014-09-24 09:22:02 -0700288 </command>
289
290 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800291 <action class="org.onosproject.cli.net.AddFlowsCommand"/>
alshabib5afcbd72014-10-30 16:28:40 +0100292 </command>
Yuta HIGUCHIc2bf3d82014-11-28 18:50:41 -0800293 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800294 <action class="org.onosproject.cli.net.LeaderCommand"/>
Yuta HIGUCHIc2bf3d82014-11-28 18:50:41 -0800295 </command>
alshabib5afcbd72014-10-30 16:28:40 +0100296
297 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800298 <action class="org.onosproject.cli.net.WipeOutCommand"/>
tom89b63c52014-09-16 09:19:51 -0700299 </command>
tom0eb04ca2014-08-25 14:34:51 -0700300 </command-bundle>
301
Thomas Vachuska90b453f2015-01-30 18:57:14 -0800302 <bean id="appNameCompleter" class="org.onosproject.cli.app.ApplicationNameCompleter"/>
Brian O'Connorabafb502014-12-02 22:26:20 -0800303 <bean id="nodeIdCompleter" class="org.onosproject.cli.NodeIdCompleter"/>
304 <bean id="deviceIdCompleter" class="org.onosproject.cli.net.DeviceIdCompleter"/>
305 <bean id="clusterIdCompleter" class="org.onosproject.cli.net.ClusterIdCompleter"/>
306 <bean id="roleCompleter" class="org.onosproject.cli.net.RoleCompleter"/>
307 <bean id="hostIdCompleter" class="org.onosproject.cli.net.HostIdCompleter"/>
308 <bean id="intentIdCompleter" class="org.onosproject.cli.net.IntentIdCompleter"/>
309 <bean id="flowRuleStatusCompleter" class="org.onosproject.cli.net.FlowRuleStatusCompleter"/>
310 <bean id="connectPointCompleter" class="org.onosproject.cli.net.ConnectPointCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700311 <bean id="nullCompleter" class="org.apache.karaf.shell.console.completer.NullCompleter"/>
Brian O'Connorabafb502014-12-02 22:26:20 -0800312 <bean id="ethTypeCompleter" class="org.onosproject.cli.net.EthTypeCompleter"/>
313 <bean id="ipProtocolCompleter" class="org.onosproject.cli.net.IpProtocolCompleter"/>
tom6d2a43e2014-09-08 01:50:20 -0700314
tom0eb04ca2014-08-25 14:34:51 -0700315</blueprint>