blob: 7fd8ccf2b6e53772b00354a0f97d7fdc8b449f80 [file] [log] [blame]
Jian Lic2538102018-07-03 22:42:07 +09001<!--
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 <command-bundle xmlns="http://karaf.apache.org/xmlns/shell/v1.1.0">
18 <command>
19 <action class="org.onosproject.openstackvtap.cli.OpenstackVtapAddCommand" />
Jian Li26ef1302018-07-04 14:37:06 +090020 <completers>
21 <ref component-id="vmIpCompleter"/>
22 <ref component-id="vmIpCompleter"/>
23 <ref component-id="protocolTypeCompleter"/>
24 <null/>
25 <null/>
26 <ref component-id="vtapTypeCompleter"/>
27 </completers>
Jian Lic2538102018-07-03 22:42:07 +090028 </command>
29
30 <command>
31 <action class="org.onosproject.openstackvtap.cli.OpenstackVtapListCommand" />
Jian Li26ef1302018-07-04 14:37:06 +090032 <completers>
33 <ref component-id="vtapTypeCompleter"/>
34 </completers>
Jian Lic2538102018-07-03 22:42:07 +090035 </command>
36
37 <command>
38 <action class="org.onosproject.openstackvtap.cli.OpenstackVtapDeleteCommand" />
Jian Li26ef1302018-07-04 14:37:06 +090039 <completers>
40 <ref component-id="vtapIdCompleter"/>
41 </completers>
Jian Lic2538102018-07-03 22:42:07 +090042 </command>
43
44 <command>
Jimo Jung14e87bf2018-09-03 16:28:13 +090045 <action class="org.onosproject.openstackvtap.cli.OpenstackVtapNetworkListCommand" />
Jian Lic2538102018-07-03 22:42:07 +090046 </command>
47 </command-bundle>
Jian Li26ef1302018-07-04 14:37:06 +090048
49 <bean id="vtapTypeCompleter" class="org.onosproject.openstackvtap.cli.VtapTypeCompleter"/>
50 <bean id="protocolTypeCompleter" class="org.onosproject.openstackvtap.cli.ProtocolTypeCompleter"/>
51 <bean id="vmIpCompleter" class="org.onosproject.openstackvtap.cli.VmIpCompleter"/>
52 <bean id="vtapIdCompleter" class="org.onosproject.openstackvtap.cli.VtapIdCompleter"/>
53
Jian Lic2538102018-07-03 22:42:07 +090054</blueprint>