Initial commit for NeutronVpn
[vpnservice.git] / neutronvpn / neutronvpn-shell / src / main / resources / OSGI-INF / blueprint / blueprint.xml
diff --git a/neutronvpn/neutronvpn-shell/src/main/resources/OSGI-INF/blueprint/blueprint.xml b/neutronvpn/neutronvpn-shell/src/main/resources/OSGI-INF/blueprint/blueprint.xml
new file mode 100644 (file)
index 0000000..80cff04
--- /dev/null
@@ -0,0 +1,38 @@
+<!--    * Copyright (c) 2015 Ericsson India Global Services Pvt Ltd. and others.  All rights reserved.
+        *
+        * This program and the accompanying materials are made available under the
+        * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+        * and is available at http://www.eclipse.org/legal/epl-v10.html
+-->
+
+<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
+
+    <reference id="neutronVpnManagerRef"
+               interface="org.opendaylight.vpnservice.neutronvpn.interfaces.INeutronVpnManager"
+               availability="optional"/>
+    <reference id="rpcRegistryRef" interface="org.opendaylight.controller.sal.binding.api.RpcProviderRegistry"
+               availability="optional"/>
+    <command-bundle xmlns="http://karaf.apache.org/xmlns/shell/v1.1.0">
+
+        <command>
+            <action class="org.opendaylight.vpnservice.neutronvpn.shell.ConfigureL3VpnCommand">
+                <property name="neutronVpnManager" ref="neutronVpnManagerRef"/>
+                <property name="rpcRegistry" ref="rpcRegistryRef"/>
+            </action>
+        </command>
+
+        <command>
+            <action class="org.opendaylight.vpnservice.neutronvpn.shell.ShowVpnConfigCommand">
+                <property name="neutronVpnManager" ref="neutronVpnManagerRef"/>
+            </action>
+        </command>
+
+        <command>
+            <action class="org.opendaylight.vpnservice.neutronvpn.shell.ShowNeutronPortsCommand">
+                <property name="neutronVpnManager" ref="neutronVpnManagerRef"/>
+            </action>
+        </command>
+
+    </command-bundle>
+
+</blueprint>