blob: 1fc180a65568e19817a7d43b8a4063bd04cd063c [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>
Thomas Vachuska8e038eb2016-02-23 23:28:23 -080036 <command>
37 <action class="org.onosproject.provider.nil.cli.NullDeviceCommand"/>
38 <completers>
39 <ref component-id="deviceIdCompleter"/>
40 <ref component-id="upDownCompleter"/>
41 <null/>
42 </completers>
43 </command>
Thomas Vachuskac40d4632015-04-09 16:55:03 -070044 </command-bundle>
45
46 <bean id="startStopCompleter" class="org.onosproject.cli.StartStopCompleter"/>
47 <bean id="upDownCompleter" class="org.onosproject.cli.UpDownCompleter"/>
48 <bean id="topoShapeCompleter" class="org.onosproject.provider.nil.cli.TopologyShapeCompleter"/>
49 <bean id="linkSrcCompleter" class="org.onosproject.cli.net.LinkSrcCompleter"/>
50 <bean id="linkDstCompleter" class="org.onosproject.cli.net.LinkDstCompleter"/>
Thomas Vachuska8e038eb2016-02-23 23:28:23 -080051 <bean id="deviceIdCompleter" class="org.onosproject.cli.net.DeviceIdCompleter"/>
Thomas Vachuskac40d4632015-04-09 16:55:03 -070052
53</blueprint>