Sean Condon | 0e89bda | 2017-03-21 14:23:19 +0000 | [diff] [blame] | 1 | <!-- |
| 2 | ~ Copyright 2017-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 | <command> |
| 20 | <action class="org.onosproject.cfm.cli.CfmMdAddCommand"/> |
| 21 | <completers> |
| 22 | <ref component-id="mdNameTypeCompleter"/> |
| 23 | <ref component-id="placeholderCompleter"/> |
| 24 | <ref component-id="mdLevelCompleter"/> |
| 25 | <ref component-id="placeholderCompleter"/> |
| 26 | </completers> |
| 27 | </command> |
| 28 | <command> |
| 29 | <action class="org.onosproject.cfm.cli.CfmMdDeleteCommand"/> |
| 30 | <completers> |
| 31 | <ref component-id="mdNameCompleter"/> |
| 32 | </completers> |
| 33 | </command> |
| 34 | <command> |
| 35 | <action class="org.onosproject.cfm.cli.CfmMdListMdCommand"/> |
| 36 | <completers> |
| 37 | <ref component-id="mdNameCompleter"/> |
| 38 | </completers> |
| 39 | </command> |
| 40 | <command> |
| 41 | <action class="org.onosproject.cfm.cli.CfmMaAddCommand"/> |
| 42 | <completers> |
| 43 | <ref component-id="mdNameCompleter"/> |
| 44 | <ref component-id="maNameTypeCompleter"/> |
| 45 | <ref component-id="placeholderCompleter"/> |
| 46 | <ref component-id="maCcmIntervalCompleter"/> |
| 47 | <ref component-id="placeholderCompleter"/> |
| 48 | <ref component-id="placeholderCompleter"/> |
| 49 | <ref component-id="compTagTypeCompleter"/> |
| 50 | <ref component-id="compMhfCompleter"/> |
| 51 | <ref component-id="placeholderCompleter"/> |
| 52 | </completers> |
| 53 | </command> |
| 54 | <command> |
| 55 | <action class="org.onosproject.cfm.cli.CfmMaDeleteCommand"/> |
| 56 | <completers> |
| 57 | <ref component-id="maNameCompleter"/> |
| 58 | </completers> |
| 59 | </command> |
Sean Condon | 96b896d | 2017-12-11 12:44:29 -0800 | [diff] [blame] | 60 | <command> |
| 61 | <action class="org.onosproject.cfm.cli.CfmMepListCommand"/> |
| 62 | <completers> |
| 63 | <ref component-id="mepIdCompleter"/> |
| 64 | </completers> |
| 65 | </command> |
| 66 | <command> |
| 67 | <action class="org.onosproject.cfm.cli.CfmMepListDeviceCommand"/> |
| 68 | <completers> |
| 69 | <ref component-id="mepDeviceIdCompleter"/> |
| 70 | </completers> |
| 71 | </command> |
Sean Condon | 0e89bda | 2017-03-21 14:23:19 +0000 | [diff] [blame] | 72 | </command-bundle> |
| 73 | |
| 74 | <bean id="placeholderCompleter" class="org.onosproject.cli.PlaceholderCompleter"/> |
| 75 | <bean id="mdNameTypeCompleter" class="org.onosproject.cfm.cli.completer.CfmMdNameTypeCompleter"/> |
| 76 | <bean id="maNameTypeCompleter" class="org.onosproject.cfm.cli.completer.CfmMaNameTypeCompleter"/> |
| 77 | <bean id="mdNameCompleter" class="org.onosproject.cfm.cli.completer.CfmMdNameCompleter"/> |
| 78 | <bean id="maNameCompleter" class="org.onosproject.cfm.cli.completer.CfmMaNameCompleter"/> |
| 79 | <bean id="mdLevelCompleter" class="org.onosproject.cfm.cli.completer.CfmMdLevelCompleter"/> |
| 80 | <bean id="maCcmIntervalCompleter" class="org.onosproject.cfm.cli.completer.CfmMaCcmIntervalCompleter"/> |
| 81 | <bean id="compTagTypeCompleter" class="org.onosproject.cfm.cli.completer.CfmCompTagTypeCompleter"/> |
| 82 | <bean id="compMhfCompleter" class="org.onosproject.cfm.cli.completer.CfmCompMhfCompleter"/> |
Sean Condon | 96b896d | 2017-12-11 12:44:29 -0800 | [diff] [blame] | 83 | <bean id="mepIdCompleter" class="org.onosproject.cfm.cli.completer.CfmMepIdCompleter"/> |
| 84 | <bean id="mepDeviceIdCompleter" class="org.onosproject.cfm.cli.completer.CfmDeviceIdCompleter"/> |
Sean Condon | 0e89bda | 2017-03-21 14:23:19 +0000 | [diff] [blame] | 85 | |
| 86 | </blueprint> |
| 87 | |
| 88 | |