blob: bbccb9461d3f17a3330d169bcb92bff1d4a2bacb [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>
tome4729872014-09-23 00:37:37 -070023 <action class="org.onlab.onos.cli.NodesListCommand"/>
24 </command>
25 <command>
tom9710fb42014-09-29 11:35:28 -070026 <action class="org.onlab.onos.cli.NodeAddCommand"/>
27 </command>
28 <command>
29 <action class="org.onlab.onos.cli.NodeRemoveCommand"/>
30 </command>
Ayaka Koshibe45503ce2014-10-14 11:26:45 -070031
32 <command>
33 <action class="org.onlab.onos.cli.RolesCommand"/>
34 </command>
tom9710fb42014-09-29 11:35:28 -070035 <command>
tom1380eee2014-09-24 09:22:02 -070036 <action class="org.onlab.onos.cli.MastersListCommand"/>
Thomas Vachuskae0f804a2014-10-27 23:40:48 -070037 </command>
38 <command>
39 <action class="org.onlab.onos.cli.ApplicationIdListCommand"/>
alshabiba7f7ca82014-09-22 11:41:23 -070040 </command>
tom1380eee2014-09-24 09:22:02 -070041
alshabiba7f7ca82014-09-22 11:41:23 -070042 <command>
tom6d2a43e2014-09-08 01:50:20 -070043 <action class="org.onlab.onos.cli.net.DevicesListCommand"/>
44 </command>
45 <command>
46 <action class="org.onlab.onos.cli.net.DevicePortsListCommand"/>
tom0eb04ca2014-08-25 14:34:51 -070047 <completers>
tom6d2a43e2014-09-08 01:50:20 -070048 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -070049 <null/>
tom0eb04ca2014-08-25 14:34:51 -070050 </completers>
51 </command>
tom6d2a43e2014-09-08 01:50:20 -070052 <command>
tomc290a122014-09-08 14:27:13 -070053 <action class="org.onlab.onos.cli.net.DeviceRemoveCommand"/>
54 <completers>
55 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -070056 <null/>
tomc290a122014-09-08 14:27:13 -070057 </completers>
58 </command>
tom5f35f7c2014-09-08 18:38:19 -070059 <command>
60 <action class="org.onlab.onos.cli.net.DeviceRoleCommand"/>
61 <completers>
62 <ref component-id="deviceIdCompleter"/>
toma6235a52014-10-15 13:25:39 -070063 <ref component-id="nodeIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -070064 <ref component-id="roleCompleter"/>
65 <null/>
tom5f35f7c2014-09-08 18:38:19 -070066 </completers>
67 </command>
tomc290a122014-09-08 14:27:13 -070068
69 <command>
tom6d2a43e2014-09-08 01:50:20 -070070 <action class="org.onlab.onos.cli.net.LinksListCommand"/>
71 <completers>
72 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -070073 <null/>
tom6d2a43e2014-09-08 01:50:20 -070074 </completers>
75 </command>
tom13cb4852014-09-11 12:44:17 -070076
77 <command>
78 <action class="org.onlab.onos.cli.net.TopologyCommand"/>
79 </command>
80 <command>
tom9eb57fb2014-09-11 19:42:38 -070081 <action class="org.onlab.onos.cli.net.PathListCommand"/>
82 <completers>
83 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -070084 <ref component-id="deviceIdCompleter"/>
85 <null/>
tom9eb57fb2014-09-11 19:42:38 -070086 </completers>
87 </command>
tomf5c9d922014-10-03 15:22:03 -070088
tom9eb57fb2014-09-11 19:42:38 -070089 <command>
tom0511a522014-10-04 12:06:02 -070090 <action class="org.onlab.onos.cli.net.IntentsListCommand"/>
91 </command>
92 <command>
tom6db1f0a2014-10-07 09:12:29 -070093 <action class="org.onlab.onos.cli.net.IntentRemoveCommand"/>
Brian O'Connor66630c82014-10-02 21:08:19 -070094 <completers>
tom6db1f0a2014-10-07 09:12:29 -070095 <ref component-id="intentIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -070096 <null/>
Brian O'Connor66630c82014-10-02 21:08:19 -070097 </completers>
98 </command>
tomf5c9d922014-10-03 15:22:03 -070099 <command>
tom6db1f0a2014-10-07 09:12:29 -0700100 <action class="org.onlab.onos.cli.net.AddHostToHostIntentCommand"/>
tom0511a522014-10-04 12:06:02 -0700101 <completers>
tom6db1f0a2014-10-07 09:12:29 -0700102 <ref component-id="hostIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700103 <ref component-id="hostIdCompleter"/>
104 <null/>
tom0511a522014-10-04 12:06:02 -0700105 </completers>
tomf5c9d922014-10-03 15:22:03 -0700106 </command>
Ray Milkeya058c732014-10-08 13:52:34 -0700107 <command>
108 <action class="org.onlab.onos.cli.net.AddPointToPointIntentCommand"/>
109 <completers>
110 <ref component-id="connectPointCompleter"/>
111 <ref component-id="connectPointCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700112 <null/>
Ray Milkeya058c732014-10-08 13:52:34 -0700113 </completers>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700114 <optional-completers>
115 <entry key="-t" value-ref="ethTypeCompleter"/>
116 </optional-completers>
Ray Milkeya058c732014-10-08 13:52:34 -0700117 </command>
Brian O'Connor1aa99eb2014-10-10 16:18:58 -0700118 <command>
Ray Milkeycaa450b2014-10-29 15:54:24 -0700119 <action class="org.onlab.onos.cli.net.AddPointToPointIntentWithBandwidthConstraintCommand"/>
120 <completers>
121 <ref component-id="connectPointCompleter"/>
122 <ref component-id="connectPointCompleter"/>
123 <null/>
124 </completers>
125 <optional-completers>
126 <entry key="-t" value-ref="ethTypeCompleter"/>
127 </optional-completers>
128 </command>
129 <command>
Brian O'Connor5296b322014-10-23 14:59:05 -0700130 <action class="org.onlab.onos.cli.net.AddOpticalIntentCommand"/>
131 <completers>
132 <ref component-id="connectPointCompleter"/>
133 <ref component-id="connectPointCompleter"/>
134 <null/>
135 </completers>
136 </command>
137 <command>
alshabib23a8d7c2014-10-22 21:53:39 -0700138 <action class="org.onlab.onos.cli.net.GetStatistics"/>
139 <completers>
140 <ref component-id="connectPointCompleter"/>
141 </completers>
142 </command>
143 <command>
Ray Milkey0742ec92014-10-13 08:39:55 -0700144 <action class="org.onlab.onos.cli.net.AddMultiPointToSinglePointIntentCommand"/>
145 <completers>
146 <ref component-id="connectPointCompleter"/>
147 </completers>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700148 <optional-completers>
149 <entry key="-t" value-ref="ethTypeCompleter"/>
150 </optional-completers>
Ray Milkey0742ec92014-10-13 08:39:55 -0700151 </command>
152 <command>
Brian O'Connor1aa99eb2014-10-10 16:18:58 -0700153 <action class="org.onlab.onos.cli.net.IntentPushTestCommand"/>
154 <completers>
155 <ref component-id="connectPointCompleter"/>
156 <ref component-id="connectPointCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700157 <ref component-id="nullCompleter"/>
158 <null/>
Brian O'Connor1aa99eb2014-10-10 16:18:58 -0700159 </completers>
160 </command>
Brian O'Connor66630c82014-10-02 21:08:19 -0700161
162 <command>
tom13cb4852014-09-11 12:44:17 -0700163 <action class="org.onlab.onos.cli.net.ClustersListCommand"/>
164 </command>
165 <command>
166 <action class="org.onlab.onos.cli.net.ClusterDevicesCommand"/>
167 <completers>
168 <ref component-id="clusterIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700169 <null/>
tom13cb4852014-09-11 12:44:17 -0700170 </completers>
171 </command>
172 <command>
173 <action class="org.onlab.onos.cli.net.ClusterLinksCommand"/>
174 <completers>
175 <ref component-id="clusterIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700176 <null/>
tom13cb4852014-09-11 12:44:17 -0700177 </completers>
178 </command>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700179
180 <command>
181 <action class="org.onlab.onos.cli.net.HostsListCommand"/>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700182 </command>
Jonathan Hart61d4ebc2014-10-29 11:08:26 -0700183 <command>
184 <action class="org.onlab.onos.cli.net.AddressBindingsListCommand"/>
185 </command>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700186
tom89b63c52014-09-16 09:19:51 -0700187 <command>
tom1380eee2014-09-24 09:22:02 -0700188 <action class="org.onlab.onos.cli.net.FlowsListCommand"/>
alshabib99b8fdc2014-09-25 14:30:22 -0700189 <completers>
alshabib144a2942014-09-25 18:44:02 -0700190 <ref component-id="flowRuleStatusCompleter"/>
alshabib99b8fdc2014-09-25 14:30:22 -0700191 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700192 <null/>
alshabib99b8fdc2014-09-25 14:30:22 -0700193 </completers>
tom1380eee2014-09-24 09:22:02 -0700194 </command>
195
196 <command>
alshabib5afcbd72014-10-30 16:28:40 +0100197 <action class="org.onlab.onos.cli.net.AddFlowsCommand"/>
198 </command>
199
200 <command>
tom89b63c52014-09-16 09:19:51 -0700201 <action class="org.onlab.onos.cli.net.WipeOutCommand"/>
202 </command>
tom0eb04ca2014-08-25 14:34:51 -0700203 </command-bundle>
204
tom1380eee2014-09-24 09:22:02 -0700205 <bean id="nodeIdCompleter" class="org.onlab.onos.cli.NodeIdCompleter"/>
tom6d2a43e2014-09-08 01:50:20 -0700206 <bean id="deviceIdCompleter" class="org.onlab.onos.cli.net.DeviceIdCompleter"/>
tom13cb4852014-09-11 12:44:17 -0700207 <bean id="clusterIdCompleter" class="org.onlab.onos.cli.net.ClusterIdCompleter"/>
tom5f35f7c2014-09-08 18:38:19 -0700208 <bean id="roleCompleter" class="org.onlab.onos.cli.net.RoleCompleter"/>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700209 <bean id="hostIdCompleter" class="org.onlab.onos.cli.net.HostIdCompleter"/>
tom0511a522014-10-04 12:06:02 -0700210 <bean id="intentIdCompleter" class="org.onlab.onos.cli.net.IntentIdCompleter"/>
alshabib144a2942014-09-25 18:44:02 -0700211 <bean id="flowRuleStatusCompleter" class="org.onlab.onos.cli.net.FlowRuleStatusCompleter"/>
Ray Milkeya058c732014-10-08 13:52:34 -0700212 <bean id="connectPointCompleter" class="org.onlab.onos.cli.net.ConnectPointCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700213 <bean id="nullCompleter" class="org.apache.karaf.shell.console.completer.NullCompleter"/>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700214 <bean id="ethTypeCompleter" class="org.onlab.onos.cli.net.EthTypeCompleter"/>
tom6d2a43e2014-09-08 01:50:20 -0700215
tom0eb04ca2014-08-25 14:34:51 -0700216</blueprint>