blob: 71ce11a78587fb6c42b833d4308ddcec807146fd [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>
tom9b4030d2014-10-06 10:39:03 -070020 <action class="org.onlab.onos.cli.SummaryCommand"/>
21 </command>
Yuta HIGUCHI6a462832014-11-23 23:56:03 -080022
23 <command>
24 <action class="org.onlab.onos.cli.MetricsListCommand"/>
25 </command>
26
tom9b4030d2014-10-06 10:39:03 -070027 <command>
Yuta HIGUCHI60731cb2014-11-11 01:34:46 -080028 <action class="org.onlab.onos.cli.TabletMemberCommand"/>
29 </command>
30 <command>
31 <action class="org.onlab.onos.cli.TabletAddCommand"/>
32 <completers>
33 <ref component-id="nodeIdCompleter"/>
34 <null/>
35 <null/>
36 </completers>
37 </command>
38 <command>
39 <action class="org.onlab.onos.cli.TabletRemoveCommand"/>
40 <completers>
41 <ref component-id="nodeIdCompleter"/>
42 <null/>
43 <null/>
44 </completers>
45 </command>
46
47 <command>
tome4729872014-09-23 00:37:37 -070048 <action class="org.onlab.onos.cli.NodesListCommand"/>
49 </command>
50 <command>
tom9710fb42014-09-29 11:35:28 -070051 <action class="org.onlab.onos.cli.NodeAddCommand"/>
52 </command>
53 <command>
54 <action class="org.onlab.onos.cli.NodeRemoveCommand"/>
55 </command>
Ayaka Koshibe45503ce2014-10-14 11:26:45 -070056
57 <command>
58 <action class="org.onlab.onos.cli.RolesCommand"/>
59 </command>
tom9710fb42014-09-29 11:35:28 -070060 <command>
tom1380eee2014-09-24 09:22:02 -070061 <action class="org.onlab.onos.cli.MastersListCommand"/>
Thomas Vachuskae0f804a2014-10-27 23:40:48 -070062 </command>
63 <command>
Thomas Vachuskae02e11c2014-11-24 16:13:52 -080064 <action class="org.onlab.onos.cli.BalanceMastersCommand"/>
65 </command>
66 <command>
Thomas Vachuskae0f804a2014-10-27 23:40:48 -070067 <action class="org.onlab.onos.cli.ApplicationIdListCommand"/>
alshabiba7f7ca82014-09-22 11:41:23 -070068 </command>
tom1380eee2014-09-24 09:22:02 -070069
alshabiba7f7ca82014-09-22 11:41:23 -070070 <command>
tom6d2a43e2014-09-08 01:50:20 -070071 <action class="org.onlab.onos.cli.net.DevicesListCommand"/>
72 </command>
73 <command>
74 <action class="org.onlab.onos.cli.net.DevicePortsListCommand"/>
tom0eb04ca2014-08-25 14:34:51 -070075 <completers>
tom6d2a43e2014-09-08 01:50:20 -070076 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -070077 <null/>
tom0eb04ca2014-08-25 14:34:51 -070078 </completers>
79 </command>
tom6d2a43e2014-09-08 01:50:20 -070080 <command>
tomc290a122014-09-08 14:27:13 -070081 <action class="org.onlab.onos.cli.net.DeviceRemoveCommand"/>
82 <completers>
83 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -070084 <null/>
tomc290a122014-09-08 14:27:13 -070085 </completers>
86 </command>
tom5f35f7c2014-09-08 18:38:19 -070087 <command>
88 <action class="org.onlab.onos.cli.net.DeviceRoleCommand"/>
89 <completers>
90 <ref component-id="deviceIdCompleter"/>
toma6235a52014-10-15 13:25:39 -070091 <ref component-id="nodeIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -070092 <ref component-id="roleCompleter"/>
93 <null/>
tom5f35f7c2014-09-08 18:38:19 -070094 </completers>
95 </command>
tomc290a122014-09-08 14:27:13 -070096
97 <command>
tom6d2a43e2014-09-08 01:50:20 -070098 <action class="org.onlab.onos.cli.net.LinksListCommand"/>
99 <completers>
100 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700101 <null/>
tom6d2a43e2014-09-08 01:50:20 -0700102 </completers>
103 </command>
tom13cb4852014-09-11 12:44:17 -0700104
105 <command>
106 <action class="org.onlab.onos.cli.net.TopologyCommand"/>
107 </command>
108 <command>
tom9eb57fb2014-09-11 19:42:38 -0700109 <action class="org.onlab.onos.cli.net.PathListCommand"/>
110 <completers>
111 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700112 <ref component-id="deviceIdCompleter"/>
113 <null/>
tom9eb57fb2014-09-11 19:42:38 -0700114 </completers>
115 </command>
tomf5c9d922014-10-03 15:22:03 -0700116
tom9eb57fb2014-09-11 19:42:38 -0700117 <command>
tom0511a522014-10-04 12:06:02 -0700118 <action class="org.onlab.onos.cli.net.IntentsListCommand"/>
119 </command>
120 <command>
tom6db1f0a2014-10-07 09:12:29 -0700121 <action class="org.onlab.onos.cli.net.IntentRemoveCommand"/>
Brian O'Connor66630c82014-10-02 21:08:19 -0700122 <completers>
tom6db1f0a2014-10-07 09:12:29 -0700123 <ref component-id="intentIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700124 <null/>
Brian O'Connor66630c82014-10-02 21:08:19 -0700125 </completers>
126 </command>
tomf5c9d922014-10-03 15:22:03 -0700127 <command>
tom6db1f0a2014-10-07 09:12:29 -0700128 <action class="org.onlab.onos.cli.net.AddHostToHostIntentCommand"/>
tom0511a522014-10-04 12:06:02 -0700129 <completers>
tom6db1f0a2014-10-07 09:12:29 -0700130 <ref component-id="hostIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700131 <ref component-id="hostIdCompleter"/>
132 <null/>
tom0511a522014-10-04 12:06:02 -0700133 </completers>
tomf5c9d922014-10-03 15:22:03 -0700134 </command>
Ray Milkeya058c732014-10-08 13:52:34 -0700135 <command>
136 <action class="org.onlab.onos.cli.net.AddPointToPointIntentCommand"/>
137 <completers>
138 <ref component-id="connectPointCompleter"/>
139 <ref component-id="connectPointCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700140 <null/>
Ray Milkeya058c732014-10-08 13:52:34 -0700141 </completers>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700142 <optional-completers>
143 <entry key="-t" value-ref="ethTypeCompleter"/>
Jonathan Hart6e948282014-11-17 22:50:42 -0800144 <entry key="--ipProto" value-ref="ipProtocolCompleter"/>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700145 </optional-completers>
Ray Milkeya058c732014-10-08 13:52:34 -0700146 </command>
Brian O'Connor1aa99eb2014-10-10 16:18:58 -0700147 <command>
Brian O'Connor5296b322014-10-23 14:59:05 -0700148 <action class="org.onlab.onos.cli.net.AddOpticalIntentCommand"/>
149 <completers>
150 <ref component-id="connectPointCompleter"/>
151 <ref component-id="connectPointCompleter"/>
152 <null/>
153 </completers>
154 </command>
155 <command>
alshabib23a8d7c2014-10-22 21:53:39 -0700156 <action class="org.onlab.onos.cli.net.GetStatistics"/>
157 <completers>
158 <ref component-id="connectPointCompleter"/>
159 </completers>
160 </command>
161 <command>
Ray Milkey0742ec92014-10-13 08:39:55 -0700162 <action class="org.onlab.onos.cli.net.AddMultiPointToSinglePointIntentCommand"/>
163 <completers>
164 <ref component-id="connectPointCompleter"/>
165 </completers>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700166 <optional-completers>
167 <entry key="-t" value-ref="ethTypeCompleter"/>
Jonathan Hart6e948282014-11-17 22:50:42 -0800168 <entry key="--ipProto" value-ref="ipProtocolCompleter"/>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700169 </optional-completers>
Ray Milkey0742ec92014-10-13 08:39:55 -0700170 </command>
171 <command>
Michele Santuari4a338072014-11-05 18:38:55 +0100172 <action class="org.onlab.onos.cli.net.AddSinglePointToMultiPointIntentCommand"/>
173 <completers>
174 <ref component-id="connectPointCompleter"/>
175 </completers>
176 <optional-completers>
177 <entry key="-t" value-ref="ethTypeCompleter"/>
178 </optional-completers>
179 </command>
180 <command>
Brian O'Connor1aa99eb2014-10-10 16:18:58 -0700181 <action class="org.onlab.onos.cli.net.IntentPushTestCommand"/>
182 <completers>
183 <ref component-id="connectPointCompleter"/>
184 <ref component-id="connectPointCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700185 <ref component-id="nullCompleter"/>
186 <null/>
Brian O'Connor1aa99eb2014-10-10 16:18:58 -0700187 </completers>
188 </command>
Brian O'Connorfe0f4b12014-10-30 21:19:02 -0700189 <command>
Brian O'Connor6741a5f2014-11-19 20:40:11 -0800190 <action class="org.onlab.onos.cli.net.RandomIntentCommand"/>
191 <completers>
192 <ref component-id="nullCompleter"/>
193 <null/>
194 </completers>
195 </command>
196 <command>
Brian O'Connorfe0f4b12014-10-30 21:19:02 -0700197 <action class="org.onlab.onos.cli.net.ResourceAllocationsCommand"/>
198 <completers>
199 <ref component-id="connectPointCompleter"/>
200 <ref component-id="connectPointCompleter"/>
201 <null/>
202 </completers>
203 </command>
204 <command>
205 <action class="org.onlab.onos.cli.net.ResourceAvailableCommand"/>
206 <completers>
207 <ref component-id="connectPointCompleter"/>
208 <ref component-id="connectPointCompleter"/>
209 <null/>
210 </completers>
211 </command>
Brian O'Connor66630c82014-10-02 21:08:19 -0700212 <command>
tom13cb4852014-09-11 12:44:17 -0700213 <action class="org.onlab.onos.cli.net.ClustersListCommand"/>
214 </command>
215 <command>
216 <action class="org.onlab.onos.cli.net.ClusterDevicesCommand"/>
217 <completers>
218 <ref component-id="clusterIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700219 <null/>
tom13cb4852014-09-11 12:44:17 -0700220 </completers>
221 </command>
222 <command>
223 <action class="org.onlab.onos.cli.net.ClusterLinksCommand"/>
224 <completers>
225 <ref component-id="clusterIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700226 <null/>
tom13cb4852014-09-11 12:44:17 -0700227 </completers>
228 </command>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700229
230 <command>
231 <action class="org.onlab.onos.cli.net.HostsListCommand"/>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700232 </command>
Jonathan Hart61d4ebc2014-10-29 11:08:26 -0700233 <command>
Thomas Vachuska33601602014-11-19 03:32:15 -0800234 <action class="org.onlab.onos.cli.net.HostRemoveCommand"/>
235 <completers>
236 <ref component-id="hostIdCompleter"/>
237 <null/>
238 </completers>
239 </command>
240 <command>
Jonathan Hart61d4ebc2014-10-29 11:08:26 -0700241 <action class="org.onlab.onos.cli.net.AddressBindingsListCommand"/>
242 </command>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700243
tom89b63c52014-09-16 09:19:51 -0700244 <command>
tom1380eee2014-09-24 09:22:02 -0700245 <action class="org.onlab.onos.cli.net.FlowsListCommand"/>
alshabib99b8fdc2014-09-25 14:30:22 -0700246 <completers>
alshabib144a2942014-09-25 18:44:02 -0700247 <ref component-id="flowRuleStatusCompleter"/>
alshabib99b8fdc2014-09-25 14:30:22 -0700248 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700249 <null/>
alshabib99b8fdc2014-09-25 14:30:22 -0700250 </completers>
tom1380eee2014-09-24 09:22:02 -0700251 </command>
252
253 <command>
alshabib5afcbd72014-10-30 16:28:40 +0100254 <action class="org.onlab.onos.cli.net.AddFlowsCommand"/>
255 </command>
256
257 <command>
tom89b63c52014-09-16 09:19:51 -0700258 <action class="org.onlab.onos.cli.net.WipeOutCommand"/>
259 </command>
tom0eb04ca2014-08-25 14:34:51 -0700260 </command-bundle>
261
tom1380eee2014-09-24 09:22:02 -0700262 <bean id="nodeIdCompleter" class="org.onlab.onos.cli.NodeIdCompleter"/>
tom6d2a43e2014-09-08 01:50:20 -0700263 <bean id="deviceIdCompleter" class="org.onlab.onos.cli.net.DeviceIdCompleter"/>
tom13cb4852014-09-11 12:44:17 -0700264 <bean id="clusterIdCompleter" class="org.onlab.onos.cli.net.ClusterIdCompleter"/>
tom5f35f7c2014-09-08 18:38:19 -0700265 <bean id="roleCompleter" class="org.onlab.onos.cli.net.RoleCompleter"/>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700266 <bean id="hostIdCompleter" class="org.onlab.onos.cli.net.HostIdCompleter"/>
tom0511a522014-10-04 12:06:02 -0700267 <bean id="intentIdCompleter" class="org.onlab.onos.cli.net.IntentIdCompleter"/>
alshabib144a2942014-09-25 18:44:02 -0700268 <bean id="flowRuleStatusCompleter" class="org.onlab.onos.cli.net.FlowRuleStatusCompleter"/>
Ray Milkeya058c732014-10-08 13:52:34 -0700269 <bean id="connectPointCompleter" class="org.onlab.onos.cli.net.ConnectPointCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700270 <bean id="nullCompleter" class="org.apache.karaf.shell.console.completer.NullCompleter"/>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700271 <bean id="ethTypeCompleter" class="org.onlab.onos.cli.net.EthTypeCompleter"/>
Jonathan Hart6e948282014-11-17 22:50:42 -0800272 <bean id="ipProtocolCompleter" class="org.onlab.onos.cli.net.IpProtocolCompleter"/>
tom6d2a43e2014-09-08 01:50:20 -0700273
tom0eb04ca2014-08-25 14:34:51 -0700274</blueprint>