-->
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
+ xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0"
odl:use-default-for-reference-types="true">
<reference id="clientDispatcherDependency"
<reference id="mountPointService"
interface="org.opendaylight.controller.md.sal.dom.api.DOMMountPointService"
odl:type="default"/>
+ <reference id="encryptionService"
+ interface="org.opendaylight.aaa.encrypt.AAAEncryptionService" />
<bean id="schemaRepository" class="org.opendaylight.netconf.topology.impl.SchemaRepositoryProviderImpl">
<argument value="shared-schema-repository-impl"/>
</bean>
+ <cm:property-placeholder persistent-id="org.opendaylight.netconf.topology.sb.keypair" update-strategy="none">
+ <cm:default-properties>
+ <cm:property name="private-key-path" value=""/>
+ <cm:property name="private-key-passphrase" value=""/>
+ </cm:default-properties>
+ </cm:property-placeholder>
+
<bean id="netconfTopology" class="org.opendaylight.netconf.topology.impl.NetconfTopologyImpl"
init-method="init"
destroy-method="close">
+ <cm:managed-properties persistent-id="org.opendaylight.netconf.topology.sb.keypair"
+ update-strategy="container-managed"/>
<argument value="topology-netconf"/>
<argument ref="clientDispatcherDependency"/>
<argument ref="eventExecutor"/>
<argument ref="schemaRepository"/>
<argument ref="dataBroker"/>
<argument ref="mountPointService"/>
+ <property name="privateKeyPath" value="${private-key-path}"/>
+ <property name="privateKeyPassphrase" value="${private-key-passphrase}"/>
+ <argument ref="encryptionService" />
</bean>
<bean id="netconfConnectorFactory" class="org.opendaylight.netconf.topology.impl.NetconfConnectorFactoryImpl"/>
<service ref="netconfConnectorFactory" interface="org.opendaylight.netconf.topology.api.NetconfConnectorFactory"
odl:type="default"/>
-</blueprint>
\ No newline at end of file
+ <bean id="netconfNodeRegisterEncryptedRPC"
+ class="org.opendaylight.netconf.sal.connect.util.NetconfTopologyRPCProvider">
+ <argument value="topology-netconf"/>
+ <argument ref="dataBroker"/>
+ <argument ref="encryptionService"/>
+ </bean>
+
+ <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>