Convert netconf-util, netconf-ssh, netconf-tcp to blueprint
[netconf.git] / netconf / netconf-tcp / src / main / resources / org / opendaylight / blueprint / netconf-tcp-blueprint.xml
diff --git a/netconf/netconf-tcp/src/main/resources/org/opendaylight/blueprint/netconf-tcp-blueprint.xml b/netconf/netconf-tcp/src/main/resources/org/opendaylight/blueprint/netconf-tcp-blueprint.xml
new file mode 100644 (file)
index 0000000..5423731
--- /dev/null
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (c) 2017 Inocybe Technologies Inc. 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"
+           xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
+           odl:use-default-for-reference-types="true">
+
+    <reference id="netconfConfiguration"
+               interface="org.opendaylight.netconf.util.NetconfConfiguration" />
+
+    <bean id="netconfTcpProvider" class="org.opendaylight.netconf.tcp.NetconfTCPProvider"
+          init-method="init" destroy-method="destroy">
+        <argument ref="netconfConfiguration" />
+    </bean>
+
+</blueprint>