blob: 9018eb1c5a2b0f58b8135a43b63e4fcb4d87a38b [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>
Ray Milkey0742ec92014-10-13 08:39:55 -0700122 <action class="org.onlab.onos.cli.net.AddMultiPointToSinglePointIntentCommand"/>
123 <completers>
124 <ref component-id="connectPointCompleter"/>
125 </completers>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700126 <optional-completers>
127 <entry key="-t" value-ref="ethTypeCompleter"/>
128 </optional-completers>
Ray Milkey0742ec92014-10-13 08:39:55 -0700129 </command>
130 <command>
Brian O'Connor1aa99eb2014-10-10 16:18:58 -0700131 <action class="org.onlab.onos.cli.net.IntentPushTestCommand"/>
132 <completers>
133 <ref component-id="connectPointCompleter"/>
134 <ref component-id="connectPointCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700135 <ref component-id="nullCompleter"/>
136 <null/>
Brian O'Connor1aa99eb2014-10-10 16:18:58 -0700137 </completers>
138 </command>
Brian O'Connor66630c82014-10-02 21:08:19 -0700139
140 <command>
tom13cb4852014-09-11 12:44:17 -0700141 <action class="org.onlab.onos.cli.net.ClustersListCommand"/>
142 </command>
143 <command>
144 <action class="org.onlab.onos.cli.net.ClusterDevicesCommand"/>
145 <completers>
146 <ref component-id="clusterIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700147 <null/>
tom13cb4852014-09-11 12:44:17 -0700148 </completers>
149 </command>
150 <command>
151 <action class="org.onlab.onos.cli.net.ClusterLinksCommand"/>
152 <completers>
153 <ref component-id="clusterIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700154 <null/>
tom13cb4852014-09-11 12:44:17 -0700155 </completers>
156 </command>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700157
158 <command>
159 <action class="org.onlab.onos.cli.net.HostsListCommand"/>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700160 </command>
161
tom89b63c52014-09-16 09:19:51 -0700162 <command>
tom1380eee2014-09-24 09:22:02 -0700163 <action class="org.onlab.onos.cli.net.FlowsListCommand"/>
alshabib99b8fdc2014-09-25 14:30:22 -0700164 <completers>
alshabib144a2942014-09-25 18:44:02 -0700165 <ref component-id="flowRuleStatusCompleter"/>
alshabib99b8fdc2014-09-25 14:30:22 -0700166 <ref component-id="deviceIdCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700167 <null/>
alshabib99b8fdc2014-09-25 14:30:22 -0700168 </completers>
tom1380eee2014-09-24 09:22:02 -0700169 </command>
170
171 <command>
tom89b63c52014-09-16 09:19:51 -0700172 <action class="org.onlab.onos.cli.net.WipeOutCommand"/>
173 </command>
tom0eb04ca2014-08-25 14:34:51 -0700174 </command-bundle>
175
tom1380eee2014-09-24 09:22:02 -0700176 <bean id="nodeIdCompleter" class="org.onlab.onos.cli.NodeIdCompleter"/>
tom6d2a43e2014-09-08 01:50:20 -0700177 <bean id="deviceIdCompleter" class="org.onlab.onos.cli.net.DeviceIdCompleter"/>
tom13cb4852014-09-11 12:44:17 -0700178 <bean id="clusterIdCompleter" class="org.onlab.onos.cli.net.ClusterIdCompleter"/>
tom5f35f7c2014-09-08 18:38:19 -0700179 <bean id="roleCompleter" class="org.onlab.onos.cli.net.RoleCompleter"/>
Ayaka Koshibe43530be2014-09-15 11:14:52 -0700180 <bean id="hostIdCompleter" class="org.onlab.onos.cli.net.HostIdCompleter"/>
tom0511a522014-10-04 12:06:02 -0700181 <bean id="intentIdCompleter" class="org.onlab.onos.cli.net.IntentIdCompleter"/>
alshabib144a2942014-09-25 18:44:02 -0700182 <bean id="flowRuleStatusCompleter" class="org.onlab.onos.cli.net.FlowRuleStatusCompleter"/>
Ray Milkeya058c732014-10-08 13:52:34 -0700183 <bean id="connectPointCompleter" class="org.onlab.onos.cli.net.ConnectPointCompleter"/>
Ray Milkey9bbc9442014-10-13 10:27:45 -0700184 <bean id="nullCompleter" class="org.apache.karaf.shell.console.completer.NullCompleter"/>
Ray Milkey9fdf1ea2014-10-21 09:48:02 -0700185 <bean id="ethTypeCompleter" class="org.onlab.onos.cli.net.EthTypeCompleter"/>
tom6d2a43e2014-09-08 01:50:20 -0700186
tom0eb04ca2014-08-25 14:34:51 -0700187</blueprint>