blob: 953a71e54ac216159aecba9159c56f860fdc9364 [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 HIGUCHI01c66eb2018-05-22 12:12:35 -070028 <entry key="--cltPortNo" value-ref="portNumberCompleter"/>
29 <entry key="--linePortNo" value-ref="portNumberCompleter"/>
Yuta HIGUCHI48f4cb72018-03-29 20:30:56 -070030 </optional-completers>
31 </command>
32
hiroki79d5ac32018-05-26 12:21:07 -070033 <command>
34 <action class="org.onosproject.odtn.cli.impl.OdtnDcsModelCheckCommand"/>
35 </command>
36
hirokid8fd7862018-10-09 15:24:24 +090037 <command>
38 <action class="org.onosproject.odtn.cli.impl.OdtnTapiHandlersTestCommand"/>
39 </command>
40
Yuta HIGUCHI48f4cb72018-03-29 20:30:56 -070041 </command-bundle>
42
43 <bean id="deviceIdCompleter" class="org.onosproject.cli.net.DeviceIdCompleter"/>
Yuta HIGUCHI9ee86642018-05-15 15:25:00 -070044 <bean id="portNumberCompleter" class="org.onosproject.cli.net.PortNumberCompleter"/>
Yuta HIGUCHI48f4cb72018-03-29 20:30:56 -070045 <bean id="modeCompleter" class="org.onosproject.odtn.cli.impl.ModeCompleter"/>
46
47</blueprint>