Call-Home provider migration to transport-api 81/108881/13
authorRuslan Kashapov <ruslan.kashapov@pantheon.tech>
Wed, 1 Nov 2023 08:57:22 +0000 (10:57 +0200)
committerRobert Varga <nite@hq.sk>
Tue, 5 Dec 2023 19:49:58 +0000 (19:49 +0000)
commitd9e2c4371c3b46c69482aad989a78de5fab4e26e
tree8d1955a2b347e21d990b810c2421f1cee179ada0
parent82a4a9b7371aa8e8f4a13aef73cafb75891d568f
Call-Home provider migration to transport-api

- new implementation of callhome-server (using on transport-api)
  replacing callhome-protocol
- callhome-provider updated to use callhome-server
- status update for call-home devices no longer uses change
  listener of topology data tree as connection status source,
  uses implementation of CallHomeStatusReporter instead
- call-home data tree sync moved from
  IetfZeroTouchCallHomeServerProvider to CallHomeMountStatusReporter
- configuration provided for OSGI services serving as call-home servers

JIRA: NETCONF-1183
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
Change-Id: I8aa57413acbbe5e7cb7f3ebd4ce6a662f1d668ea
64 files changed:
apps/callhome-provider/pom.xml
apps/callhome-provider/src/main/java/org/opendaylight/netconf/callhome/mount/AuthorizedKeysDecoder.java [moved from netconf/callhome-protocol/src/main/java/org/opendaylight/netconf/callhome/protocol/AuthorizedKeysDecoder.java with 99% similarity]
apps/callhome-provider/src/main/java/org/opendaylight/netconf/callhome/mount/CallHomeMountFactory.java [deleted file]
apps/callhome-provider/src/main/java/org/opendaylight/netconf/callhome/mount/CallHomeMountService.java [new file with mode: 0644]
apps/callhome-provider/src/main/java/org/opendaylight/netconf/callhome/mount/CallHomeMountSessionContext.java [deleted file]
apps/callhome-provider/src/main/java/org/opendaylight/netconf/callhome/mount/CallHomeMountSessionManager.java [deleted file]
apps/callhome-provider/src/main/java/org/opendaylight/netconf/callhome/mount/CallHomeMountSshAuthProvider.java [moved from apps/callhome-provider/src/main/java/org/opendaylight/netconf/callhome/mount/CallHomeAuthProviderImpl.java with 84% similarity]
apps/callhome-provider/src/main/java/org/opendaylight/netconf/callhome/mount/CallHomeMountStatusReporter.java [new file with mode: 0644]
apps/callhome-provider/src/main/java/org/opendaylight/netconf/callhome/mount/CallHomeTopology.java
apps/callhome-provider/src/main/java/org/opendaylight/netconf/callhome/mount/CallhomeStatusReporter.java [deleted file]
apps/callhome-provider/src/main/java/org/opendaylight/netconf/callhome/mount/Configuration.java [deleted file]
apps/callhome-provider/src/main/java/org/opendaylight/netconf/callhome/mount/ContextKey.java [deleted file]
apps/callhome-provider/src/main/java/org/opendaylight/netconf/callhome/mount/IetfZeroTouchCallHomeServerProvider.java
apps/callhome-provider/src/main/java/org/opendaylight/netconf/callhome/mount/tls/CallHomeMountTlsAuthProvider.java [moved from apps/callhome-provider/src/main/java/org/opendaylight/netconf/callhome/mount/tls/TlsAllowedDevicesMonitorImpl.java with 85% similarity]
apps/callhome-provider/src/main/java/org/opendaylight/netconf/callhome/mount/tls/Configuration.java [deleted file]
apps/callhome-provider/src/main/java/org/opendaylight/netconf/callhome/mount/tls/NetconfCallHomeTlsService.java
apps/callhome-provider/src/main/java/org/opendaylight/netconf/callhome/mount/tls/SslHandlerFactoryAdapter.java [deleted file]
apps/callhome-provider/src/test/java/org/opendaylight/netconf/callhome/mount/CallHomeMountFactoryTest.java [deleted file]
apps/callhome-provider/src/test/java/org/opendaylight/netconf/callhome/mount/CallHomeMountServiceTest.java [new file with mode: 0644]
apps/callhome-provider/src/test/java/org/opendaylight/netconf/callhome/mount/CallHomeMountSessionContextTest.java [deleted file]
apps/callhome-provider/src/test/java/org/opendaylight/netconf/callhome/mount/ContextKeyTest.java [deleted file]
artifacts/pom.xml
features/odl-netconf-callhome-ssh/pom.xml
netconf/callhome-protocol/pom.xml [deleted file]
netconf/callhome-protocol/src/main/java/org/opendaylight/netconf/callhome/protocol/CallHomeAuthorization.java [deleted file]
netconf/callhome-protocol/src/main/java/org/opendaylight/netconf/callhome/protocol/CallHomeAuthorizationProvider.java [deleted file]
netconf/callhome-protocol/src/main/java/org/opendaylight/netconf/callhome/protocol/CallHomeChannelActivator.java [deleted file]
netconf/callhome-protocol/src/main/java/org/opendaylight/netconf/callhome/protocol/CallHomeNetconfSubsystemListener.java [deleted file]
netconf/callhome-protocol/src/main/java/org/opendaylight/netconf/callhome/protocol/CallHomeProtocolSessionContext.java [deleted file]
netconf/callhome-protocol/src/main/java/org/opendaylight/netconf/callhome/protocol/CallHomeSessionContext.java [deleted file]
netconf/callhome-protocol/src/main/java/org/opendaylight/netconf/callhome/protocol/MinaSshNettyChannel.java [deleted file]
netconf/callhome-protocol/src/main/java/org/opendaylight/netconf/callhome/protocol/NetconfCallHomeServer.java [deleted file]
netconf/callhome-protocol/src/main/java/org/opendaylight/netconf/callhome/protocol/NetconfCallHomeServerBuilder.java [deleted file]
netconf/callhome-protocol/src/main/java/org/opendaylight/netconf/callhome/protocol/ReverseSshChannelInitializer.java [deleted file]
netconf/callhome-protocol/src/main/java/org/opendaylight/netconf/callhome/protocol/StatusRecorder.java [deleted file]
netconf/callhome-protocol/src/main/java/org/opendaylight/netconf/callhome/protocol/tls/CallHomeTlsSessionContext.java [deleted file]
netconf/callhome-protocol/src/main/java/org/opendaylight/netconf/callhome/protocol/tls/NetconfCallHomeTlsServer.java [deleted file]
netconf/callhome-protocol/src/main/java/org/opendaylight/netconf/callhome/protocol/tls/NetconfCallHomeTlsServerBuilder.java [deleted file]
netconf/callhome-protocol/src/main/java/org/opendaylight/netconf/callhome/protocol/tls/TlsAllowedDevicesMonitor.java [deleted file]
netconf/callhome-protocol/src/main/java/org/opendaylight/netconf/callhome/protocol/tls/TlsAuthChannelInitializer.java [deleted file]
netconf/callhome-protocol/src/test/java/org/opendaylight/netconf/callhome/protocol/AuthorizedKeysDecoderTest.java [deleted file]
netconf/callhome-protocol/src/test/java/org/opendaylight/netconf/callhome/protocol/CallHomeAuthorizationTest.java [deleted file]
netconf/callhome-protocol/src/test/java/org/opendaylight/netconf/callhome/protocol/CallHomeSessionContextTest.java [deleted file]
netconf/callhome-protocol/src/test/java/org/opendaylight/netconf/callhome/protocol/MinaSshNettyChannelTest.java [deleted file]
netconf/callhome-protocol/src/test/java/org/opendaylight/netconf/callhome/protocol/NetconfCallHomeServerTest.java [deleted file]
netconf/callhome-protocol/src/test/resources/mockito-extensions/org.mockito.plugins.MockMaker [deleted file]
netconf/callhome-server/pom.xml [new file with mode: 0644]
netconf/callhome-server/src/main/java/org/opendaylight/netconf/callhome/server/AbstractCallHomeSessionContextManager.java [new file with mode: 0644]
netconf/callhome-server/src/main/java/org/opendaylight/netconf/callhome/server/CallHomeSessionContext.java [new file with mode: 0644]
netconf/callhome-server/src/main/java/org/opendaylight/netconf/callhome/server/CallHomeSessionContextManager.java [new file with mode: 0644]
netconf/callhome-server/src/main/java/org/opendaylight/netconf/callhome/server/CallHomeStatusRecorder.java [new file with mode: 0644]
netconf/callhome-server/src/main/java/org/opendaylight/netconf/callhome/server/CallHomeTransportChannelListener.java [new file with mode: 0644]
netconf/callhome-server/src/main/java/org/opendaylight/netconf/callhome/server/ssh/CallHomeSshAuthProvider.java [new file with mode: 0644]
netconf/callhome-server/src/main/java/org/opendaylight/netconf/callhome/server/ssh/CallHomeSshAuthSettings.java [new file with mode: 0644]
netconf/callhome-server/src/main/java/org/opendaylight/netconf/callhome/server/ssh/CallHomeSshServer.java [new file with mode: 0644]
netconf/callhome-server/src/main/java/org/opendaylight/netconf/callhome/server/ssh/CallHomeSshSessionContext.java [new file with mode: 0644]
netconf/callhome-server/src/main/java/org/opendaylight/netconf/callhome/server/ssh/CallHomeSshSessionContextManager.java [new file with mode: 0644]
netconf/callhome-server/src/main/java/org/opendaylight/netconf/callhome/server/tls/CallHomeTlsAuthProvider.java [new file with mode: 0644]
netconf/callhome-server/src/main/java/org/opendaylight/netconf/callhome/server/tls/CallHomeTlsServer.java [new file with mode: 0644]
netconf/callhome-server/src/main/java/org/opendaylight/netconf/callhome/server/tls/CallHomeTlsSessionContext.java [new file with mode: 0644]
netconf/callhome-server/src/main/java/org/opendaylight/netconf/callhome/server/tls/CallHomeTlsSessionContextManager.java [new file with mode: 0644]
netconf/callhome-server/src/test/java/org/opendaylight/netconf/callhome/server/ssh/CallHomeSshServerTest.java [new file with mode: 0644]
netconf/callhome-server/src/test/java/org/opendaylight/netconf/callhome/server/tls/CallHomeTlsServerTest.java [new file with mode: 0644]
netconf/pom.xml