blob: 7be09e8f3bf325532bfe42027d92faae53d696b0 [file] [log] [blame]
Thomas Vachuskac40d4632015-04-09 16:55:03 -07001<!--
Brian O'Connora09fe5b2017-08-03 21:12:30 -07002 ~ Copyright 2015-present Open Networking Foundation
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 Vachuska4407a7e2016-07-02 12:38:01 +020050 <command>
51 <action class="org.onosproject.provider.nil.cli.CreateNullHost"/>
52 </command>
Thomas Vachuskaa8e74772018-02-26 11:33:35 -080053 <command>
54 <action class="org.onosproject.provider.nil.cli.CreateNullHosts"/>
55 </command>
Thomas Vachuskac40d4632015-04-09 16:55:03 -070056 </command-bundle>
57
58 <bean id="startStopCompleter" class="org.onosproject.cli.StartStopCompleter"/>
59 <bean id="upDownCompleter" class="org.onosproject.cli.UpDownCompleter"/>
60 <bean id="topoShapeCompleter" class="org.onosproject.provider.nil.cli.TopologyShapeCompleter"/>
61 <bean id="linkSrcCompleter" class="org.onosproject.cli.net.LinkSrcCompleter"/>
62 <bean id="linkDstCompleter" class="org.onosproject.cli.net.LinkDstCompleter"/>
Thomas Vachuska8e038eb2016-02-23 23:28:23 -080063 <bean id="deviceIdCompleter" class="org.onosproject.cli.net.DeviceIdCompleter"/>
Thomas Vachuskac40d4632015-04-09 16:55:03 -070064
65</blueprint>