Bind SshClient/SshServer to NettyIoServiceFactoryFactory 35/107935/3
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 21 Sep 2023 02:53:52 +0000 (04:53 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 21 Sep 2023 12:35:15 +0000 (14:35 +0200)
commit2a9984350c87c388b64115f66f563d5217122273
treeb68d232155998f09e7482aeb94c68ccb6fece6e2
parent233ae2044b0b99e11ee33c47d09d31cb4e3a1117
Bind SshClient/SshServer to NettyIoServiceFactoryFactory

Our implementation are captives of SSHTransportStackFactory and
therefore should be bound to a particular EventLoopGroup and not delve
into DefaultIoServiceFactoryFactory's
getDefaultIoServiceFactoryFactoryInstance(), which works with
ServiceLoader.

Pass down NettyIoServiceFactoryFactory to make sure the configuration
does not stray from the path we have set for it.

JIRA: NETCONF-590
Change-Id: I32fc9115a28cb60cae1960293416a62a96529aec
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
transport/transport-ssh/src/main/java/org/opendaylight/netconf/transport/ssh/SSHClient.java
transport/transport-ssh/src/main/java/org/opendaylight/netconf/transport/ssh/SSHServer.java
transport/transport-ssh/src/main/java/org/opendaylight/netconf/transport/ssh/SSHTransportStackFactory.java
transport/transport-ssh/src/main/java/org/opendaylight/netconf/transport/ssh/TransportSshClient.java
transport/transport-ssh/src/main/java/org/opendaylight/netconf/transport/ssh/TransportSshServer.java