blob: fcd66a0c6c691268114d94a95df1c73cd427fddc [file] [log] [blame]
<!--
~ Copyright 2017-present Open Networking Foundation
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
<command-bundle xmlns="http://karaf.apache.org/xmlns/shell/v1.1.0">
<command>
<action class="org.onosproject.cfm.cli.CfmMdAddCommand"/>
<completers>
<ref component-id="mdNameTypeCompleter"/>
<ref component-id="placeholderCompleter"/>
<ref component-id="mdLevelCompleter"/>
<ref component-id="placeholderCompleter"/>
</completers>
</command>
<command>
<action class="org.onosproject.cfm.cli.CfmMdDeleteCommand"/>
<completers>
<ref component-id="mdNameCompleter"/>
</completers>
</command>
<command>
<action class="org.onosproject.cfm.cli.CfmMdListMdCommand"/>
<completers>
<ref component-id="mdNameCompleter"/>
</completers>
</command>
<command>
<action class="org.onosproject.cfm.cli.CfmMaAddCommand"/>
<completers>
<ref component-id="mdNameCompleter"/>
<ref component-id="maNameTypeCompleter"/>
<ref component-id="placeholderCompleter"/>
<ref component-id="maCcmIntervalCompleter"/>
<ref component-id="placeholderCompleter"/>
<ref component-id="placeholderCompleter"/>
<ref component-id="compTagTypeCompleter"/>
<ref component-id="compMhfCompleter"/>
<ref component-id="placeholderCompleter"/>
</completers>
</command>
<command>
<action class="org.onosproject.cfm.cli.CfmMaDeleteCommand"/>
<completers>
<ref component-id="maNameCompleter"/>
</completers>
</command>
<command>
<action class="org.onosproject.cfm.cli.CfmMepListCommand"/>
<completers>
<ref component-id="mepIdCompleter"/>
</completers>
</command>
<command>
<action class="org.onosproject.cfm.cli.CfmMepListDeviceCommand"/>
<completers>
<ref component-id="mepDeviceIdCompleter"/>
</completers>
</command>
</command-bundle>
<bean id="placeholderCompleter" class="org.onosproject.cli.PlaceholderCompleter"/>
<bean id="mdNameTypeCompleter" class="org.onosproject.cfm.cli.completer.CfmMdNameTypeCompleter"/>
<bean id="maNameTypeCompleter" class="org.onosproject.cfm.cli.completer.CfmMaNameTypeCompleter"/>
<bean id="mdNameCompleter" class="org.onosproject.cfm.cli.completer.CfmMdNameCompleter"/>
<bean id="maNameCompleter" class="org.onosproject.cfm.cli.completer.CfmMaNameCompleter"/>
<bean id="mdLevelCompleter" class="org.onosproject.cfm.cli.completer.CfmMdLevelCompleter"/>
<bean id="maCcmIntervalCompleter" class="org.onosproject.cfm.cli.completer.CfmMaCcmIntervalCompleter"/>
<bean id="compTagTypeCompleter" class="org.onosproject.cfm.cli.completer.CfmCompTagTypeCompleter"/>
<bean id="compMhfCompleter" class="org.onosproject.cfm.cli.completer.CfmCompMhfCompleter"/>
<bean id="mepIdCompleter" class="org.onosproject.cfm.cli.completer.CfmMepIdCompleter"/>
<bean id="mepDeviceIdCompleter" class="org.onosproject.cfm.cli.completer.CfmDeviceIdCompleter"/>
</blueprint>