Make netconf utilize encrypted passwords only
[netconf.git] / netconf / netconf-topology-config / src / main / resources / org / opendaylight / blueprint / netconf-topology.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  Copyright (c) 2016 Inocybe Technologies Inc. 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 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
10            xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
11            odl:use-default-for-reference-types="true">
12
13     <reference id="clientDispatcherDependency"
14                interface="org.opendaylight.netconf.client.NetconfClientDispatcher"
15                odl:type="netconf-client-dispatcher"/>
16     <reference id="keepAliveExecutor"
17                interface="org.opendaylight.controller.config.threadpool.ScheduledThreadPool"
18                odl:type="global-netconf-ssh-scheduled-executor"/>
19     <reference id="processingExecutor"
20                interface="org.opendaylight.controller.config.threadpool.ThreadPool"
21                odl:type="global-netconf-processing-executor"/>
22     <reference id="eventExecutor"
23                interface="io.netty.util.concurrent.EventExecutor"
24                odl:type="global-event-executor"/>
25     <reference id="dataBroker"
26                interface="org.opendaylight.controller.md.sal.binding.api.DataBroker"/>
27     <reference id="mountPointService"
28                interface="org.opendaylight.controller.md.sal.dom.api.DOMMountPointService"
29                odl:type="default"/>
30
31     <reference id="encryptionService"
32                interface="org.opendaylight.aaa.encrypt.AAAEncryptionService" />
33
34     <bean id="schemaRepository" class="org.opendaylight.netconf.topology.impl.SchemaRepositoryProviderImpl">
35         <argument value="shared-schema-repository-impl"/>
36     </bean>
37
38     <bean id="netconfTopology" class="org.opendaylight.netconf.topology.impl.NetconfTopologyImpl"
39           init-method="init"
40           destroy-method="close">
41         <argument value="topology-netconf"/>
42         <argument ref="clientDispatcherDependency"/>
43         <argument ref="eventExecutor"/>
44         <argument ref="keepAliveExecutor"/>
45         <argument ref="processingExecutor"/>
46         <argument ref="schemaRepository"/>
47         <argument ref="dataBroker"/>
48         <argument ref="mountPointService"/>
49         <argument ref="encryptionService" />
50     </bean>
51
52     <bean id="netconfConnectorFactory" class="org.opendaylight.netconf.topology.impl.NetconfConnectorFactoryImpl"/>
53     <service ref="netconfConnectorFactory" interface="org.opendaylight.netconf.topology.api.NetconfConnectorFactory"
54              odl:type="default"/>
55
56 </blueprint>