blob: 939c9ddfafb7be26cc8c6ea7d34a3cc6e9721fde [file] [log] [blame]
Yuta HIGUCHI48f4cb72018-03-29 20:30:56 -07001<!--
2 ~ Copyright 2018-present Open Networking Foundation
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
20 <command>
21 <action class="org.onosproject.odtn.cli.impl.OdtnManualTestCommand"/>
22 <completers>
23 <ref component-id="modeCompleter"/>
24 <null/>
25 </completers>
26 <optional-completers>
27 <entry key="--deviceId" value-ref="deviceIdCompleter"/>
Yuta HIGUCHI9ee86642018-05-15 15:25:00 -070028 <entry key="--portNo" value-ref="portNumberCompleter"/>
Yuta HIGUCHI48f4cb72018-03-29 20:30:56 -070029 </optional-completers>
30 </command>
31
32 </command-bundle>
33
34 <bean id="deviceIdCompleter" class="org.onosproject.cli.net.DeviceIdCompleter"/>
Yuta HIGUCHI9ee86642018-05-15 15:25:00 -070035 <bean id="portNumberCompleter" class="org.onosproject.cli.net.PortNumberCompleter"/>
Yuta HIGUCHI48f4cb72018-03-29 20:30:56 -070036 <bean id="modeCompleter" class="org.onosproject.odtn.cli.impl.ModeCompleter"/>
37
38</blueprint>