blob: 5d576d5b1de5658a3fc3347fb6415738e07d7ed3 [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 -->
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.sdxl2.cli.SdxL2AddCommand"/>
21 </command>
22 <command>
23 <action class="org.onosproject.sdxl2.cli.SdxL2RemoveCommand"/>
24 <completers>
25 <ref component-id="sdxl2Completer"/>
26 </completers>
27 </command>
28 <command>
29 <action class="org.onosproject.sdxl2.cli.SdxL2ListCommand"/>
30 </command>
pierventre3849e562016-05-11 11:47:32 +020031 <command>
32 <action class="org.onosproject.sdxl2.cli.SdxL2AddCPCommand"/>
33 <completers>
34 <ref component-id="sdxl2Completer"/>
35 <ref component-id="connectPointCompleter"/>
36 </completers>
37 </command>
38 <command>
39 <action class="org.onosproject.sdxl2.cli.SdxL2RemoveCPCommand"/>
40 <completers>
41 <ref component-id="sdxl2cpnameCompleter"/>
42 </completers>
43 </command>
pierventre1483e642016-06-08 18:52:29 +020044 <command>
45 <action class="org.onosproject.sdxl2.cli.SdxL2ListCPCommand"/>
46 <completers>
47 <ref component-id="sdxl2Completer"/>
48 </completers>
49 </command>
50 <command>
51 <action class="org.onosproject.sdxl2.cli.SdxL2GetCPCommand"/>
52 <completers>
53 <ref component-id="sdxl2cpnameCompleter"/>
54 </completers>
55 </command>
Pier Luigi Ventre0a023f42016-04-30 11:03:15 +020056 </command-bundle>
57
58 <bean id="sdxl2Completer" class="org.onosproject.sdxl2.cli.completer.SdxL2NameCompleter"/>
pierventre3849e562016-05-11 11:47:32 +020059 <bean id="connectPointCompleter" class="org.onosproject.cli.net.ConnectPointCompleter"/>
60 <bean id="sdxl2cpnameCompleter" class="org.onosproject.sdxl2.cli.completer.SdxL2CPNameCompleter"/>
Pier Luigi Ventre0a023f42016-04-30 11:03:15 +020061
62</blueprint>