Provide NetconfKeystoreService RPCs in clustered topology 14/79614/1
authorJakub Morvay <jmorvay@frinx.io>
Wed, 16 Jan 2019 15:55:33 +0000 (16:55 +0100)
committerJakub Morvay <jakub.morvay@gmail.com>
Thu, 17 Jan 2019 13:04:32 +0000 (13:04 +0000)
Since now we support Netconf over TLS in odl-netconf-clustered-topology,
we should provide users with RPCs for configuring keys and certificates
used in Netconf over TLS.

Make sure NetconfKeystoreService RPCs are exposed once
odl-netconf-clustered-topology is installed.

JIRA: NETCONF-595
Change-Id: Id435cabe44916e01171203dc4f6b6a9a49f3239b
Signed-off-by: Jakub Morvay <jmorvay@frinx.io>
(cherry picked from commit d76dec7f0cd65399967800a09df6f906f860836b)

netconf/netconf-topology-singleton/src/main/resources/org/opendaylight/blueprint/netconf-topology-singleton.xml

index ecab8350da0bdc0759a9e67a6615581925a60b82..795981a27ab9c7ad8f756313f818f89a7d23346e 100644 (file)
@@ -83,4 +83,12 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
 
     <odl:rpc-implementation ref="netconfNodeRegisterEncryptedRPC"/>
 
+    <bean id="netconfKeystoreProvider"
+          class="org.opendaylight.netconf.sal.connect.util.NetconfSalKeystoreService">
+        <argument ref="dataBroker"/>
+        <argument ref="encryptionService"/>
+    </bean>
+
+    <odl:rpc-implementation ref="netconfKeystoreProvider"/>
+
 </blueprint>