blob: 58602eeed37a5b14d3f5c43fd440052206f1f2dd [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>
Brian O'Connor5296b322014-10-23 14:59:05 -0700119 <action class="org.onlab.onos.cli.net.AddOpticalIntentCommand"/>
120 <completers>
121 <ref component-id="connectPointCompleter"/>
122 <ref component-id="connectPointCompleter"/>
123 <null/>
124 </completers>
125 </command>
126 <command>
alshabib23a8d7c2014-10-22 21:53:39 -0700127 <action class="org.onlab.onos.cli.net.GetStatistics"/>
128 <completers>
129 <ref component-id="connectPointCompleter"/>
130 </completers>
131 </command>
132 <command>
Ray Milkey0742ec92014-10-13 08:39:55 -0700133 <action class="org.onlab.onos.cli.net.AddMultiPointToSinglePointIntentCommand"/>
134 <completers>
135 <ref component-id="connectPointCompleter"/>
136 </completers>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700137 <optional-completers>
138 <entry key="-t" value-ref="ethTypeCompleter"/>
139 </optional-completers>
Ray Milkey0742ec92014-10-13 08:39:55 -0700140 </command>
141 <command>
Brian O'Connor1aa99eb2014-10-10 16:18:58 -0700142 <action class="org.onlab.onos.cli.net.IntentPushTestCommand"/>
143 <completers>
144 <ref component-id="connectPointCompleter"/>
145 <ref component-id="connectPointCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700146 <ref component-id="nullCompleter"/>
147 <null/>
Brian O'Connor1aa99eb2014-10-10 16:18:58 -0700148 </completers>
149 </command>
Brian O'Connor66630c82014-10-02 21:08:19 -0700150
151 <command>
tom13cb4852014-09-11 12:44:17 -0700152 <action class="org.onlab.onos.cli.net.ClustersListCommand"/>
153 </command>
154 <command>
155 <action class="org.onlab.onos.cli.net.ClusterDevicesCommand"/>
156 <completers>
157 <ref component-id="clusterIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700158 <null/>
tom13cb4852014-09-11 12:44:17 -0700159 </completers>
160 </command>
161 <command>
162 <action class="org.onlab.onos.cli.net.ClusterLinksCommand"/>
163 <completers>
164 <ref component-id="clusterIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700165 <null/>
tom13cb4852014-09-11 12:44:17 -0700166 </completers>
167 </command>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700168
169 <command>
170 <action class="org.onlab.onos.cli.net.HostsListCommand"/>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700171 </command>
172
tom89b63c52014-09-16 09:19:51 -0700173 <command>
tom1380eee2014-09-24 09:22:02 -0700174 <action class="org.onlab.onos.cli.net.FlowsListCommand"/>
alshabib99b8fdc2014-09-25 14:30:22 -0700175 <completers>
alshabib144a2942014-09-25 18:44:02 -0700176 <ref component-id="flowRuleStatusCompleter"/>
alshabib99b8fdc2014-09-25 14:30:22 -0700177 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700178 <null/>
alshabib99b8fdc2014-09-25 14:30:22 -0700179 </completers>
tom1380eee2014-09-24 09:22:02 -0700180 </command>
181
182 <command>
tom89b63c52014-09-16 09:19:51 -0700183 <action class="org.onlab.onos.cli.net.WipeOutCommand"/>
184 </command>
tom0eb04ca2014-08-25 14:34:51 -0700185 </command-bundle>
186
tom1380eee2014-09-24 09:22:02 -0700187 <bean id="nodeIdCompleter" class="org.onlab.onos.cli.NodeIdCompleter"/>
tom6d2a43e2014-09-08 01:50:20 -0700188 <bean id="deviceIdCompleter" class="org.onlab.onos.cli.net.DeviceIdCompleter"/>
tom13cb4852014-09-11 12:44:17 -0700189 <bean id="clusterIdCompleter" class="org.onlab.onos.cli.net.ClusterIdCompleter"/>
tom5f35f7c2014-09-08 18:38:19 -0700190 <bean id="roleCompleter" class="org.onlab.onos.cli.net.RoleCompleter"/>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700191 <bean id="hostIdCompleter" class="org.onlab.onos.cli.net.HostIdCompleter"/>
tom0511a522014-10-04 12:06:02 -0700192 <bean id="intentIdCompleter" class="org.onlab.onos.cli.net.IntentIdCompleter"/>
alshabib144a2942014-09-25 18:44:02 -0700193 <bean id="flowRuleStatusCompleter" class="org.onlab.onos.cli.net.FlowRuleStatusCompleter"/>
Ray Milkeya058c732014-10-08 13:52:34 -0700194 <bean id="connectPointCompleter" class="org.onlab.onos.cli.net.ConnectPointCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700195 <bean id="nullCompleter" class="org.apache.karaf.shell.console.completer.NullCompleter"/>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700196 <bean id="ethTypeCompleter" class="org.onlab.onos.cli.net.EthTypeCompleter"/>
tom6d2a43e2014-09-08 01:50:20 -0700197
tom0eb04ca2014-08-25 14:34:51 -0700198</blueprint>