87394b8ebb689066439bbe03fde3f5373d956cae
[netvirt.git] / neutronvpn / shell / src / main / resources / OSGI-INF / blueprint / blueprint.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (c) 2016 Ericsson India Global Services Pvt Ltd. and others.  All rights reserved.
4
5 This program and the accompanying materials are made available under the
6 terms of the Eclipse Public License v1.0 which accompanies this distribution,
7 and is available at http://www.eclipse.org/legal/epl-v10.html
8 -->
9
10 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
11
12     <reference id="neutronVpnManagerRef"
13                interface="org.opendaylight.netvirt.neutronvpn.interfaces.INeutronVpnManager"
14                availability="optional"/>
15     <reference id="rpcRegistryRef" interface="org.opendaylight.mdsal.binding.api.RpcConsumerRegistry"
16                availability="optional"/>
17     <reference id="dataBrokerRef" interface="org.opendaylight.controller.md.sal.binding.api.DataBroker"
18                availability="optional"/>
19     <command-bundle xmlns="http://karaf.apache.org/xmlns/shell/v1.1.0">
20
21         <command>
22             <action class="org.opendaylight.netvirt.neutronvpn.shell.ConfigureL3VpnCommand">
23                 <property name="neutronVpnManager" ref="neutronVpnManagerRef"/>
24             </action>
25         </command>
26
27         <command>
28             <action class="org.opendaylight.netvirt.neutronvpn.shell.ShowVpnConfigCommand">
29                 <argument ref="neutronVpnManagerRef"/>
30             </action>
31         </command>
32
33         <command>
34             <action class="org.opendaylight.netvirt.neutronvpn.shell.ShowNeutronPortsCommand">
35                 <argument ref="neutronVpnManagerRef"/>
36             </action>
37         </command>
38
39         <command>
40             <action class="org.opendaylight.netvirt.neutronvpn.shell.DhcpConfigureCommand">
41                 <property name="dataBroker" ref="dataBrokerRef"/>
42             </action>
43         </command>
44
45         <command>
46             <action class="org.opendaylight.netvirt.neutronvpn.shell.DhcpShowCommand">
47                 <property name="dataBroker" ref="dataBrokerRef"/>
48             </action>
49         </command>
50
51         <command>
52             <action class="org.opendaylight.netvirt.neutronvpn.shell.ShowVpnIpToPort">
53                 <property name="dataBroker" ref="dataBrokerRef"/>
54             </action>
55         </command>
56
57         <command>
58             <action class="org.opendaylight.netvirt.neutronvpn.shell.ShowSubnet">
59                 <property name="dataBroker" ref="dataBrokerRef"/>
60             </action>
61         </command>
62
63     </command-bundle>
64
65 </blueprint>