blob: 0ac6e099e7e51e9c95ff862e97c89c76ce1d1728 [file] [log] [blame]
Thomas Vachuskac40d4632015-04-09 16:55:03 -07001<!--
Brian O'Connor5ab426f2016-04-09 01:19:45 -07002 ~ Copyright 2015-present Open Networking Laboratory
Thomas Vachuskac40d4632015-04-09 16:55:03 -07003 ~
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 Vachuska5c6ed222016-06-29 11:02:22 +020044 <command>
45 <action class="org.onosproject.provider.nil.cli.CreateNullDevice"/>
46 </command>
47 <command>
48 <action class="org.onosproject.provider.nil.cli.CreateNullLink"/>
49 </command>
Thomas Vachuskac40d4632015-04-09 16:55:03 -070050 </command-bundle>
51
52 <bean id="startStopCompleter" class="org.onosproject.cli.StartStopCompleter"/>
53 <bean id="upDownCompleter" class="org.onosproject.cli.UpDownCompleter"/>
54 <bean id="topoShapeCompleter" class="org.onosproject.provider.nil.cli.TopologyShapeCompleter"/>
55 <bean id="linkSrcCompleter" class="org.onosproject.cli.net.LinkSrcCompleter"/>
56 <bean id="linkDstCompleter" class="org.onosproject.cli.net.LinkDstCompleter"/>
Thomas Vachuska8e038eb2016-02-23 23:28:23 -080057 <bean id="deviceIdCompleter" class="org.onosproject.cli.net.DeviceIdCompleter"/>
Thomas Vachuskac40d4632015-04-09 16:55:03 -070058
59</blueprint>