blob: 132acfde0ecbd28e6e3dff289ec4ea411a4914a3 [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>
22 <command>
Yuta HIGUCHI60731cb2014-11-11 01:34:46 -080023 <action class="org.onlab.onos.cli.TabletMemberCommand"/>
24 </command>
25 <command>
26 <action class="org.onlab.onos.cli.TabletAddCommand"/>
27 <completers>
28 <ref component-id="nodeIdCompleter"/>
29 <null/>
30 <null/>
31 </completers>
32 </command>
33 <command>
34 <action class="org.onlab.onos.cli.TabletRemoveCommand"/>
35 <completers>
36 <ref component-id="nodeIdCompleter"/>
37 <null/>
38 <null/>
39 </completers>
40 </command>
41
42 <command>
tome4729872014-09-23 00:37:37 -070043 <action class="org.onlab.onos.cli.NodesListCommand"/>
44 </command>
45 <command>
tom9710fb42014-09-29 11:35:28 -070046 <action class="org.onlab.onos.cli.NodeAddCommand"/>
47 </command>
48 <command>
49 <action class="org.onlab.onos.cli.NodeRemoveCommand"/>
50 </command>
Ayaka Koshibe45503ce2014-10-14 11:26:45 -070051
52 <command>
53 <action class="org.onlab.onos.cli.RolesCommand"/>
54 </command>
tom9710fb42014-09-29 11:35:28 -070055 <command>
tom1380eee2014-09-24 09:22:02 -070056 <action class="org.onlab.onos.cli.MastersListCommand"/>
Thomas Vachuskae0f804a2014-10-27 23:40:48 -070057 </command>
58 <command>
59 <action class="org.onlab.onos.cli.ApplicationIdListCommand"/>
alshabiba7f7ca82014-09-22 11:41:23 -070060 </command>
tom1380eee2014-09-24 09:22:02 -070061
alshabiba7f7ca82014-09-22 11:41:23 -070062 <command>
tom6d2a43e2014-09-08 01:50:20 -070063 <action class="org.onlab.onos.cli.net.DevicesListCommand"/>
64 </command>
65 <command>
66 <action class="org.onlab.onos.cli.net.DevicePortsListCommand"/>
tom0eb04ca2014-08-25 14:34:51 -070067 <completers>
tom6d2a43e2014-09-08 01:50:20 -070068 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -070069 <null/>
tom0eb04ca2014-08-25 14:34:51 -070070 </completers>
71 </command>
tom6d2a43e2014-09-08 01:50:20 -070072 <command>
tomc290a122014-09-08 14:27:13 -070073 <action class="org.onlab.onos.cli.net.DeviceRemoveCommand"/>
74 <completers>
75 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -070076 <null/>
tomc290a122014-09-08 14:27:13 -070077 </completers>
78 </command>
tom5f35f7c2014-09-08 18:38:19 -070079 <command>
80 <action class="org.onlab.onos.cli.net.DeviceRoleCommand"/>
81 <completers>
82 <ref component-id="deviceIdCompleter"/>
toma6235a52014-10-15 13:25:39 -070083 <ref component-id="nodeIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -070084 <ref component-id="roleCompleter"/>
85 <null/>
tom5f35f7c2014-09-08 18:38:19 -070086 </completers>
87 </command>
tomc290a122014-09-08 14:27:13 -070088
89 <command>
tom6d2a43e2014-09-08 01:50:20 -070090 <action class="org.onlab.onos.cli.net.LinksListCommand"/>
91 <completers>
92 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -070093 <null/>
tom6d2a43e2014-09-08 01:50:20 -070094 </completers>
95 </command>
tom13cb4852014-09-11 12:44:17 -070096
97 <command>
98 <action class="org.onlab.onos.cli.net.TopologyCommand"/>
99 </command>
100 <command>
tom9eb57fb2014-09-11 19:42:38 -0700101 <action class="org.onlab.onos.cli.net.PathListCommand"/>
102 <completers>
103 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700104 <ref component-id="deviceIdCompleter"/>
105 <null/>
tom9eb57fb2014-09-11 19:42:38 -0700106 </completers>
107 </command>
tomf5c9d922014-10-03 15:22:03 -0700108
tom9eb57fb2014-09-11 19:42:38 -0700109 <command>
tom0511a522014-10-04 12:06:02 -0700110 <action class="org.onlab.onos.cli.net.IntentsListCommand"/>
111 </command>
112 <command>
tom6db1f0a2014-10-07 09:12:29 -0700113 <action class="org.onlab.onos.cli.net.IntentRemoveCommand"/>
Brian O'Connor66630c82014-10-02 21:08:19 -0700114 <completers>
tom6db1f0a2014-10-07 09:12:29 -0700115 <ref component-id="intentIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700116 <null/>
Brian O'Connor66630c82014-10-02 21:08:19 -0700117 </completers>
118 </command>
tomf5c9d922014-10-03 15:22:03 -0700119 <command>
tom6db1f0a2014-10-07 09:12:29 -0700120 <action class="org.onlab.onos.cli.net.AddHostToHostIntentCommand"/>
tom0511a522014-10-04 12:06:02 -0700121 <completers>
tom6db1f0a2014-10-07 09:12:29 -0700122 <ref component-id="hostIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700123 <ref component-id="hostIdCompleter"/>
124 <null/>
tom0511a522014-10-04 12:06:02 -0700125 </completers>
tomf5c9d922014-10-03 15:22:03 -0700126 </command>
Ray Milkeya058c732014-10-08 13:52:34 -0700127 <command>
128 <action class="org.onlab.onos.cli.net.AddPointToPointIntentCommand"/>
129 <completers>
130 <ref component-id="connectPointCompleter"/>
131 <ref component-id="connectPointCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700132 <null/>
Ray Milkeya058c732014-10-08 13:52:34 -0700133 </completers>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700134 <optional-completers>
135 <entry key="-t" value-ref="ethTypeCompleter"/>
Jonathan Hart6e948282014-11-17 22:50:42 -0800136 <entry key="--ipProto" value-ref="ipProtocolCompleter"/>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700137 </optional-completers>
Ray Milkeya058c732014-10-08 13:52:34 -0700138 </command>
Brian O'Connor1aa99eb2014-10-10 16:18:58 -0700139 <command>
Brian O'Connor5296b322014-10-23 14:59:05 -0700140 <action class="org.onlab.onos.cli.net.AddOpticalIntentCommand"/>
141 <completers>
142 <ref component-id="connectPointCompleter"/>
143 <ref component-id="connectPointCompleter"/>
144 <null/>
145 </completers>
146 </command>
147 <command>
alshabib23a8d7c2014-10-22 21:53:39 -0700148 <action class="org.onlab.onos.cli.net.GetStatistics"/>
149 <completers>
150 <ref component-id="connectPointCompleter"/>
151 </completers>
152 </command>
153 <command>
Ray Milkey0742ec92014-10-13 08:39:55 -0700154 <action class="org.onlab.onos.cli.net.AddMultiPointToSinglePointIntentCommand"/>
155 <completers>
156 <ref component-id="connectPointCompleter"/>
157 </completers>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700158 <optional-completers>
159 <entry key="-t" value-ref="ethTypeCompleter"/>
Jonathan Hart6e948282014-11-17 22:50:42 -0800160 <entry key="--ipProto" value-ref="ipProtocolCompleter"/>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700161 </optional-completers>
Ray Milkey0742ec92014-10-13 08:39:55 -0700162 </command>
163 <command>
Brian O'Connor1aa99eb2014-10-10 16:18:58 -0700164 <action class="org.onlab.onos.cli.net.IntentPushTestCommand"/>
165 <completers>
166 <ref component-id="connectPointCompleter"/>
167 <ref component-id="connectPointCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700168 <ref component-id="nullCompleter"/>
169 <null/>
Brian O'Connor1aa99eb2014-10-10 16:18:58 -0700170 </completers>
171 </command>
Brian O'Connorfe0f4b12014-10-30 21:19:02 -0700172 <command>
Brian O'Connor6741a5f2014-11-19 20:40:11 -0800173 <action class="org.onlab.onos.cli.net.RandomIntentCommand"/>
174 <completers>
175 <ref component-id="nullCompleter"/>
176 <null/>
177 </completers>
178 </command>
179 <command>
Brian O'Connorfe0f4b12014-10-30 21:19:02 -0700180 <action class="org.onlab.onos.cli.net.ResourceAllocationsCommand"/>
181 <completers>
182 <ref component-id="connectPointCompleter"/>
183 <ref component-id="connectPointCompleter"/>
184 <null/>
185 </completers>
186 </command>
187 <command>
188 <action class="org.onlab.onos.cli.net.ResourceAvailableCommand"/>
189 <completers>
190 <ref component-id="connectPointCompleter"/>
191 <ref component-id="connectPointCompleter"/>
192 <null/>
193 </completers>
194 </command>
Brian O'Connor66630c82014-10-02 21:08:19 -0700195 <command>
tom13cb4852014-09-11 12:44:17 -0700196 <action class="org.onlab.onos.cli.net.ClustersListCommand"/>
197 </command>
198 <command>
199 <action class="org.onlab.onos.cli.net.ClusterDevicesCommand"/>
200 <completers>
201 <ref component-id="clusterIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700202 <null/>
tom13cb4852014-09-11 12:44:17 -0700203 </completers>
204 </command>
205 <command>
206 <action class="org.onlab.onos.cli.net.ClusterLinksCommand"/>
207 <completers>
208 <ref component-id="clusterIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700209 <null/>
tom13cb4852014-09-11 12:44:17 -0700210 </completers>
211 </command>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700212
213 <command>
214 <action class="org.onlab.onos.cli.net.HostsListCommand"/>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700215 </command>
Jonathan Hart61d4ebc2014-10-29 11:08:26 -0700216 <command>
Thomas Vachuska33601602014-11-19 03:32:15 -0800217 <action class="org.onlab.onos.cli.net.HostRemoveCommand"/>
218 <completers>
219 <ref component-id="hostIdCompleter"/>
220 <null/>
221 </completers>
222 </command>
223 <command>
Jonathan Hart61d4ebc2014-10-29 11:08:26 -0700224 <action class="org.onlab.onos.cli.net.AddressBindingsListCommand"/>
225 </command>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700226
tom89b63c52014-09-16 09:19:51 -0700227 <command>
tom1380eee2014-09-24 09:22:02 -0700228 <action class="org.onlab.onos.cli.net.FlowsListCommand"/>
alshabib99b8fdc2014-09-25 14:30:22 -0700229 <completers>
alshabib144a2942014-09-25 18:44:02 -0700230 <ref component-id="flowRuleStatusCompleter"/>
alshabib99b8fdc2014-09-25 14:30:22 -0700231 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700232 <null/>
alshabib99b8fdc2014-09-25 14:30:22 -0700233 </completers>
tom1380eee2014-09-24 09:22:02 -0700234 </command>
235
236 <command>
alshabib5afcbd72014-10-30 16:28:40 +0100237 <action class="org.onlab.onos.cli.net.AddFlowsCommand"/>
238 </command>
239
240 <command>
tom89b63c52014-09-16 09:19:51 -0700241 <action class="org.onlab.onos.cli.net.WipeOutCommand"/>
242 </command>
tom0eb04ca2014-08-25 14:34:51 -0700243 </command-bundle>
244
tom1380eee2014-09-24 09:22:02 -0700245 <bean id="nodeIdCompleter" class="org.onlab.onos.cli.NodeIdCompleter"/>
tom6d2a43e2014-09-08 01:50:20 -0700246 <bean id="deviceIdCompleter" class="org.onlab.onos.cli.net.DeviceIdCompleter"/>
tom13cb4852014-09-11 12:44:17 -0700247 <bean id="clusterIdCompleter" class="org.onlab.onos.cli.net.ClusterIdCompleter"/>
tom5f35f7c2014-09-08 18:38:19 -0700248 <bean id="roleCompleter" class="org.onlab.onos.cli.net.RoleCompleter"/>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700249 <bean id="hostIdCompleter" class="org.onlab.onos.cli.net.HostIdCompleter"/>
tom0511a522014-10-04 12:06:02 -0700250 <bean id="intentIdCompleter" class="org.onlab.onos.cli.net.IntentIdCompleter"/>
alshabib144a2942014-09-25 18:44:02 -0700251 <bean id="flowRuleStatusCompleter" class="org.onlab.onos.cli.net.FlowRuleStatusCompleter"/>
Ray Milkeya058c732014-10-08 13:52:34 -0700252 <bean id="connectPointCompleter" class="org.onlab.onos.cli.net.ConnectPointCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700253 <bean id="nullCompleter" class="org.apache.karaf.shell.console.completer.NullCompleter"/>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700254 <bean id="ethTypeCompleter" class="org.onlab.onos.cli.net.EthTypeCompleter"/>
Jonathan Hart6e948282014-11-17 22:50:42 -0800255 <bean id="ipProtocolCompleter" class="org.onlab.onos.cli.net.IpProtocolCompleter"/>
tom6d2a43e2014-09-08 01:50:20 -0700256
tom0eb04ca2014-08-25 14:34:51 -0700257</blueprint>