blob: e435bfe0c6f8e8b1e13063254d1c343b5aa45e30 [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 HIGUCHI23ab0fa2014-12-02 10:56:42 -080035<!--
Yuta HIGUCHI60731cb2014-11-11 01:34:46 -080036 <command>
37 <action class="org.onlab.onos.cli.TabletAddCommand"/>
38 <completers>
39 <ref component-id="nodeIdCompleter"/>
40 <null/>
41 <null/>
42 </completers>
43 </command>
44 <command>
45 <action class="org.onlab.onos.cli.TabletRemoveCommand"/>
46 <completers>
47 <ref component-id="nodeIdCompleter"/>
48 <null/>
49 <null/>
50 </completers>
51 </command>
Yuta HIGUCHI23ab0fa2014-12-02 10:56:42 -080052-->
Yuta HIGUCHI60731cb2014-11-11 01:34:46 -080053
54 <command>
tome4729872014-09-23 00:37:37 -070055 <action class="org.onlab.onos.cli.NodesListCommand"/>
56 </command>
Yuta HIGUCHI23ab0fa2014-12-02 10:56:42 -080057<!--
tome4729872014-09-23 00:37:37 -070058 <command>
tom9710fb42014-09-29 11:35:28 -070059 <action class="org.onlab.onos.cli.NodeAddCommand"/>
60 </command>
61 <command>
62 <action class="org.onlab.onos.cli.NodeRemoveCommand"/>
63 </command>
Yuta HIGUCHI23ab0fa2014-12-02 10:56:42 -080064-->
Ayaka Koshibe45503ce2014-10-14 11:26:45 -070065
66 <command>
67 <action class="org.onlab.onos.cli.RolesCommand"/>
68 </command>
tom9710fb42014-09-29 11:35:28 -070069 <command>
tom1380eee2014-09-24 09:22:02 -070070 <action class="org.onlab.onos.cli.MastersListCommand"/>
Thomas Vachuskae0f804a2014-10-27 23:40:48 -070071 </command>
72 <command>
Thomas Vachuskae02e11c2014-11-24 16:13:52 -080073 <action class="org.onlab.onos.cli.BalanceMastersCommand"/>
74 </command>
75 <command>
Thomas Vachuskae0f804a2014-10-27 23:40:48 -070076 <action class="org.onlab.onos.cli.ApplicationIdListCommand"/>
alshabiba7f7ca82014-09-22 11:41:23 -070077 </command>
tom1380eee2014-09-24 09:22:02 -070078
alshabiba7f7ca82014-09-22 11:41:23 -070079 <command>
tom6d2a43e2014-09-08 01:50:20 -070080 <action class="org.onlab.onos.cli.net.DevicesListCommand"/>
81 </command>
82 <command>
83 <action class="org.onlab.onos.cli.net.DevicePortsListCommand"/>
tom0eb04ca2014-08-25 14:34:51 -070084 <completers>
tom6d2a43e2014-09-08 01:50:20 -070085 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -070086 <null/>
tom0eb04ca2014-08-25 14:34:51 -070087 </completers>
88 </command>
tom6d2a43e2014-09-08 01:50:20 -070089 <command>
tomc290a122014-09-08 14:27:13 -070090 <action class="org.onlab.onos.cli.net.DeviceRemoveCommand"/>
91 <completers>
92 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -070093 <null/>
tomc290a122014-09-08 14:27:13 -070094 </completers>
95 </command>
tom5f35f7c2014-09-08 18:38:19 -070096 <command>
97 <action class="org.onlab.onos.cli.net.DeviceRoleCommand"/>
98 <completers>
99 <ref component-id="deviceIdCompleter"/>
toma6235a52014-10-15 13:25:39 -0700100 <ref component-id="nodeIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700101 <ref component-id="roleCompleter"/>
102 <null/>
tom5f35f7c2014-09-08 18:38:19 -0700103 </completers>
104 </command>
tomc290a122014-09-08 14:27:13 -0700105
106 <command>
tom6d2a43e2014-09-08 01:50:20 -0700107 <action class="org.onlab.onos.cli.net.LinksListCommand"/>
108 <completers>
109 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700110 <null/>
tom6d2a43e2014-09-08 01:50:20 -0700111 </completers>
112 </command>
tom13cb4852014-09-11 12:44:17 -0700113
114 <command>
115 <action class="org.onlab.onos.cli.net.TopologyCommand"/>
116 </command>
117 <command>
tom9eb57fb2014-09-11 19:42:38 -0700118 <action class="org.onlab.onos.cli.net.PathListCommand"/>
119 <completers>
120 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700121 <ref component-id="deviceIdCompleter"/>
122 <null/>
tom9eb57fb2014-09-11 19:42:38 -0700123 </completers>
124 </command>
tomf5c9d922014-10-03 15:22:03 -0700125
tom9eb57fb2014-09-11 19:42:38 -0700126 <command>
tom0511a522014-10-04 12:06:02 -0700127 <action class="org.onlab.onos.cli.net.IntentsListCommand"/>
128 </command>
129 <command>
tom6db1f0a2014-10-07 09:12:29 -0700130 <action class="org.onlab.onos.cli.net.IntentRemoveCommand"/>
Brian O'Connor66630c82014-10-02 21:08:19 -0700131 <completers>
tom6db1f0a2014-10-07 09:12:29 -0700132 <ref component-id="intentIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700133 <null/>
Brian O'Connor66630c82014-10-02 21:08:19 -0700134 </completers>
135 </command>
tomf5c9d922014-10-03 15:22:03 -0700136 <command>
tom6db1f0a2014-10-07 09:12:29 -0700137 <action class="org.onlab.onos.cli.net.AddHostToHostIntentCommand"/>
tom0511a522014-10-04 12:06:02 -0700138 <completers>
tom6db1f0a2014-10-07 09:12:29 -0700139 <ref component-id="hostIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700140 <ref component-id="hostIdCompleter"/>
141 <null/>
tom0511a522014-10-04 12:06:02 -0700142 </completers>
tomf5c9d922014-10-03 15:22:03 -0700143 </command>
Ray Milkeya058c732014-10-08 13:52:34 -0700144 <command>
145 <action class="org.onlab.onos.cli.net.AddPointToPointIntentCommand"/>
146 <completers>
147 <ref component-id="connectPointCompleter"/>
148 <ref component-id="connectPointCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700149 <null/>
Ray Milkeya058c732014-10-08 13:52:34 -0700150 </completers>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700151 <optional-completers>
152 <entry key="-t" value-ref="ethTypeCompleter"/>
Jonathan Hart6e948282014-11-17 22:50:42 -0800153 <entry key="--ipProto" value-ref="ipProtocolCompleter"/>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700154 </optional-completers>
Ray Milkeya058c732014-10-08 13:52:34 -0700155 </command>
Brian O'Connor1aa99eb2014-10-10 16:18:58 -0700156 <command>
Brian O'Connor5296b322014-10-23 14:59:05 -0700157 <action class="org.onlab.onos.cli.net.AddOpticalIntentCommand"/>
158 <completers>
159 <ref component-id="connectPointCompleter"/>
160 <ref component-id="connectPointCompleter"/>
161 <null/>
162 </completers>
163 </command>
164 <command>
alshabib23a8d7c2014-10-22 21:53:39 -0700165 <action class="org.onlab.onos.cli.net.GetStatistics"/>
166 <completers>
167 <ref component-id="connectPointCompleter"/>
168 </completers>
169 </command>
170 <command>
Ray Milkey0742ec92014-10-13 08:39:55 -0700171 <action class="org.onlab.onos.cli.net.AddMultiPointToSinglePointIntentCommand"/>
172 <completers>
173 <ref component-id="connectPointCompleter"/>
174 </completers>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700175 <optional-completers>
176 <entry key="-t" value-ref="ethTypeCompleter"/>
Jonathan Hart6e948282014-11-17 22:50:42 -0800177 <entry key="--ipProto" value-ref="ipProtocolCompleter"/>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700178 </optional-completers>
Ray Milkey0742ec92014-10-13 08:39:55 -0700179 </command>
180 <command>
Michele Santuari4a338072014-11-05 18:38:55 +0100181 <action class="org.onlab.onos.cli.net.AddSinglePointToMultiPointIntentCommand"/>
182 <completers>
183 <ref component-id="connectPointCompleter"/>
184 </completers>
185 <optional-completers>
186 <entry key="-t" value-ref="ethTypeCompleter"/>
187 </optional-completers>
188 </command>
189 <command>
Brian O'Connor1aa99eb2014-10-10 16:18:58 -0700190 <action class="org.onlab.onos.cli.net.IntentPushTestCommand"/>
191 <completers>
192 <ref component-id="connectPointCompleter"/>
193 <ref component-id="connectPointCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700194 <ref component-id="nullCompleter"/>
195 <null/>
Brian O'Connor1aa99eb2014-10-10 16:18:58 -0700196 </completers>
197 </command>
Brian O'Connorfe0f4b12014-10-30 21:19:02 -0700198 <command>
Brian O'Connor6741a5f2014-11-19 20:40:11 -0800199 <action class="org.onlab.onos.cli.net.RandomIntentCommand"/>
200 <completers>
201 <ref component-id="nullCompleter"/>
202 <null/>
203 </completers>
204 </command>
205 <command>
Brian O'Connorfe0f4b12014-10-30 21:19:02 -0700206 <action class="org.onlab.onos.cli.net.ResourceAllocationsCommand"/>
207 <completers>
208 <ref component-id="connectPointCompleter"/>
209 <ref component-id="connectPointCompleter"/>
210 <null/>
211 </completers>
212 </command>
213 <command>
214 <action class="org.onlab.onos.cli.net.ResourceAvailableCommand"/>
215 <completers>
216 <ref component-id="connectPointCompleter"/>
217 <ref component-id="connectPointCompleter"/>
218 <null/>
219 </completers>
220 </command>
Brian O'Connor66630c82014-10-02 21:08:19 -0700221 <command>
tom13cb4852014-09-11 12:44:17 -0700222 <action class="org.onlab.onos.cli.net.ClustersListCommand"/>
223 </command>
224 <command>
225 <action class="org.onlab.onos.cli.net.ClusterDevicesCommand"/>
226 <completers>
227 <ref component-id="clusterIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700228 <null/>
tom13cb4852014-09-11 12:44:17 -0700229 </completers>
230 </command>
231 <command>
232 <action class="org.onlab.onos.cli.net.ClusterLinksCommand"/>
233 <completers>
234 <ref component-id="clusterIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700235 <null/>
tom13cb4852014-09-11 12:44:17 -0700236 </completers>
237 </command>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700238
239 <command>
240 <action class="org.onlab.onos.cli.net.HostsListCommand"/>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700241 </command>
Jonathan Hart61d4ebc2014-10-29 11:08:26 -0700242 <command>
Thomas Vachuska33601602014-11-19 03:32:15 -0800243 <action class="org.onlab.onos.cli.net.HostRemoveCommand"/>
244 <completers>
245 <ref component-id="hostIdCompleter"/>
246 <null/>
247 </completers>
248 </command>
249 <command>
Jonathan Hart61d4ebc2014-10-29 11:08:26 -0700250 <action class="org.onlab.onos.cli.net.AddressBindingsListCommand"/>
251 </command>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700252
tom89b63c52014-09-16 09:19:51 -0700253 <command>
tom1380eee2014-09-24 09:22:02 -0700254 <action class="org.onlab.onos.cli.net.FlowsListCommand"/>
alshabib99b8fdc2014-09-25 14:30:22 -0700255 <completers>
alshabib144a2942014-09-25 18:44:02 -0700256 <ref component-id="flowRuleStatusCompleter"/>
alshabib99b8fdc2014-09-25 14:30:22 -0700257 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700258 <null/>
alshabib99b8fdc2014-09-25 14:30:22 -0700259 </completers>
tom1380eee2014-09-24 09:22:02 -0700260 </command>
261
262 <command>
alshabib5afcbd72014-10-30 16:28:40 +0100263 <action class="org.onlab.onos.cli.net.AddFlowsCommand"/>
264 </command>
Yuta HIGUCHIc2bf3d82014-11-28 18:50:41 -0800265 <command>
266 <action class="org.onlab.onos.cli.net.LeaderCommand"/>
267 </command>
alshabib5afcbd72014-10-30 16:28:40 +0100268
269 <command>
tom89b63c52014-09-16 09:19:51 -0700270 <action class="org.onlab.onos.cli.net.WipeOutCommand"/>
271 </command>
tom0eb04ca2014-08-25 14:34:51 -0700272 </command-bundle>
273
tom1380eee2014-09-24 09:22:02 -0700274 <bean id="nodeIdCompleter" class="org.onlab.onos.cli.NodeIdCompleter"/>
tom6d2a43e2014-09-08 01:50:20 -0700275 <bean id="deviceIdCompleter" class="org.onlab.onos.cli.net.DeviceIdCompleter"/>
tom13cb4852014-09-11 12:44:17 -0700276 <bean id="clusterIdCompleter" class="org.onlab.onos.cli.net.ClusterIdCompleter"/>
tom5f35f7c2014-09-08 18:38:19 -0700277 <bean id="roleCompleter" class="org.onlab.onos.cli.net.RoleCompleter"/>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700278 <bean id="hostIdCompleter" class="org.onlab.onos.cli.net.HostIdCompleter"/>
tom0511a522014-10-04 12:06:02 -0700279 <bean id="intentIdCompleter" class="org.onlab.onos.cli.net.IntentIdCompleter"/>
alshabib144a2942014-09-25 18:44:02 -0700280 <bean id="flowRuleStatusCompleter" class="org.onlab.onos.cli.net.FlowRuleStatusCompleter"/>
Ray Milkeya058c732014-10-08 13:52:34 -0700281 <bean id="connectPointCompleter" class="org.onlab.onos.cli.net.ConnectPointCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700282 <bean id="nullCompleter" class="org.apache.karaf.shell.console.completer.NullCompleter"/>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700283 <bean id="ethTypeCompleter" class="org.onlab.onos.cli.net.EthTypeCompleter"/>
Jonathan Hart6e948282014-11-17 22:50:42 -0800284 <bean id="ipProtocolCompleter" class="org.onlab.onos.cli.net.IpProtocolCompleter"/>
tom6d2a43e2014-09-08 01:50:20 -0700285
tom0eb04ca2014-08-25 14:34:51 -0700286</blueprint>