blob: 073d237b8f0bdd9a3bf69d9ea915d590ecc87dbd [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>
173 <action class="org.onlab.onos.cli.net.ResourceAllocationsCommand"/>
174 <completers>
175 <ref component-id="connectPointCompleter"/>
176 <ref component-id="connectPointCompleter"/>
177 <null/>
178 </completers>
179 </command>
180 <command>
181 <action class="org.onlab.onos.cli.net.ResourceAvailableCommand"/>
182 <completers>
183 <ref component-id="connectPointCompleter"/>
184 <ref component-id="connectPointCompleter"/>
185 <null/>
186 </completers>
187 </command>
Brian O'Connor66630c82014-10-02 21:08:19 -0700188 <command>
tom13cb4852014-09-11 12:44:17 -0700189 <action class="org.onlab.onos.cli.net.ClustersListCommand"/>
190 </command>
191 <command>
192 <action class="org.onlab.onos.cli.net.ClusterDevicesCommand"/>
193 <completers>
194 <ref component-id="clusterIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700195 <null/>
tom13cb4852014-09-11 12:44:17 -0700196 </completers>
197 </command>
198 <command>
199 <action class="org.onlab.onos.cli.net.ClusterLinksCommand"/>
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>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700205
206 <command>
207 <action class="org.onlab.onos.cli.net.HostsListCommand"/>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700208 </command>
Jonathan Hart61d4ebc2014-10-29 11:08:26 -0700209 <command>
210 <action class="org.onlab.onos.cli.net.AddressBindingsListCommand"/>
211 </command>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700212
tom89b63c52014-09-16 09:19:51 -0700213 <command>
tom1380eee2014-09-24 09:22:02 -0700214 <action class="org.onlab.onos.cli.net.FlowsListCommand"/>
alshabib99b8fdc2014-09-25 14:30:22 -0700215 <completers>
alshabib144a2942014-09-25 18:44:02 -0700216 <ref component-id="flowRuleStatusCompleter"/>
alshabib99b8fdc2014-09-25 14:30:22 -0700217 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700218 <null/>
alshabib99b8fdc2014-09-25 14:30:22 -0700219 </completers>
tom1380eee2014-09-24 09:22:02 -0700220 </command>
221
222 <command>
alshabib5afcbd72014-10-30 16:28:40 +0100223 <action class="org.onlab.onos.cli.net.AddFlowsCommand"/>
224 </command>
225
226 <command>
tom89b63c52014-09-16 09:19:51 -0700227 <action class="org.onlab.onos.cli.net.WipeOutCommand"/>
228 </command>
tom0eb04ca2014-08-25 14:34:51 -0700229 </command-bundle>
230
tom1380eee2014-09-24 09:22:02 -0700231 <bean id="nodeIdCompleter" class="org.onlab.onos.cli.NodeIdCompleter"/>
tom6d2a43e2014-09-08 01:50:20 -0700232 <bean id="deviceIdCompleter" class="org.onlab.onos.cli.net.DeviceIdCompleter"/>
tom13cb4852014-09-11 12:44:17 -0700233 <bean id="clusterIdCompleter" class="org.onlab.onos.cli.net.ClusterIdCompleter"/>
tom5f35f7c2014-09-08 18:38:19 -0700234 <bean id="roleCompleter" class="org.onlab.onos.cli.net.RoleCompleter"/>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700235 <bean id="hostIdCompleter" class="org.onlab.onos.cli.net.HostIdCompleter"/>
tom0511a522014-10-04 12:06:02 -0700236 <bean id="intentIdCompleter" class="org.onlab.onos.cli.net.IntentIdCompleter"/>
alshabib144a2942014-09-25 18:44:02 -0700237 <bean id="flowRuleStatusCompleter" class="org.onlab.onos.cli.net.FlowRuleStatusCompleter"/>
Ray Milkeya058c732014-10-08 13:52:34 -0700238 <bean id="connectPointCompleter" class="org.onlab.onos.cli.net.ConnectPointCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700239 <bean id="nullCompleter" class="org.apache.karaf.shell.console.completer.NullCompleter"/>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700240 <bean id="ethTypeCompleter" class="org.onlab.onos.cli.net.EthTypeCompleter"/>
Jonathan Hart6e948282014-11-17 22:50:42 -0800241 <bean id="ipProtocolCompleter" class="org.onlab.onos.cli.net.IpProtocolCompleter"/>
tom6d2a43e2014-09-08 01:50:20 -0700242
tom0eb04ca2014-08-25 14:34:51 -0700243</blueprint>