blob: 6fdf112539f454daad90229b7238ad6b26c2b08b [file] [log] [blame]
Naoki Shiota5a056062016-05-05 18:43:59 -07001<!--
Brian O'Connora09fe5b2017-08-03 21:12:30 -07002 ~ Copyright 2016-present Open Networking Foundation
Naoki Shiota5a056062016-05-05 18:43:59 -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.newoptical.cli.AddOpticalConnectivityCommand"/>
Yuta HIGUCHI806113f2017-03-07 22:46:20 -080021 <completers>
22 <ref component-id="connectPointCompleter"/>
23 <ref component-id="connectPointCompleter"/>
24 <null/>
25 </completers>
Naoki Shiota5a056062016-05-05 18:43:59 -070026 </command>
Yuta HIGUCHIf167bf92017-03-08 13:19:04 -080027
Naoki Shiota5a056062016-05-05 18:43:59 -070028 <command>
29 <action class="org.onosproject.newoptical.cli.RemoveOpticalConnectivityCommand"/>
Yuta HIGUCHIf167bf92017-03-08 13:19:04 -080030 <completers>
31 <ref component-id="opticalConnectivityIdCompleter"/>
32 <null/>
33 </completers>
Naoki Shiota5a056062016-05-05 18:43:59 -070034 </command>
Yuta HIGUCHIf167bf92017-03-08 13:19:04 -080035
36 <command>
37 <action class="org.onosproject.newoptical.cli.ListOpticalConnectivityCommand"/>
38 </command>
39
Naoki Shiota5a056062016-05-05 18:43:59 -070040 </command-bundle>
41
Yuta HIGUCHI806113f2017-03-07 22:46:20 -080042 <!-- TODO complete only applicable ports -->
43 <bean id="connectPointCompleter" class="org.onosproject.cli.net.ConnectPointCompleter"/>
44
Yuta HIGUCHIf167bf92017-03-08 13:19:04 -080045 <bean id="opticalConnectivityIdCompleter" class="org.onosproject.newoptical.cli.OpticalConnectivityIdCompleter"/>
46
Naoki Shiota5a056062016-05-05 18:43:59 -070047</blueprint>