blob: f96f10ccb8856f919b65547aff20595f57661c0e [file] [log] [blame]
Thomas Vachuskac40d4632015-04-09 16:55:03 -07001<!--
2 ~ Copyright 2015 Open Networking Laboratory
3 ~
4 ~ 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
7 ~
8 ~ 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.
15 -->
16<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>
20 <action class="org.onosproject.provider.nil.cli.NullControlCommand"/>
21 <completers>
22 <ref component-id="startStopCompleter"/>
23 <ref component-id="topoShapeCompleter"/>
24 <null/>
25 </completers>
26 </command>
27 <command>
28 <action class="org.onosproject.provider.nil.cli.NullLinkCommand"/>
29 <completers>
30 <ref component-id="linkSrcCompleter"/>
31 <ref component-id="linkDstCompleter"/>
32 <ref component-id="upDownCompleter"/>
33 <null/>
34 </completers>
35 </command>
36 </command-bundle>
37
38 <bean id="startStopCompleter" class="org.onosproject.cli.StartStopCompleter"/>
39 <bean id="upDownCompleter" class="org.onosproject.cli.UpDownCompleter"/>
40 <bean id="topoShapeCompleter" class="org.onosproject.provider.nil.cli.TopologyShapeCompleter"/>
41 <bean id="linkSrcCompleter" class="org.onosproject.cli.net.LinkSrcCompleter"/>
42 <bean id="linkDstCompleter" class="org.onosproject.cli.net.LinkDstCompleter"/>
43
44</blueprint>