Yuta HIGUCHI | 48f4cb7 | 2018-03-29 20:30:56 -0700 | [diff] [blame] | 1 | <!-- |
| 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"/> |
| 28 | </optional-completers> |
| 29 | </command> |
| 30 | |
| 31 | </command-bundle> |
| 32 | |
| 33 | <bean id="deviceIdCompleter" class="org.onosproject.cli.net.DeviceIdCompleter"/> |
| 34 | <bean id="modeCompleter" class="org.onosproject.odtn.cli.impl.ModeCompleter"/> |
| 35 | |
| 36 | </blueprint> |