blob: 1f72cc6431f826da8924a00cf214f8488710716e [file] [log] [blame]
Akihiro Yamanouchid4912842016-07-01 10:38:46 +09001<!--
2 ~ Copyright 2016 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 <!--volt commands -->
20 <command>
21 <action class="org.onosproject.drivers.fujitsu.cli.VoltGetPonLinksCommand"/>
22 <completers>
23 <ref component-id="deviceIdCompleter"/>
24 </completers>
25 </command>
Akihiro Yamanouchid4912842016-07-01 10:38:46 +090026 <command>
27 <action class="org.onosproject.drivers.fujitsu.cli.VoltSetPonLinkCommand"/>
28 <completers>
29 <ref component-id="deviceIdCompleter"/>
30 </completers>
31 </command>
Akihiro Yamanouchi8d3a9d32016-07-12 11:41:44 +090032 <command>
33 <action class="org.onosproject.drivers.fujitsu.cli.VoltGetOnusCommand"/>
34 <completers>
35 <ref component-id="deviceIdCompleter"/>
36 </completers>
37 </command>
38 <command>
39 <action class="org.onosproject.drivers.fujitsu.cli.VoltSetOnuCommand"/>
40 <completers>
41 <ref component-id="deviceIdCompleter"/>
42 </completers>
43 </command>
44 <command>
45 <action class="org.onosproject.drivers.fujitsu.cli.VoltGetOnuStatsCommand"/>
46 <completers>
47 <ref component-id="deviceIdCompleter"/>
48 </completers>
49 </command>
50 <command>
51 <action class="org.onosproject.drivers.fujitsu.cli.VoltEthLoopbackCommand"/>
52 <completers>
53 <ref component-id="deviceIdCompleter"/>
54 </completers>
55 </command>
56 <command>
57 <action class="org.onosproject.drivers.fujitsu.cli.VoltRebootOnuCommand"/>
58 <completers>
59 <ref component-id="deviceIdCompleter"/>
60 </completers>
61 </command>
Akihiro Yamanouchid4912842016-07-01 10:38:46 +090062 </command-bundle>
63
64 <bean id="deviceIdCompleter" class="org.onosproject.cli.net.DeviceIdCompleter"/>
65
66</blueprint>