BUG 8839: Revert "Make netconf utilize encrypted passwords only"
[netconf.git] / netconf / callhome-provider / src / main / java / org / opendaylight / netconf / callhome / mount / CallHomeTopology.java
1 /*
2  * Copyright (c) 2016 Brocade Communication Systems and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8
9 package org.opendaylight.netconf.callhome.mount;
10
11 import io.netty.util.concurrent.EventExecutor;
12 import org.opendaylight.controller.config.threadpool.ScheduledThreadPool;
13 import org.opendaylight.controller.config.threadpool.ThreadPool;
14 import org.opendaylight.controller.md.sal.binding.api.DataBroker;
15 import org.opendaylight.controller.md.sal.dom.api.DOMMountPointService;
16 import org.opendaylight.netconf.client.NetconfClientDispatcher;
17 import org.opendaylight.netconf.sal.connect.api.RemoteDeviceHandler;
18 import org.opendaylight.netconf.sal.connect.netconf.listener.NetconfSessionPreferences;
19 import org.opendaylight.netconf.sal.connect.netconf.sal.NetconfDeviceSalFacade;
20 import org.opendaylight.netconf.sal.connect.util.RemoteDeviceId;
21 import org.opendaylight.netconf.topology.api.SchemaRepositoryProvider;
22
23 public class CallHomeTopology extends BaseCallHomeTopology {
24
25     public CallHomeTopology(final String topologyId, final NetconfClientDispatcher clientDispatcher,
26                             final EventExecutor eventExecutor,
27                             final ScheduledThreadPool keepaliveExecutor, final ThreadPool processingExecutor,
28                             final SchemaRepositoryProvider schemaRepositoryProvider,
29                             final DataBroker dataBroker, final DOMMountPointService mountPointService) {
30         super(topologyId, clientDispatcher, eventExecutor,
31                 keepaliveExecutor, processingExecutor, schemaRepositoryProvider,
32                 dataBroker, mountPointService);
33     }
34
35     @Override
36     protected RemoteDeviceHandler<NetconfSessionPreferences> createSalFacade(final RemoteDeviceId id) {
37         return new NetconfDeviceSalFacade(id, mountPointService, dataBroker);
38     }
39 }