blob: 280cd33ecd416f49225f59d7be9c05ad9234b31c [file] [log] [blame]
Yuta HIGUCHI1d547bf2016-08-02 21:44:48 -07001<!--
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.net.optical.cli.AddOpticalIntentCommand"/>
21 <completers>
22 <ref component-id="connectPointCompleter"/>
23 <ref component-id="connectPointCompleter"/>
24 </completers>
25 <optional-completers>
26 <entry key="-a" value-ref="allAppNameCompleter"/>
27 </optional-completers>
28 </command>
29 <command>
30 <action class="org.onosproject.net.optical.cli.OpticalPortsListCommand"/>
31 <completers>
32 <ref component-id="deviceIdCompleter"/>
33 </completers>
34 </command>
35 </command-bundle>
36
37 <bean id="connectPointCompleter" class="org.onosproject.cli.net.ConnectPointCompleter"/>
38 <bean id="allAppNameCompleter" class="org.onosproject.cli.app.AllApplicationNamesCompleter"/>
39 <bean id="deviceIdCompleter" class="org.onosproject.cli.net.DeviceIdCompleter"/>
40
41</blueprint>