blob: 7f55975a006a944ad13c821fc5711f20367dd69d [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>
64 <action class="org.onlab.onos.cli.ApplicationIdListCommand"/>
alshabiba7f7ca82014-09-22 11:41:23 -070065 </command>
tom1380eee2014-09-24 09:22:02 -070066
alshabiba7f7ca82014-09-22 11:41:23 -070067 <command>
tom6d2a43e2014-09-08 01:50:20 -070068 <action class="org.onlab.onos.cli.net.DevicesListCommand"/>
69 </command>
70 <command>
71 <action class="org.onlab.onos.cli.net.DevicePortsListCommand"/>
tom0eb04ca2014-08-25 14:34:51 -070072 <completers>
tom6d2a43e2014-09-08 01:50:20 -070073 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -070074 <null/>
tom0eb04ca2014-08-25 14:34:51 -070075 </completers>
76 </command>
tom6d2a43e2014-09-08 01:50:20 -070077 <command>
tomc290a122014-09-08 14:27:13 -070078 <action class="org.onlab.onos.cli.net.DeviceRemoveCommand"/>
79 <completers>
80 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -070081 <null/>
tomc290a122014-09-08 14:27:13 -070082 </completers>
83 </command>
tom5f35f7c2014-09-08 18:38:19 -070084 <command>
85 <action class="org.onlab.onos.cli.net.DeviceRoleCommand"/>
86 <completers>
87 <ref component-id="deviceIdCompleter"/>
toma6235a52014-10-15 13:25:39 -070088 <ref component-id="nodeIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -070089 <ref component-id="roleCompleter"/>
90 <null/>
tom5f35f7c2014-09-08 18:38:19 -070091 </completers>
92 </command>
tomc290a122014-09-08 14:27:13 -070093
94 <command>
tom6d2a43e2014-09-08 01:50:20 -070095 <action class="org.onlab.onos.cli.net.LinksListCommand"/>
96 <completers>
97 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -070098 <null/>
tom6d2a43e2014-09-08 01:50:20 -070099 </completers>
100 </command>
tom13cb4852014-09-11 12:44:17 -0700101
102 <command>
103 <action class="org.onlab.onos.cli.net.TopologyCommand"/>
104 </command>
105 <command>
tom9eb57fb2014-09-11 19:42:38 -0700106 <action class="org.onlab.onos.cli.net.PathListCommand"/>
107 <completers>
108 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700109 <ref component-id="deviceIdCompleter"/>
110 <null/>
tom9eb57fb2014-09-11 19:42:38 -0700111 </completers>
112 </command>
tomf5c9d922014-10-03 15:22:03 -0700113
tom9eb57fb2014-09-11 19:42:38 -0700114 <command>
tom0511a522014-10-04 12:06:02 -0700115 <action class="org.onlab.onos.cli.net.IntentsListCommand"/>
116 </command>
117 <command>
tom6db1f0a2014-10-07 09:12:29 -0700118 <action class="org.onlab.onos.cli.net.IntentRemoveCommand"/>
Brian O'Connor66630c82014-10-02 21:08:19 -0700119 <completers>
tom6db1f0a2014-10-07 09:12:29 -0700120 <ref component-id="intentIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700121 <null/>
Brian O'Connor66630c82014-10-02 21:08:19 -0700122 </completers>
123 </command>
tomf5c9d922014-10-03 15:22:03 -0700124 <command>
tom6db1f0a2014-10-07 09:12:29 -0700125 <action class="org.onlab.onos.cli.net.AddHostToHostIntentCommand"/>
tom0511a522014-10-04 12:06:02 -0700126 <completers>
tom6db1f0a2014-10-07 09:12:29 -0700127 <ref component-id="hostIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700128 <ref component-id="hostIdCompleter"/>
129 <null/>
tom0511a522014-10-04 12:06:02 -0700130 </completers>
tomf5c9d922014-10-03 15:22:03 -0700131 </command>
Ray Milkeya058c732014-10-08 13:52:34 -0700132 <command>
133 <action class="org.onlab.onos.cli.net.AddPointToPointIntentCommand"/>
134 <completers>
135 <ref component-id="connectPointCompleter"/>
136 <ref component-id="connectPointCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700137 <null/>
Ray Milkeya058c732014-10-08 13:52:34 -0700138 </completers>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700139 <optional-completers>
140 <entry key="-t" value-ref="ethTypeCompleter"/>
Jonathan Hart6e948282014-11-17 22:50:42 -0800141 <entry key="--ipProto" value-ref="ipProtocolCompleter"/>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700142 </optional-completers>
Ray Milkeya058c732014-10-08 13:52:34 -0700143 </command>
Brian O'Connor1aa99eb2014-10-10 16:18:58 -0700144 <command>
Brian O'Connor5296b322014-10-23 14:59:05 -0700145 <action class="org.onlab.onos.cli.net.AddOpticalIntentCommand"/>
146 <completers>
147 <ref component-id="connectPointCompleter"/>
148 <ref component-id="connectPointCompleter"/>
149 <null/>
150 </completers>
151 </command>
152 <command>
alshabib23a8d7c2014-10-22 21:53:39 -0700153 <action class="org.onlab.onos.cli.net.GetStatistics"/>
154 <completers>
155 <ref component-id="connectPointCompleter"/>
156 </completers>
157 </command>
158 <command>
Ray Milkey0742ec92014-10-13 08:39:55 -0700159 <action class="org.onlab.onos.cli.net.AddMultiPointToSinglePointIntentCommand"/>
160 <completers>
161 <ref component-id="connectPointCompleter"/>
162 </completers>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700163 <optional-completers>
164 <entry key="-t" value-ref="ethTypeCompleter"/>
Jonathan Hart6e948282014-11-17 22:50:42 -0800165 <entry key="--ipProto" value-ref="ipProtocolCompleter"/>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700166 </optional-completers>
Ray Milkey0742ec92014-10-13 08:39:55 -0700167 </command>
168 <command>
Michele Santuari4a338072014-11-05 18:38:55 +0100169 <action class="org.onlab.onos.cli.net.AddSinglePointToMultiPointIntentCommand"/>
170 <completers>
171 <ref component-id="connectPointCompleter"/>
172 </completers>
173 <optional-completers>
174 <entry key="-t" value-ref="ethTypeCompleter"/>
175 </optional-completers>
176 </command>
177 <command>
Brian O'Connor1aa99eb2014-10-10 16:18:58 -0700178 <action class="org.onlab.onos.cli.net.IntentPushTestCommand"/>
179 <completers>
180 <ref component-id="connectPointCompleter"/>
181 <ref component-id="connectPointCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700182 <ref component-id="nullCompleter"/>
183 <null/>
Brian O'Connor1aa99eb2014-10-10 16:18:58 -0700184 </completers>
185 </command>
Brian O'Connorfe0f4b12014-10-30 21:19:02 -0700186 <command>
Brian O'Connor6741a5f2014-11-19 20:40:11 -0800187 <action class="org.onlab.onos.cli.net.RandomIntentCommand"/>
188 <completers>
189 <ref component-id="nullCompleter"/>
190 <null/>
191 </completers>
192 </command>
193 <command>
Brian O'Connorfe0f4b12014-10-30 21:19:02 -0700194 <action class="org.onlab.onos.cli.net.ResourceAllocationsCommand"/>
195 <completers>
196 <ref component-id="connectPointCompleter"/>
197 <ref component-id="connectPointCompleter"/>
198 <null/>
199 </completers>
200 </command>
201 <command>
202 <action class="org.onlab.onos.cli.net.ResourceAvailableCommand"/>
203 <completers>
204 <ref component-id="connectPointCompleter"/>
205 <ref component-id="connectPointCompleter"/>
206 <null/>
207 </completers>
208 </command>
Brian O'Connor66630c82014-10-02 21:08:19 -0700209 <command>
tom13cb4852014-09-11 12:44:17 -0700210 <action class="org.onlab.onos.cli.net.ClustersListCommand"/>
211 </command>
212 <command>
213 <action class="org.onlab.onos.cli.net.ClusterDevicesCommand"/>
214 <completers>
215 <ref component-id="clusterIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700216 <null/>
tom13cb4852014-09-11 12:44:17 -0700217 </completers>
218 </command>
219 <command>
220 <action class="org.onlab.onos.cli.net.ClusterLinksCommand"/>
221 <completers>
222 <ref component-id="clusterIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700223 <null/>
tom13cb4852014-09-11 12:44:17 -0700224 </completers>
225 </command>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700226
227 <command>
228 <action class="org.onlab.onos.cli.net.HostsListCommand"/>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700229 </command>
Jonathan Hart61d4ebc2014-10-29 11:08:26 -0700230 <command>
Thomas Vachuska33601602014-11-19 03:32:15 -0800231 <action class="org.onlab.onos.cli.net.HostRemoveCommand"/>
232 <completers>
233 <ref component-id="hostIdCompleter"/>
234 <null/>
235 </completers>
236 </command>
237 <command>
Jonathan Hart61d4ebc2014-10-29 11:08:26 -0700238 <action class="org.onlab.onos.cli.net.AddressBindingsListCommand"/>
239 </command>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700240
tom89b63c52014-09-16 09:19:51 -0700241 <command>
tom1380eee2014-09-24 09:22:02 -0700242 <action class="org.onlab.onos.cli.net.FlowsListCommand"/>
alshabib99b8fdc2014-09-25 14:30:22 -0700243 <completers>
alshabib144a2942014-09-25 18:44:02 -0700244 <ref component-id="flowRuleStatusCompleter"/>
alshabib99b8fdc2014-09-25 14:30:22 -0700245 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700246 <null/>
alshabib99b8fdc2014-09-25 14:30:22 -0700247 </completers>
tom1380eee2014-09-24 09:22:02 -0700248 </command>
249
250 <command>
alshabib5afcbd72014-10-30 16:28:40 +0100251 <action class="org.onlab.onos.cli.net.AddFlowsCommand"/>
252 </command>
253
254 <command>
tom89b63c52014-09-16 09:19:51 -0700255 <action class="org.onlab.onos.cli.net.WipeOutCommand"/>
256 </command>
tom0eb04ca2014-08-25 14:34:51 -0700257 </command-bundle>
258
tom1380eee2014-09-24 09:22:02 -0700259 <bean id="nodeIdCompleter" class="org.onlab.onos.cli.NodeIdCompleter"/>
tom6d2a43e2014-09-08 01:50:20 -0700260 <bean id="deviceIdCompleter" class="org.onlab.onos.cli.net.DeviceIdCompleter"/>
tom13cb4852014-09-11 12:44:17 -0700261 <bean id="clusterIdCompleter" class="org.onlab.onos.cli.net.ClusterIdCompleter"/>
tom5f35f7c2014-09-08 18:38:19 -0700262 <bean id="roleCompleter" class="org.onlab.onos.cli.net.RoleCompleter"/>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700263 <bean id="hostIdCompleter" class="org.onlab.onos.cli.net.HostIdCompleter"/>
tom0511a522014-10-04 12:06:02 -0700264 <bean id="intentIdCompleter" class="org.onlab.onos.cli.net.IntentIdCompleter"/>
alshabib144a2942014-09-25 18:44:02 -0700265 <bean id="flowRuleStatusCompleter" class="org.onlab.onos.cli.net.FlowRuleStatusCompleter"/>
Ray Milkeya058c732014-10-08 13:52:34 -0700266 <bean id="connectPointCompleter" class="org.onlab.onos.cli.net.ConnectPointCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700267 <bean id="nullCompleter" class="org.apache.karaf.shell.console.completer.NullCompleter"/>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700268 <bean id="ethTypeCompleter" class="org.onlab.onos.cli.net.EthTypeCompleter"/>
Jonathan Hart6e948282014-11-17 22:50:42 -0800269 <bean id="ipProtocolCompleter" class="org.onlab.onos.cli.net.IpProtocolCompleter"/>
tom6d2a43e2014-09-08 01:50:20 -0700270
tom0eb04ca2014-08-25 14:34:51 -0700271</blueprint>