Centralize NETCONF over SSH subsystem name 00/108600/4
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 23 Oct 2023 17:12:24 +0000 (19:12 +0200)
committerIvan Hrasko <ivan.hrasko@pantheon.tech>
Tue, 24 Oct 2023 06:45:01 +0000 (06:45 +0000)
commit33631d99f259c0d0f4f696acaf1a9c25a2ae09f1
tree86209694ebe8d175eaef0f1d11b53ed3ab51bed0
parent1c1ab4ebb81ce9a44128b4a02629b7c06d13bc2e
Centralize NETCONF over SSH subsystem name

We have quite a few places which hard-code the "netconf" string.
Centralize them in TransportConstants along with pointer to where it is
defined.

JIRA: NETCONF-1106
JIRA: NETCONF-1108
Change-Id: Ifc273c084a59f52c37c7d123de7256f682d5a0d9
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
apps/netconf-nb/src/main/java/org/opendaylight/netconf/northbound/SshServerTransport.java
netconf/callhome-protocol/src/main/java/org/opendaylight/netconf/callhome/protocol/CallHomeSessionContext.java
netconf/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/ssh/client/AsyncSshHandler.java
protocol/netconf-api/src/main/java/org/opendaylight/netconf/api/TransportConstants.java [new file with mode: 0644]
protocol/netconf-client/src/main/java/org/opendaylight/netconf/client/NetconfClientFactoryImpl.java
protocol/netconf-server/src/main/java/org/opendaylight/netconf/server/NetconfServerFactoryImpl.java