blob: e4ecc9d7aa9bf0ba7d90daf355cc788769fdc014 [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"/>
136 </optional-completers>
Ray Milkeya058c732014-10-08 13:52:34 -0700137 </command>
Brian O'Connor1aa99eb2014-10-10 16:18:58 -0700138 <command>
Brian O'Connor5296b322014-10-23 14:59:05 -0700139 <action class="org.onlab.onos.cli.net.AddOpticalIntentCommand"/>
140 <completers>
141 <ref component-id="connectPointCompleter"/>
142 <ref component-id="connectPointCompleter"/>
143 <null/>
144 </completers>
145 </command>
146 <command>
alshabib23a8d7c2014-10-22 21:53:39 -0700147 <action class="org.onlab.onos.cli.net.GetStatistics"/>
148 <completers>
149 <ref component-id="connectPointCompleter"/>
150 </completers>
151 </command>
152 <command>
Ray Milkey0742ec92014-10-13 08:39:55 -0700153 <action class="org.onlab.onos.cli.net.AddMultiPointToSinglePointIntentCommand"/>
154 <completers>
155 <ref component-id="connectPointCompleter"/>
156 </completers>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700157 <optional-completers>
158 <entry key="-t" value-ref="ethTypeCompleter"/>
159 </optional-completers>
Ray Milkey0742ec92014-10-13 08:39:55 -0700160 </command>
161 <command>
Brian O'Connor1aa99eb2014-10-10 16:18:58 -0700162 <action class="org.onlab.onos.cli.net.IntentPushTestCommand"/>
163 <completers>
164 <ref component-id="connectPointCompleter"/>
165 <ref component-id="connectPointCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700166 <ref component-id="nullCompleter"/>
167 <null/>
Brian O'Connor1aa99eb2014-10-10 16:18:58 -0700168 </completers>
169 </command>
Brian O'Connorfe0f4b12014-10-30 21:19:02 -0700170 <command>
171 <action class="org.onlab.onos.cli.net.ResourceAllocationsCommand"/>
172 <completers>
173 <ref component-id="connectPointCompleter"/>
174 <ref component-id="connectPointCompleter"/>
175 <null/>
176 </completers>
177 </command>
178 <command>
179 <action class="org.onlab.onos.cli.net.ResourceAvailableCommand"/>
180 <completers>
181 <ref component-id="connectPointCompleter"/>
182 <ref component-id="connectPointCompleter"/>
183 <null/>
184 </completers>
185 </command>
Brian O'Connor66630c82014-10-02 21:08:19 -0700186 <command>
tom13cb4852014-09-11 12:44:17 -0700187 <action class="org.onlab.onos.cli.net.ClustersListCommand"/>
188 </command>
189 <command>
190 <action class="org.onlab.onos.cli.net.ClusterDevicesCommand"/>
191 <completers>
192 <ref component-id="clusterIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700193 <null/>
tom13cb4852014-09-11 12:44:17 -0700194 </completers>
195 </command>
196 <command>
197 <action class="org.onlab.onos.cli.net.ClusterLinksCommand"/>
198 <completers>
199 <ref component-id="clusterIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700200 <null/>
tom13cb4852014-09-11 12:44:17 -0700201 </completers>
202 </command>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700203
204 <command>
205 <action class="org.onlab.onos.cli.net.HostsListCommand"/>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700206 </command>
Jonathan Hart61d4ebc2014-10-29 11:08:26 -0700207 <command>
208 <action class="org.onlab.onos.cli.net.AddressBindingsListCommand"/>
209 </command>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700210
tom89b63c52014-09-16 09:19:51 -0700211 <command>
tom1380eee2014-09-24 09:22:02 -0700212 <action class="org.onlab.onos.cli.net.FlowsListCommand"/>
alshabib99b8fdc2014-09-25 14:30:22 -0700213 <completers>
alshabib144a2942014-09-25 18:44:02 -0700214 <ref component-id="flowRuleStatusCompleter"/>
alshabib99b8fdc2014-09-25 14:30:22 -0700215 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700216 <null/>
alshabib99b8fdc2014-09-25 14:30:22 -0700217 </completers>
tom1380eee2014-09-24 09:22:02 -0700218 </command>
219
220 <command>
alshabib5afcbd72014-10-30 16:28:40 +0100221 <action class="org.onlab.onos.cli.net.AddFlowsCommand"/>
222 </command>
223
224 <command>
tom89b63c52014-09-16 09:19:51 -0700225 <action class="org.onlab.onos.cli.net.WipeOutCommand"/>
226 </command>
tom0eb04ca2014-08-25 14:34:51 -0700227 </command-bundle>
228
tom1380eee2014-09-24 09:22:02 -0700229 <bean id="nodeIdCompleter" class="org.onlab.onos.cli.NodeIdCompleter"/>
tom6d2a43e2014-09-08 01:50:20 -0700230 <bean id="deviceIdCompleter" class="org.onlab.onos.cli.net.DeviceIdCompleter"/>
tom13cb4852014-09-11 12:44:17 -0700231 <bean id="clusterIdCompleter" class="org.onlab.onos.cli.net.ClusterIdCompleter"/>
tom5f35f7c2014-09-08 18:38:19 -0700232 <bean id="roleCompleter" class="org.onlab.onos.cli.net.RoleCompleter"/>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700233 <bean id="hostIdCompleter" class="org.onlab.onos.cli.net.HostIdCompleter"/>
tom0511a522014-10-04 12:06:02 -0700234 <bean id="intentIdCompleter" class="org.onlab.onos.cli.net.IntentIdCompleter"/>
alshabib144a2942014-09-25 18:44:02 -0700235 <bean id="flowRuleStatusCompleter" class="org.onlab.onos.cli.net.FlowRuleStatusCompleter"/>
Ray Milkeya058c732014-10-08 13:52:34 -0700236 <bean id="connectPointCompleter" class="org.onlab.onos.cli.net.ConnectPointCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700237 <bean id="nullCompleter" class="org.apache.karaf.shell.console.completer.NullCompleter"/>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700238 <bean id="ethTypeCompleter" class="org.onlab.onos.cli.net.EthTypeCompleter"/>
tom6d2a43e2014-09-08 01:50:20 -0700239
tom0eb04ca2014-08-25 14:34:51 -0700240</blueprint>