blob: b5752b6fd0cc4d05bb0ca33843009858deff9425 [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"/>
Thomas Vachuskae0f804a2014-10-27 23:40:48 -070040 </command>
41 <command>
42 <action class="org.onlab.onos.cli.ApplicationIdListCommand"/>
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>
Brian O'Connor5296b322014-10-23 14:59:05 -0700122 <action class="org.onlab.onos.cli.net.AddOpticalIntentCommand"/>
123 <completers>
124 <ref component-id="connectPointCompleter"/>
125 <ref component-id="connectPointCompleter"/>
126 <null/>
127 </completers>
128 </command>
129 <command>
alshabib23a8d7c2014-10-22 21:53:39 -0700130 <action class="org.onlab.onos.cli.net.GetStatistics"/>
131 <completers>
132 <ref component-id="connectPointCompleter"/>
133 </completers>
134 </command>
135 <command>
Ray Milkey0742ec92014-10-13 08:39:55 -0700136 <action class="org.onlab.onos.cli.net.AddMultiPointToSinglePointIntentCommand"/>
137 <completers>
138 <ref component-id="connectPointCompleter"/>
139 </completers>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700140 <optional-completers>
141 <entry key="-t" value-ref="ethTypeCompleter"/>
142 </optional-completers>
Ray Milkey0742ec92014-10-13 08:39:55 -0700143 </command>
144 <command>
Brian O'Connor1aa99eb2014-10-10 16:18:58 -0700145 <action class="org.onlab.onos.cli.net.IntentPushTestCommand"/>
146 <completers>
147 <ref component-id="connectPointCompleter"/>
148 <ref component-id="connectPointCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700149 <ref component-id="nullCompleter"/>
150 <null/>
Brian O'Connor1aa99eb2014-10-10 16:18:58 -0700151 </completers>
152 </command>
Brian O'Connor66630c82014-10-02 21:08:19 -0700153
154 <command>
tom13cb4852014-09-11 12:44:17 -0700155 <action class="org.onlab.onos.cli.net.ClustersListCommand"/>
156 </command>
157 <command>
158 <action class="org.onlab.onos.cli.net.ClusterDevicesCommand"/>
159 <completers>
160 <ref component-id="clusterIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700161 <null/>
tom13cb4852014-09-11 12:44:17 -0700162 </completers>
163 </command>
164 <command>
165 <action class="org.onlab.onos.cli.net.ClusterLinksCommand"/>
166 <completers>
167 <ref component-id="clusterIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700168 <null/>
tom13cb4852014-09-11 12:44:17 -0700169 </completers>
170 </command>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700171
172 <command>
173 <action class="org.onlab.onos.cli.net.HostsListCommand"/>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700174 </command>
175
tom89b63c52014-09-16 09:19:51 -0700176 <command>
tom1380eee2014-09-24 09:22:02 -0700177 <action class="org.onlab.onos.cli.net.FlowsListCommand"/>
alshabib99b8fdc2014-09-25 14:30:22 -0700178 <completers>
alshabib144a2942014-09-25 18:44:02 -0700179 <ref component-id="flowRuleStatusCompleter"/>
alshabib99b8fdc2014-09-25 14:30:22 -0700180 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700181 <null/>
alshabib99b8fdc2014-09-25 14:30:22 -0700182 </completers>
tom1380eee2014-09-24 09:22:02 -0700183 </command>
184
185 <command>
tom89b63c52014-09-16 09:19:51 -0700186 <action class="org.onlab.onos.cli.net.WipeOutCommand"/>
187 </command>
tom0eb04ca2014-08-25 14:34:51 -0700188 </command-bundle>
189
tom1380eee2014-09-24 09:22:02 -0700190 <bean id="nodeIdCompleter" class="org.onlab.onos.cli.NodeIdCompleter"/>
tom6d2a43e2014-09-08 01:50:20 -0700191 <bean id="deviceIdCompleter" class="org.onlab.onos.cli.net.DeviceIdCompleter"/>
tom13cb4852014-09-11 12:44:17 -0700192 <bean id="clusterIdCompleter" class="org.onlab.onos.cli.net.ClusterIdCompleter"/>
tom5f35f7c2014-09-08 18:38:19 -0700193 <bean id="roleCompleter" class="org.onlab.onos.cli.net.RoleCompleter"/>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700194 <bean id="hostIdCompleter" class="org.onlab.onos.cli.net.HostIdCompleter"/>
tom0511a522014-10-04 12:06:02 -0700195 <bean id="intentIdCompleter" class="org.onlab.onos.cli.net.IntentIdCompleter"/>
alshabib144a2942014-09-25 18:44:02 -0700196 <bean id="flowRuleStatusCompleter" class="org.onlab.onos.cli.net.FlowRuleStatusCompleter"/>
Ray Milkeya058c732014-10-08 13:52:34 -0700197 <bean id="connectPointCompleter" class="org.onlab.onos.cli.net.ConnectPointCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700198 <bean id="nullCompleter" class="org.apache.karaf.shell.console.completer.NullCompleter"/>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700199 <bean id="ethTypeCompleter" class="org.onlab.onos.cli.net.EthTypeCompleter"/>
tom6d2a43e2014-09-08 01:50:20 -0700200
tom0eb04ca2014-08-25 14:34:51 -0700201</blueprint>