blob: 5e4e98c9b477ad9365b94c4226004b91cdb46ea1 [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>
Brian O'Connorabafb502014-12-02 22:26:20 -080020 <action class="org.onosproject.cli.SummaryCommand"/>
tom9b4030d2014-10-06 10:39:03 -070021 </command>
Yuta HIGUCHI6a462832014-11-23 23:56:03 -080022
23 <command>
Thomas Vachuska02aeb032015-01-06 22:36:30 -080024 <action class="org.onosproject.cli.ApplicationInstallCommand"/>
25 </command>
26
27 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080028 <action class="org.onosproject.cli.MetricsListCommand"/>
Yuta HIGUCHI6a462832014-11-23 23:56:03 -080029 </command>
30
tom9b4030d2014-10-06 10:39:03 -070031 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080032 <action class="org.onosproject.cli.TabletMemberCommand"/>
Yuta HIGUCHI60731cb2014-11-11 01:34:46 -080033 </command>
Yuta HIGUCHIf0f2dfc2014-11-26 13:59:07 -080034
35 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080036 <action class="org.onosproject.cli.TabletLeaderCommand"/>
Yuta HIGUCHIf0f2dfc2014-11-26 13:59:07 -080037 </command>
38
Yuta HIGUCHI23ab0fa2014-12-02 10:56:42 -080039<!--
Yuta HIGUCHI60731cb2014-11-11 01:34:46 -080040 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080041 <action class="org.onosproject.cli.TabletAddCommand"/>
Yuta HIGUCHI60731cb2014-11-11 01:34:46 -080042 <completers>
43 <ref component-id="nodeIdCompleter"/>
44 <null/>
45 <null/>
46 </completers>
47 </command>
48 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080049 <action class="org.onosproject.cli.TabletRemoveCommand"/>
Yuta HIGUCHI60731cb2014-11-11 01:34:46 -080050 <completers>
51 <ref component-id="nodeIdCompleter"/>
52 <null/>
53 <null/>
54 </completers>
55 </command>
Yuta HIGUCHI23ab0fa2014-12-02 10:56:42 -080056-->
Yuta HIGUCHI60731cb2014-11-11 01:34:46 -080057
58 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080059 <action class="org.onosproject.cli.NodesListCommand"/>
tome4729872014-09-23 00:37:37 -070060 </command>
Yuta HIGUCHI23ab0fa2014-12-02 10:56:42 -080061<!--
tome4729872014-09-23 00:37:37 -070062 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080063 <action class="org.onosproject.cli.NodeAddCommand"/>
tom9710fb42014-09-29 11:35:28 -070064 </command>
65 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080066 <action class="org.onosproject.cli.NodeRemoveCommand"/>
tom9710fb42014-09-29 11:35:28 -070067 </command>
Yuta HIGUCHI23ab0fa2014-12-02 10:56:42 -080068-->
Ayaka Koshibe45503ce2014-10-14 11:26:45 -070069
70 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080071 <action class="org.onosproject.cli.RolesCommand"/>
Ayaka Koshibe45503ce2014-10-14 11:26:45 -070072 </command>
tom9710fb42014-09-29 11:35:28 -070073 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080074 <action class="org.onosproject.cli.MastersListCommand"/>
Thomas Vachuskae0f804a2014-10-27 23:40:48 -070075 </command>
76 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080077 <action class="org.onosproject.cli.BalanceMastersCommand"/>
Thomas Vachuskae02e11c2014-11-24 16:13:52 -080078 </command>
79 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080080 <action class="org.onosproject.cli.ApplicationIdListCommand"/>
alshabiba7f7ca82014-09-22 11:41:23 -070081 </command>
tom1380eee2014-09-24 09:22:02 -070082
alshabiba7f7ca82014-09-22 11:41:23 -070083 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080084 <action class="org.onosproject.cli.net.DevicesListCommand"/>
tom6d2a43e2014-09-08 01:50:20 -070085 </command>
86 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080087 <action class="org.onosproject.cli.net.DevicePortsListCommand"/>
tom0eb04ca2014-08-25 14:34:51 -070088 <completers>
tom6d2a43e2014-09-08 01:50:20 -070089 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -070090 <null/>
tom0eb04ca2014-08-25 14:34:51 -070091 </completers>
92 </command>
tom6d2a43e2014-09-08 01:50:20 -070093 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -080094 <action class="org.onosproject.cli.net.DeviceRemoveCommand"/>
tomc290a122014-09-08 14:27:13 -070095 <completers>
96 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -070097 <null/>
tomc290a122014-09-08 14:27:13 -070098 </completers>
99 </command>
tom5f35f7c2014-09-08 18:38:19 -0700100 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800101 <action class="org.onosproject.cli.net.DeviceRoleCommand"/>
tom5f35f7c2014-09-08 18:38:19 -0700102 <completers>
103 <ref component-id="deviceIdCompleter"/>
toma6235a52014-10-15 13:25:39 -0700104 <ref component-id="nodeIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700105 <ref component-id="roleCompleter"/>
106 <null/>
tom5f35f7c2014-09-08 18:38:19 -0700107 </completers>
108 </command>
tomc290a122014-09-08 14:27:13 -0700109
110 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800111 <action class="org.onosproject.cli.net.LinksListCommand"/>
tom6d2a43e2014-09-08 01:50:20 -0700112 <completers>
113 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700114 <null/>
tom6d2a43e2014-09-08 01:50:20 -0700115 </completers>
116 </command>
tom13cb4852014-09-11 12:44:17 -0700117
118 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800119 <action class="org.onosproject.cli.net.TopologyCommand"/>
tom13cb4852014-09-11 12:44:17 -0700120 </command>
121 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800122 <action class="org.onosproject.cli.net.PathListCommand"/>
tom9eb57fb2014-09-11 19:42:38 -0700123 <completers>
124 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700125 <ref component-id="deviceIdCompleter"/>
126 <null/>
tom9eb57fb2014-09-11 19:42:38 -0700127 </completers>
128 </command>
tomf5c9d922014-10-03 15:22:03 -0700129
tom9eb57fb2014-09-11 19:42:38 -0700130 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800131 <action class="org.onosproject.cli.net.IntentsListCommand"/>
tom0511a522014-10-04 12:06:02 -0700132 </command>
133 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800134 <action class="org.onosproject.cli.net.IntentRemoveCommand"/>
Brian O'Connor66630c82014-10-02 21:08:19 -0700135 <completers>
tom6db1f0a2014-10-07 09:12:29 -0700136 <ref component-id="intentIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700137 <null/>
Brian O'Connor66630c82014-10-02 21:08:19 -0700138 </completers>
139 </command>
tomf5c9d922014-10-03 15:22:03 -0700140 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800141 <action class="org.onosproject.cli.net.AddHostToHostIntentCommand"/>
tom0511a522014-10-04 12:06:02 -0700142 <completers>
tom6db1f0a2014-10-07 09:12:29 -0700143 <ref component-id="hostIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700144 <ref component-id="hostIdCompleter"/>
145 <null/>
tom0511a522014-10-04 12:06:02 -0700146 </completers>
tomf5c9d922014-10-03 15:22:03 -0700147 </command>
Ray Milkeya058c732014-10-08 13:52:34 -0700148 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800149 <action class="org.onosproject.cli.net.AddPointToPointIntentCommand"/>
Ray Milkeya058c732014-10-08 13:52:34 -0700150 <completers>
151 <ref component-id="connectPointCompleter"/>
152 <ref component-id="connectPointCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700153 <null/>
Ray Milkeya058c732014-10-08 13:52:34 -0700154 </completers>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700155 <optional-completers>
156 <entry key="-t" value-ref="ethTypeCompleter"/>
Jonathan Hart6e948282014-11-17 22:50:42 -0800157 <entry key="--ipProto" value-ref="ipProtocolCompleter"/>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700158 </optional-completers>
Ray Milkeya058c732014-10-08 13:52:34 -0700159 </command>
Brian O'Connor1aa99eb2014-10-10 16:18:58 -0700160 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800161 <action class="org.onosproject.cli.net.AddOpticalIntentCommand"/>
Brian O'Connor5296b322014-10-23 14:59:05 -0700162 <completers>
163 <ref component-id="connectPointCompleter"/>
164 <ref component-id="connectPointCompleter"/>
165 <null/>
166 </completers>
167 </command>
168 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800169 <action class="org.onosproject.cli.net.GetStatistics"/>
alshabib23a8d7c2014-10-22 21:53:39 -0700170 <completers>
171 <ref component-id="connectPointCompleter"/>
172 </completers>
173 </command>
174 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800175 <action class="org.onosproject.cli.net.AddMultiPointToSinglePointIntentCommand"/>
Ray Milkey0742ec92014-10-13 08:39:55 -0700176 <completers>
177 <ref component-id="connectPointCompleter"/>
178 </completers>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700179 <optional-completers>
180 <entry key="-t" value-ref="ethTypeCompleter"/>
Jonathan Hart6e948282014-11-17 22:50:42 -0800181 <entry key="--ipProto" value-ref="ipProtocolCompleter"/>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700182 </optional-completers>
Ray Milkey0742ec92014-10-13 08:39:55 -0700183 </command>
184 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800185 <action class="org.onosproject.cli.net.AddSinglePointToMultiPointIntentCommand"/>
Michele Santuari4a338072014-11-05 18:38:55 +0100186 <completers>
187 <ref component-id="connectPointCompleter"/>
188 </completers>
189 <optional-completers>
190 <entry key="-t" value-ref="ethTypeCompleter"/>
191 </optional-completers>
192 </command>
193 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800194 <action class="org.onosproject.cli.net.IntentPushTestCommand"/>
Brian O'Connor1aa99eb2014-10-10 16:18:58 -0700195 <completers>
196 <ref component-id="connectPointCompleter"/>
197 <ref component-id="connectPointCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700198 <ref component-id="nullCompleter"/>
199 <null/>
Brian O'Connor1aa99eb2014-10-10 16:18:58 -0700200 </completers>
201 </command>
Brian O'Connorfe0f4b12014-10-30 21:19:02 -0700202 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800203 <action class="org.onosproject.cli.net.RandomIntentCommand"/>
Brian O'Connor6741a5f2014-11-19 20:40:11 -0800204 <completers>
205 <ref component-id="nullCompleter"/>
206 <null/>
207 </completers>
208 </command>
209 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800210 <action class="org.onosproject.cli.net.ResourceAllocationsCommand"/>
Brian O'Connorfe0f4b12014-10-30 21:19:02 -0700211 <completers>
212 <ref component-id="connectPointCompleter"/>
213 <ref component-id="connectPointCompleter"/>
214 <null/>
215 </completers>
216 </command>
217 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800218 <action class="org.onosproject.cli.net.ResourceAvailableCommand"/>
Brian O'Connorfe0f4b12014-10-30 21:19:02 -0700219 <completers>
220 <ref component-id="connectPointCompleter"/>
221 <ref component-id="connectPointCompleter"/>
222 <null/>
223 </completers>
224 </command>
Brian O'Connor66630c82014-10-02 21:08:19 -0700225 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800226 <action class="org.onosproject.cli.net.ClustersListCommand"/>
tom13cb4852014-09-11 12:44:17 -0700227 </command>
228 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800229 <action class="org.onosproject.cli.net.ClusterDevicesCommand"/>
tom13cb4852014-09-11 12:44:17 -0700230 <completers>
231 <ref component-id="clusterIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700232 <null/>
tom13cb4852014-09-11 12:44:17 -0700233 </completers>
234 </command>
235 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800236 <action class="org.onosproject.cli.net.ClusterLinksCommand"/>
tom13cb4852014-09-11 12:44:17 -0700237 <completers>
238 <ref component-id="clusterIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700239 <null/>
tom13cb4852014-09-11 12:44:17 -0700240 </completers>
241 </command>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700242
243 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800244 <action class="org.onosproject.cli.net.HostsListCommand"/>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700245 </command>
Jonathan Hart61d4ebc2014-10-29 11:08:26 -0700246 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800247 <action class="org.onosproject.cli.net.HostRemoveCommand"/>
Thomas Vachuska33601602014-11-19 03:32:15 -0800248 <completers>
249 <ref component-id="hostIdCompleter"/>
250 <null/>
251 </completers>
252 </command>
253 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800254 <action class="org.onosproject.cli.net.AddressBindingsListCommand"/>
Jonathan Hart61d4ebc2014-10-29 11:08:26 -0700255 </command>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700256
tom89b63c52014-09-16 09:19:51 -0700257 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800258 <action class="org.onosproject.cli.net.FlowsListCommand"/>
alshabib99b8fdc2014-09-25 14:30:22 -0700259 <completers>
alshabib144a2942014-09-25 18:44:02 -0700260 <ref component-id="flowRuleStatusCompleter"/>
alshabib99b8fdc2014-09-25 14:30:22 -0700261 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700262 <null/>
alshabib99b8fdc2014-09-25 14:30:22 -0700263 </completers>
tom1380eee2014-09-24 09:22:02 -0700264 </command>
265
266 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800267 <action class="org.onosproject.cli.net.AddFlowsCommand"/>
alshabib5afcbd72014-10-30 16:28:40 +0100268 </command>
Yuta HIGUCHIc2bf3d82014-11-28 18:50:41 -0800269 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800270 <action class="org.onosproject.cli.net.LeaderCommand"/>
Yuta HIGUCHIc2bf3d82014-11-28 18:50:41 -0800271 </command>
alshabib5afcbd72014-10-30 16:28:40 +0100272
273 <command>
Brian O'Connorabafb502014-12-02 22:26:20 -0800274 <action class="org.onosproject.cli.net.WipeOutCommand"/>
tom89b63c52014-09-16 09:19:51 -0700275 </command>
tom0eb04ca2014-08-25 14:34:51 -0700276 </command-bundle>
277
Brian O'Connorabafb502014-12-02 22:26:20 -0800278 <bean id="nodeIdCompleter" class="org.onosproject.cli.NodeIdCompleter"/>
279 <bean id="deviceIdCompleter" class="org.onosproject.cli.net.DeviceIdCompleter"/>
280 <bean id="clusterIdCompleter" class="org.onosproject.cli.net.ClusterIdCompleter"/>
281 <bean id="roleCompleter" class="org.onosproject.cli.net.RoleCompleter"/>
282 <bean id="hostIdCompleter" class="org.onosproject.cli.net.HostIdCompleter"/>
283 <bean id="intentIdCompleter" class="org.onosproject.cli.net.IntentIdCompleter"/>
284 <bean id="flowRuleStatusCompleter" class="org.onosproject.cli.net.FlowRuleStatusCompleter"/>
285 <bean id="connectPointCompleter" class="org.onosproject.cli.net.ConnectPointCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700286 <bean id="nullCompleter" class="org.apache.karaf.shell.console.completer.NullCompleter"/>
Brian O'Connorabafb502014-12-02 22:26:20 -0800287 <bean id="ethTypeCompleter" class="org.onosproject.cli.net.EthTypeCompleter"/>
288 <bean id="ipProtocolCompleter" class="org.onosproject.cli.net.IpProtocolCompleter"/>
tom6d2a43e2014-09-08 01:50:20 -0700289
tom0eb04ca2014-08-25 14:34:51 -0700290</blueprint>