blob: b725bcb6a5f151ca7e60b5d1814e35fbfd215fd8 [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>
Yuta HIGUCHIf0f2dfc2014-11-26 13:59:07 -080030
31 <command>
32 <action class="org.onlab.onos.cli.TabletLeaderCommand"/>
33 </command>
34
Yuta HIGUCHI60731cb2014-11-11 01:34:46 -080035 <command>
36 <action class="org.onlab.onos.cli.TabletAddCommand"/>
37 <completers>
38 <ref component-id="nodeIdCompleter"/>
39 <null/>
40 <null/>
41 </completers>
42 </command>
43 <command>
44 <action class="org.onlab.onos.cli.TabletRemoveCommand"/>
45 <completers>
46 <ref component-id="nodeIdCompleter"/>
47 <null/>
48 <null/>
49 </completers>
50 </command>
51
52 <command>
tome4729872014-09-23 00:37:37 -070053 <action class="org.onlab.onos.cli.NodesListCommand"/>
54 </command>
55 <command>
tom9710fb42014-09-29 11:35:28 -070056 <action class="org.onlab.onos.cli.NodeAddCommand"/>
57 </command>
58 <command>
59 <action class="org.onlab.onos.cli.NodeRemoveCommand"/>
60 </command>
Ayaka Koshibe45503ce2014-10-14 11:26:45 -070061
62 <command>
63 <action class="org.onlab.onos.cli.RolesCommand"/>
64 </command>
tom9710fb42014-09-29 11:35:28 -070065 <command>
tom1380eee2014-09-24 09:22:02 -070066 <action class="org.onlab.onos.cli.MastersListCommand"/>
Thomas Vachuskae0f804a2014-10-27 23:40:48 -070067 </command>
68 <command>
Thomas Vachuskae02e11c2014-11-24 16:13:52 -080069 <action class="org.onlab.onos.cli.BalanceMastersCommand"/>
70 </command>
71 <command>
Thomas Vachuskae0f804a2014-10-27 23:40:48 -070072 <action class="org.onlab.onos.cli.ApplicationIdListCommand"/>
alshabiba7f7ca82014-09-22 11:41:23 -070073 </command>
tom1380eee2014-09-24 09:22:02 -070074
alshabiba7f7ca82014-09-22 11:41:23 -070075 <command>
tom6d2a43e2014-09-08 01:50:20 -070076 <action class="org.onlab.onos.cli.net.DevicesListCommand"/>
77 </command>
78 <command>
79 <action class="org.onlab.onos.cli.net.DevicePortsListCommand"/>
tom0eb04ca2014-08-25 14:34:51 -070080 <completers>
tom6d2a43e2014-09-08 01:50:20 -070081 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -070082 <null/>
tom0eb04ca2014-08-25 14:34:51 -070083 </completers>
84 </command>
tom6d2a43e2014-09-08 01:50:20 -070085 <command>
tomc290a122014-09-08 14:27:13 -070086 <action class="org.onlab.onos.cli.net.DeviceRemoveCommand"/>
87 <completers>
88 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -070089 <null/>
tomc290a122014-09-08 14:27:13 -070090 </completers>
91 </command>
tom5f35f7c2014-09-08 18:38:19 -070092 <command>
93 <action class="org.onlab.onos.cli.net.DeviceRoleCommand"/>
94 <completers>
95 <ref component-id="deviceIdCompleter"/>
toma6235a52014-10-15 13:25:39 -070096 <ref component-id="nodeIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -070097 <ref component-id="roleCompleter"/>
98 <null/>
tom5f35f7c2014-09-08 18:38:19 -070099 </completers>
100 </command>
tomc290a122014-09-08 14:27:13 -0700101
102 <command>
tom6d2a43e2014-09-08 01:50:20 -0700103 <action class="org.onlab.onos.cli.net.LinksListCommand"/>
104 <completers>
105 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700106 <null/>
tom6d2a43e2014-09-08 01:50:20 -0700107 </completers>
108 </command>
tom13cb4852014-09-11 12:44:17 -0700109
110 <command>
111 <action class="org.onlab.onos.cli.net.TopologyCommand"/>
112 </command>
113 <command>
tom9eb57fb2014-09-11 19:42:38 -0700114 <action class="org.onlab.onos.cli.net.PathListCommand"/>
115 <completers>
116 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700117 <ref component-id="deviceIdCompleter"/>
118 <null/>
tom9eb57fb2014-09-11 19:42:38 -0700119 </completers>
120 </command>
tomf5c9d922014-10-03 15:22:03 -0700121
tom9eb57fb2014-09-11 19:42:38 -0700122 <command>
tom0511a522014-10-04 12:06:02 -0700123 <action class="org.onlab.onos.cli.net.IntentsListCommand"/>
124 </command>
125 <command>
tom6db1f0a2014-10-07 09:12:29 -0700126 <action class="org.onlab.onos.cli.net.IntentRemoveCommand"/>
Brian O'Connor66630c82014-10-02 21:08:19 -0700127 <completers>
tom6db1f0a2014-10-07 09:12:29 -0700128 <ref component-id="intentIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700129 <null/>
Brian O'Connor66630c82014-10-02 21:08:19 -0700130 </completers>
131 </command>
tomf5c9d922014-10-03 15:22:03 -0700132 <command>
tom6db1f0a2014-10-07 09:12:29 -0700133 <action class="org.onlab.onos.cli.net.AddHostToHostIntentCommand"/>
tom0511a522014-10-04 12:06:02 -0700134 <completers>
tom6db1f0a2014-10-07 09:12:29 -0700135 <ref component-id="hostIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700136 <ref component-id="hostIdCompleter"/>
137 <null/>
tom0511a522014-10-04 12:06:02 -0700138 </completers>
tomf5c9d922014-10-03 15:22:03 -0700139 </command>
Ray Milkeya058c732014-10-08 13:52:34 -0700140 <command>
141 <action class="org.onlab.onos.cli.net.AddPointToPointIntentCommand"/>
142 <completers>
143 <ref component-id="connectPointCompleter"/>
144 <ref component-id="connectPointCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700145 <null/>
Ray Milkeya058c732014-10-08 13:52:34 -0700146 </completers>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700147 <optional-completers>
148 <entry key="-t" value-ref="ethTypeCompleter"/>
Jonathan Hart6e948282014-11-17 22:50:42 -0800149 <entry key="--ipProto" value-ref="ipProtocolCompleter"/>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700150 </optional-completers>
Ray Milkeya058c732014-10-08 13:52:34 -0700151 </command>
Brian O'Connor1aa99eb2014-10-10 16:18:58 -0700152 <command>
Brian O'Connor5296b322014-10-23 14:59:05 -0700153 <action class="org.onlab.onos.cli.net.AddOpticalIntentCommand"/>
154 <completers>
155 <ref component-id="connectPointCompleter"/>
156 <ref component-id="connectPointCompleter"/>
157 <null/>
158 </completers>
159 </command>
160 <command>
alshabib23a8d7c2014-10-22 21:53:39 -0700161 <action class="org.onlab.onos.cli.net.GetStatistics"/>
162 <completers>
163 <ref component-id="connectPointCompleter"/>
164 </completers>
165 </command>
166 <command>
Ray Milkey0742ec92014-10-13 08:39:55 -0700167 <action class="org.onlab.onos.cli.net.AddMultiPointToSinglePointIntentCommand"/>
168 <completers>
169 <ref component-id="connectPointCompleter"/>
170 </completers>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700171 <optional-completers>
172 <entry key="-t" value-ref="ethTypeCompleter"/>
Jonathan Hart6e948282014-11-17 22:50:42 -0800173 <entry key="--ipProto" value-ref="ipProtocolCompleter"/>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700174 </optional-completers>
Ray Milkey0742ec92014-10-13 08:39:55 -0700175 </command>
176 <command>
Michele Santuari4a338072014-11-05 18:38:55 +0100177 <action class="org.onlab.onos.cli.net.AddSinglePointToMultiPointIntentCommand"/>
178 <completers>
179 <ref component-id="connectPointCompleter"/>
180 </completers>
181 <optional-completers>
182 <entry key="-t" value-ref="ethTypeCompleter"/>
183 </optional-completers>
184 </command>
185 <command>
Brian O'Connor1aa99eb2014-10-10 16:18:58 -0700186 <action class="org.onlab.onos.cli.net.IntentPushTestCommand"/>
187 <completers>
188 <ref component-id="connectPointCompleter"/>
189 <ref component-id="connectPointCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700190 <ref component-id="nullCompleter"/>
191 <null/>
Brian O'Connor1aa99eb2014-10-10 16:18:58 -0700192 </completers>
193 </command>
Brian O'Connorfe0f4b12014-10-30 21:19:02 -0700194 <command>
Brian O'Connor6741a5f2014-11-19 20:40:11 -0800195 <action class="org.onlab.onos.cli.net.RandomIntentCommand"/>
196 <completers>
197 <ref component-id="nullCompleter"/>
198 <null/>
199 </completers>
200 </command>
201 <command>
Brian O'Connorfe0f4b12014-10-30 21:19:02 -0700202 <action class="org.onlab.onos.cli.net.ResourceAllocationsCommand"/>
203 <completers>
204 <ref component-id="connectPointCompleter"/>
205 <ref component-id="connectPointCompleter"/>
206 <null/>
207 </completers>
208 </command>
209 <command>
210 <action class="org.onlab.onos.cli.net.ResourceAvailableCommand"/>
211 <completers>
212 <ref component-id="connectPointCompleter"/>
213 <ref component-id="connectPointCompleter"/>
214 <null/>
215 </completers>
216 </command>
Brian O'Connor66630c82014-10-02 21:08:19 -0700217 <command>
tom13cb4852014-09-11 12:44:17 -0700218 <action class="org.onlab.onos.cli.net.ClustersListCommand"/>
219 </command>
220 <command>
221 <action class="org.onlab.onos.cli.net.ClusterDevicesCommand"/>
222 <completers>
223 <ref component-id="clusterIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700224 <null/>
tom13cb4852014-09-11 12:44:17 -0700225 </completers>
226 </command>
227 <command>
228 <action class="org.onlab.onos.cli.net.ClusterLinksCommand"/>
229 <completers>
230 <ref component-id="clusterIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700231 <null/>
tom13cb4852014-09-11 12:44:17 -0700232 </completers>
233 </command>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700234
235 <command>
236 <action class="org.onlab.onos.cli.net.HostsListCommand"/>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700237 </command>
Jonathan Hart61d4ebc2014-10-29 11:08:26 -0700238 <command>
Thomas Vachuska33601602014-11-19 03:32:15 -0800239 <action class="org.onlab.onos.cli.net.HostRemoveCommand"/>
240 <completers>
241 <ref component-id="hostIdCompleter"/>
242 <null/>
243 </completers>
244 </command>
245 <command>
Jonathan Hart61d4ebc2014-10-29 11:08:26 -0700246 <action class="org.onlab.onos.cli.net.AddressBindingsListCommand"/>
247 </command>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700248
tom89b63c52014-09-16 09:19:51 -0700249 <command>
tom1380eee2014-09-24 09:22:02 -0700250 <action class="org.onlab.onos.cli.net.FlowsListCommand"/>
alshabib99b8fdc2014-09-25 14:30:22 -0700251 <completers>
alshabib144a2942014-09-25 18:44:02 -0700252 <ref component-id="flowRuleStatusCompleter"/>
alshabib99b8fdc2014-09-25 14:30:22 -0700253 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700254 <null/>
alshabib99b8fdc2014-09-25 14:30:22 -0700255 </completers>
tom1380eee2014-09-24 09:22:02 -0700256 </command>
257
258 <command>
alshabib5afcbd72014-10-30 16:28:40 +0100259 <action class="org.onlab.onos.cli.net.AddFlowsCommand"/>
260 </command>
261
262 <command>
tom89b63c52014-09-16 09:19:51 -0700263 <action class="org.onlab.onos.cli.net.WipeOutCommand"/>
264 </command>
tom0eb04ca2014-08-25 14:34:51 -0700265 </command-bundle>
266
tom1380eee2014-09-24 09:22:02 -0700267 <bean id="nodeIdCompleter" class="org.onlab.onos.cli.NodeIdCompleter"/>
tom6d2a43e2014-09-08 01:50:20 -0700268 <bean id="deviceIdCompleter" class="org.onlab.onos.cli.net.DeviceIdCompleter"/>
tom13cb4852014-09-11 12:44:17 -0700269 <bean id="clusterIdCompleter" class="org.onlab.onos.cli.net.ClusterIdCompleter"/>
tom5f35f7c2014-09-08 18:38:19 -0700270 <bean id="roleCompleter" class="org.onlab.onos.cli.net.RoleCompleter"/>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700271 <bean id="hostIdCompleter" class="org.onlab.onos.cli.net.HostIdCompleter"/>
tom0511a522014-10-04 12:06:02 -0700272 <bean id="intentIdCompleter" class="org.onlab.onos.cli.net.IntentIdCompleter"/>
alshabib144a2942014-09-25 18:44:02 -0700273 <bean id="flowRuleStatusCompleter" class="org.onlab.onos.cli.net.FlowRuleStatusCompleter"/>
Ray Milkeya058c732014-10-08 13:52:34 -0700274 <bean id="connectPointCompleter" class="org.onlab.onos.cli.net.ConnectPointCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700275 <bean id="nullCompleter" class="org.apache.karaf.shell.console.completer.NullCompleter"/>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700276 <bean id="ethTypeCompleter" class="org.onlab.onos.cli.net.EthTypeCompleter"/>
Jonathan Hart6e948282014-11-17 22:50:42 -0800277 <bean id="ipProtocolCompleter" class="org.onlab.onos.cli.net.IpProtocolCompleter"/>
tom6d2a43e2014-09-08 01:50:20 -0700278
tom0eb04ca2014-08-25 14:34:51 -0700279</blueprint>