From b17dfb70fa80a42667322fafa711e4c3094f50ec Mon Sep 17 00:00:00 2001 From: Marek Gradzki Date: Tue, 30 Jan 2018 10:35:11 +0100 Subject: HONEYCOMB-414: use NetconfNorthboundSshServer for NETCONF initialization instead of rewriting it in HC. Change-Id: Id2b5cb1b7bcd38728721ce92a7b5dbe1d919731c Signed-off-by: Marek Gradzki --- .../main/java/io/fd/honeycomb/northbound/netconf/NetconfModule.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'infra/northbound/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfModule.java') diff --git a/infra/northbound/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfModule.java b/infra/northbound/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfModule.java index d9a85cce1..509f5b898 100644 --- a/infra/northbound/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfModule.java +++ b/infra/northbound/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfModule.java @@ -43,6 +43,7 @@ import org.opendaylight.netconf.notifications.NetconfNotificationCollector; import org.opendaylight.netconf.notifications.NetconfNotificationListener; import org.opendaylight.netconf.notifications.NetconfNotificationRegistry; import org.opendaylight.netconf.notifications.impl.NetconfNotificationManager; +import org.opendaylight.netconf.ssh.NetconfNorthboundSshServer; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -138,8 +139,7 @@ public class NetconfModule extends NorthboundPrivateModule bind(NetconfTcpServerProvider.NetconfTcpServer.class).toProvider(NetconfTcpServerProvider.class) .asEagerSingleton(); expose(NetconfTcpServerProvider.NetconfTcpServer.class); - bind(NetconfSshServerProvider.NetconfSshServer.class).toProvider(NetconfSshServerProvider.class) - .asEagerSingleton(); - return expose(NetconfSshServerProvider.NetconfSshServer.class); + bind(NetconfNorthboundSshServer.class).toProvider(NetconfSshServerProvider.class).asEagerSingleton(); + return expose(NetconfNorthboundSshServer.class); } } -- cgit 1.2.3-korg