blob: 76b35724d42aca04d306129961ffee7672d00585 [file] [log] [blame]
Pier Luigi Ventre0a023f42016-04-30 11:03:15 +02001<!--
2 ~ Copyright 2016-present 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 -->
Carolina Fernandezad893432016-07-18 11:11:34 +020016
Pier Luigi Ventre0a023f42016-04-30 11:03:15 +020017<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
18
19 <command-bundle xmlns="http://karaf.apache.org/xmlns/shell/v1.1.0">
20 <command>
21 <action class="org.onosproject.sdxl2.cli.SdxL2AddCommand"/>
22 </command>
23 <command>
24 <action class="org.onosproject.sdxl2.cli.SdxL2RemoveCommand"/>
25 <completers>
26 <ref component-id="sdxl2Completer"/>
27 </completers>
28 </command>
29 <command>
30 <action class="org.onosproject.sdxl2.cli.SdxL2ListCommand"/>
31 </command>
pierventre3849e562016-05-11 11:47:32 +020032 <command>
33 <action class="org.onosproject.sdxl2.cli.SdxL2AddCPCommand"/>
34 <completers>
35 <ref component-id="sdxl2Completer"/>
36 <ref component-id="connectPointCompleter"/>
37 </completers>
38 </command>
39 <command>
40 <action class="org.onosproject.sdxl2.cli.SdxL2RemoveCPCommand"/>
41 <completers>
42 <ref component-id="sdxl2cpnameCompleter"/>
43 </completers>
44 </command>
pierventre1483e642016-06-08 18:52:29 +020045 <command>
Carolina Fernandezad893432016-07-18 11:11:34 +020046 <action class="org.onosproject.sdxl2.cli.SdxL2GetCPCommand"/>
47 <completers>
48 <ref component-id="sdxl2cpnameCompleter"/>
49 </completers>
50 </command>
51 <command>
pierventre1483e642016-06-08 18:52:29 +020052 <action class="org.onosproject.sdxl2.cli.SdxL2ListCPCommand"/>
53 <completers>
54 <ref component-id="sdxl2Completer"/>
55 </completers>
56 </command>
57 <command>
Carolina Fernandezad893432016-07-18 11:11:34 +020058 <action class="org.onosproject.sdxl2.cli.SdxL2AddVCCommand"/>
pierventre1483e642016-06-08 18:52:29 +020059 <completers>
Carolina Fernandezad893432016-07-18 11:11:34 +020060 <ref component-id="sdxl2vcnameCompleter"/>
61 </completers>
62 </command>
63 <command>
64 <action class="org.onosproject.sdxl2.cli.SdxL2RemoveVCCommand"/>
65 <completers>
66 <ref component-id="sdxl2vcnameCompleter"/>
67 </completers>
68 </command>
69 <command>
70 <action class="org.onosproject.sdxl2.cli.SdxL2GetVCCommand"/>
71 <completers>
72 <ref component-id="sdxl2vcnameCompleter"/>
73 </completers>
74 </command>
75 <command>
76 <action class="org.onosproject.sdxl2.cli.SdxL2ListVCCommand"/>
77 <completers>
78 <ref component-id="sdxl2Completer"/>
pierventre1483e642016-06-08 18:52:29 +020079 </completers>
80 </command>
Pier Luigi Ventre0a023f42016-04-30 11:03:15 +020081 </command-bundle>
82
83 <bean id="sdxl2Completer" class="org.onosproject.sdxl2.cli.completer.SdxL2NameCompleter"/>
pierventre3849e562016-05-11 11:47:32 +020084 <bean id="connectPointCompleter" class="org.onosproject.cli.net.ConnectPointCompleter"/>
85 <bean id="sdxl2cpnameCompleter" class="org.onosproject.sdxl2.cli.completer.SdxL2CPNameCompleter"/>
Carolina Fernandezad893432016-07-18 11:11:34 +020086 <bean id="sdxl2vcnameCompleter" class="org.onosproject.sdxl2.cli.completer.SdxL2VCNameCompleter"/>
Pier Luigi Ventre0a023f42016-04-30 11:03:15 +020087
88</blueprint>