blob: b01d412170a25556d42013905c0194caef733e08 [file] [log] [blame]
Thomas Vachuska7d693f52014-10-21 19:17:57 -07001<!--
2 ~ Licensed to the Apache Software Foundation (ASF) under one
3 ~ or more contributor license agreements. See the NOTICE file
4 ~ distributed with this work for additional information
5 ~ regarding copyright ownership. The ASF licenses this file
6 ~ to you under the Apache License, Version 2.0 (the
7 ~ "License"); you may not use this file except in compliance
8 ~ with the License. You may obtain a copy of the License at
9 ~
10 ~ http://www.apache.org/licenses/LICENSE-2.0
11 ~
12 ~ Unless required by applicable law or agreed to in writing,
13 ~ software distributed under the License is distributed on an
14 ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 ~ KIND, either express or implied. See the License for the
16 ~ specific language governing permissions and limitations
17 ~ under the License.
18 -->
tom0eb04ca2014-08-25 14:34:51 -070019<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
20
21 <command-bundle xmlns="http://karaf.apache.org/xmlns/shell/v1.1.0">
22 <command>
tom9b4030d2014-10-06 10:39:03 -070023 <action class="org.onlab.onos.cli.SummaryCommand"/>
24 </command>
25 <command>
tome4729872014-09-23 00:37:37 -070026 <action class="org.onlab.onos.cli.NodesListCommand"/>
27 </command>
28 <command>
tom9710fb42014-09-29 11:35:28 -070029 <action class="org.onlab.onos.cli.NodeAddCommand"/>
30 </command>
31 <command>
32 <action class="org.onlab.onos.cli.NodeRemoveCommand"/>
33 </command>
Ayaka Koshibe45503ce2014-10-14 11:26:45 -070034
35 <command>
36 <action class="org.onlab.onos.cli.RolesCommand"/>
37 </command>
tom9710fb42014-09-29 11:35:28 -070038 <command>
tom1380eee2014-09-24 09:22:02 -070039 <action class="org.onlab.onos.cli.MastersListCommand"/>
40 <completers>
41 <ref component-id="clusterIdCompleter"/>
42 </completers>
alshabiba7f7ca82014-09-22 11:41:23 -070043 </command>
tom1380eee2014-09-24 09:22:02 -070044
alshabiba7f7ca82014-09-22 11:41:23 -070045 <command>
tom6d2a43e2014-09-08 01:50:20 -070046 <action class="org.onlab.onos.cli.net.DevicesListCommand"/>
47 </command>
48 <command>
49 <action class="org.onlab.onos.cli.net.DevicePortsListCommand"/>
tom0eb04ca2014-08-25 14:34:51 -070050 <completers>
tom6d2a43e2014-09-08 01:50:20 -070051 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -070052 <null/>
tom0eb04ca2014-08-25 14:34:51 -070053 </completers>
54 </command>
tom6d2a43e2014-09-08 01:50:20 -070055 <command>
tomc290a122014-09-08 14:27:13 -070056 <action class="org.onlab.onos.cli.net.DeviceRemoveCommand"/>
57 <completers>
58 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -070059 <null/>
tomc290a122014-09-08 14:27:13 -070060 </completers>
61 </command>
tom5f35f7c2014-09-08 18:38:19 -070062 <command>
63 <action class="org.onlab.onos.cli.net.DeviceRoleCommand"/>
64 <completers>
65 <ref component-id="deviceIdCompleter"/>
toma6235a52014-10-15 13:25:39 -070066 <ref component-id="nodeIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -070067 <ref component-id="roleCompleter"/>
68 <null/>
tom5f35f7c2014-09-08 18:38:19 -070069 </completers>
70 </command>
tomc290a122014-09-08 14:27:13 -070071
72 <command>
tom6d2a43e2014-09-08 01:50:20 -070073 <action class="org.onlab.onos.cli.net.LinksListCommand"/>
74 <completers>
75 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -070076 <null/>
tom6d2a43e2014-09-08 01:50:20 -070077 </completers>
78 </command>
tom13cb4852014-09-11 12:44:17 -070079
80 <command>
81 <action class="org.onlab.onos.cli.net.TopologyCommand"/>
82 </command>
83 <command>
tom9eb57fb2014-09-11 19:42:38 -070084 <action class="org.onlab.onos.cli.net.PathListCommand"/>
85 <completers>
86 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -070087 <ref component-id="deviceIdCompleter"/>
88 <null/>
tom9eb57fb2014-09-11 19:42:38 -070089 </completers>
90 </command>
tomf5c9d922014-10-03 15:22:03 -070091
tom9eb57fb2014-09-11 19:42:38 -070092 <command>
tom0511a522014-10-04 12:06:02 -070093 <action class="org.onlab.onos.cli.net.IntentsListCommand"/>
94 </command>
95 <command>
tom6db1f0a2014-10-07 09:12:29 -070096 <action class="org.onlab.onos.cli.net.IntentRemoveCommand"/>
Brian O'Connor66630c82014-10-02 21:08:19 -070097 <completers>
tom6db1f0a2014-10-07 09:12:29 -070098 <ref component-id="intentIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -070099 <null/>
Brian O'Connor66630c82014-10-02 21:08:19 -0700100 </completers>
101 </command>
tomf5c9d922014-10-03 15:22:03 -0700102 <command>
tom6db1f0a2014-10-07 09:12:29 -0700103 <action class="org.onlab.onos.cli.net.AddHostToHostIntentCommand"/>
tom0511a522014-10-04 12:06:02 -0700104 <completers>
tom6db1f0a2014-10-07 09:12:29 -0700105 <ref component-id="hostIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700106 <ref component-id="hostIdCompleter"/>
107 <null/>
tom0511a522014-10-04 12:06:02 -0700108 </completers>
tomf5c9d922014-10-03 15:22:03 -0700109 </command>
Ray Milkeya058c732014-10-08 13:52:34 -0700110 <command>
111 <action class="org.onlab.onos.cli.net.AddPointToPointIntentCommand"/>
112 <completers>
113 <ref component-id="connectPointCompleter"/>
114 <ref component-id="connectPointCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700115 <null/>
Ray Milkeya058c732014-10-08 13:52:34 -0700116 </completers>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700117 <optional-completers>
118 <entry key="-t" value-ref="ethTypeCompleter"/>
119 </optional-completers>
Ray Milkeya058c732014-10-08 13:52:34 -0700120 </command>
Brian O'Connor1aa99eb2014-10-10 16:18:58 -0700121 <command>
alshabib23a8d7c2014-10-22 21:53:39 -0700122 <action class="org.onlab.onos.cli.net.GetStatistics"/>
123 <completers>
124 <ref component-id="connectPointCompleter"/>
125 </completers>
126 </command>
127 <command>
Ray Milkey0742ec92014-10-13 08:39:55 -0700128 <action class="org.onlab.onos.cli.net.AddMultiPointToSinglePointIntentCommand"/>
129 <completers>
130 <ref component-id="connectPointCompleter"/>
131 </completers>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700132 <optional-completers>
133 <entry key="-t" value-ref="ethTypeCompleter"/>
134 </optional-completers>
Ray Milkey0742ec92014-10-13 08:39:55 -0700135 </command>
136 <command>
Brian O'Connor1aa99eb2014-10-10 16:18:58 -0700137 <action class="org.onlab.onos.cli.net.IntentPushTestCommand"/>
138 <completers>
139 <ref component-id="connectPointCompleter"/>
140 <ref component-id="connectPointCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700141 <ref component-id="nullCompleter"/>
142 <null/>
Brian O'Connor1aa99eb2014-10-10 16:18:58 -0700143 </completers>
144 </command>
Brian O'Connor66630c82014-10-02 21:08:19 -0700145
146 <command>
tom13cb4852014-09-11 12:44:17 -0700147 <action class="org.onlab.onos.cli.net.ClustersListCommand"/>
148 </command>
149 <command>
150 <action class="org.onlab.onos.cli.net.ClusterDevicesCommand"/>
151 <completers>
152 <ref component-id="clusterIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700153 <null/>
tom13cb4852014-09-11 12:44:17 -0700154 </completers>
155 </command>
156 <command>
157 <action class="org.onlab.onos.cli.net.ClusterLinksCommand"/>
158 <completers>
159 <ref component-id="clusterIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700160 <null/>
tom13cb4852014-09-11 12:44:17 -0700161 </completers>
162 </command>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700163
164 <command>
165 <action class="org.onlab.onos.cli.net.HostsListCommand"/>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700166 </command>
167
tom89b63c52014-09-16 09:19:51 -0700168 <command>
tom1380eee2014-09-24 09:22:02 -0700169 <action class="org.onlab.onos.cli.net.FlowsListCommand"/>
alshabib99b8fdc2014-09-25 14:30:22 -0700170 <completers>
alshabib144a2942014-09-25 18:44:02 -0700171 <ref component-id="flowRuleStatusCompleter"/>
alshabib99b8fdc2014-09-25 14:30:22 -0700172 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700173 <null/>
alshabib99b8fdc2014-09-25 14:30:22 -0700174 </completers>
tom1380eee2014-09-24 09:22:02 -0700175 </command>
176
177 <command>
tom89b63c52014-09-16 09:19:51 -0700178 <action class="org.onlab.onos.cli.net.WipeOutCommand"/>
179 </command>
tom0eb04ca2014-08-25 14:34:51 -0700180 </command-bundle>
181
tom1380eee2014-09-24 09:22:02 -0700182 <bean id="nodeIdCompleter" class="org.onlab.onos.cli.NodeIdCompleter"/>
tom6d2a43e2014-09-08 01:50:20 -0700183 <bean id="deviceIdCompleter" class="org.onlab.onos.cli.net.DeviceIdCompleter"/>
tom13cb4852014-09-11 12:44:17 -0700184 <bean id="clusterIdCompleter" class="org.onlab.onos.cli.net.ClusterIdCompleter"/>
tom5f35f7c2014-09-08 18:38:19 -0700185 <bean id="roleCompleter" class="org.onlab.onos.cli.net.RoleCompleter"/>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700186 <bean id="hostIdCompleter" class="org.onlab.onos.cli.net.HostIdCompleter"/>
tom0511a522014-10-04 12:06:02 -0700187 <bean id="intentIdCompleter" class="org.onlab.onos.cli.net.IntentIdCompleter"/>
alshabib144a2942014-09-25 18:44:02 -0700188 <bean id="flowRuleStatusCompleter" class="org.onlab.onos.cli.net.FlowRuleStatusCompleter"/>
Ray Milkeya058c732014-10-08 13:52:34 -0700189 <bean id="connectPointCompleter" class="org.onlab.onos.cli.net.ConnectPointCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700190 <bean id="nullCompleter" class="org.apache.karaf.shell.console.completer.NullCompleter"/>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700191 <bean id="ethTypeCompleter" class="org.onlab.onos.cli.net.EthTypeCompleter"/>
tom6d2a43e2014-09-08 01:50:20 -0700192
tom0eb04ca2014-08-25 14:34:51 -0700193</blueprint>