Jian Li | c87b23b | 2017-04-24 15:28:10 +0900 | [diff] [blame] | 1 | <!-- |
Brian O'Connor | ce2a03d | 2017-08-03 19:21:03 -0700 | [diff] [blame^] | 2 | ~ Copyright 2017-present Open Networking Foundation |
Jian Li | c87b23b | 2017-04-24 15:28:10 +0900 | [diff] [blame] | 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.mapping.cli.MappingsListCommand"/> |
| 22 | <completers> |
| 23 | <ref component-id="mappingStoreTypeCompleter"/> |
| 24 | <ref component-id="deviceIdCompleter"/> |
| 25 | </completers> |
| 26 | </command> |
| 27 | </command-bundle> |
| 28 | |
| 29 | <bean id="deviceIdCompleter" |
| 30 | class="org.onosproject.cli.net.DeviceIdCompleter"/> |
| 31 | <bean id="mappingStoreTypeCompleter" |
| 32 | class="org.onosproject.mapping.cli.MappingStoreTypeCompleter"/> |
| 33 | |
| 34 | </blueprint> |