Switch to using RFC9643 models 69/113969/3
authorRobert Varga <robert.varga@pantheon.tech>
Sat, 12 Oct 2024 18:36:55 +0000 (20:36 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 14 Oct 2024 07:53:58 +0000 (09:53 +0200)
commitac0e411fb7847c73345e5d56d85f5655ca28a6ed
tree87f40b81686651f11fbf517e36677c5796952919
parentc76883ad3d5c01d02f8db0825f6225da191d2c33
Switch to using RFC9643 models

ietf-tcp-{client,common,server}.yang have been published in RFC9643 and
are available from MD-SAL.

This patch switches to using them instead of the old draft, but only
supports single address binding for now.

It also requires updating the client/server models to match the
multi-listen capability -- which we pick up in the exact shape as the
latests drafts.

Change-Id: Id2ee382b6d988679a65a2812b51af8653e22d6c1
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
41 files changed:
apps/callhome-provider/src/main/java/org/opendaylight/netconf/topology/callhome/CallHomeSshServer.java
apps/callhome-provider/src/main/java/org/opendaylight/netconf/topology/callhome/CallHomeTlsServer.java
apps/netconf-nb/src/main/java/org/opendaylight/netconf/northbound/SshServerTransport.java
apps/netconf-nb/src/main/java/org/opendaylight/netconf/northbound/TcpServerTransport.java
features/odl-netconf-transport/pom.xml
model/draft-ietf-restconf-server/src/main/yang/ietf-restconf-server@2024-02-08.yang
netconf/tools/netconf-testtool/src/main/java/org/opendaylight/netconf/test/tool/NetconfDeviceSimulator.java
protocol/netconf-client/src/main/java/org/opendaylight/netconf/client/conf/NetconfClientConfiguration.java
protocol/netconf-client/src/main/java/org/opendaylight/netconf/client/conf/NetconfClientConfigurationBuilder.java
protocol/netconf-client/src/main/yang/ietf-netconf-client@2024-02-08.yang
protocol/netconf-client/src/test/java/org/opendaylight/netconf/client/NetconfClientConfigurationTest.java
protocol/netconf-client/src/test/java/org/opendaylight/netconf/client/NetconfClientFactoryImplTest.java
protocol/netconf-server/src/main/yang/ietf-netconf-server@2024-02-08.yang
protocol/netconf-server/src/test/java/org/opendaylight/netconf/server/ConcurrentClientsTest.java
protocol/restconf-client/src/main/yang/ietf-restconf-client@2024-02-08.yang
transport/transport-http/pom.xml
transport/transport-http/src/main/java/org/opendaylight/netconf/transport/http/ConfigUtils.java
transport/transport-http/src/main/java/org/opendaylight/netconf/transport/http/HTTPClient.java
transport/transport-ssh/pom.xml
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/test/java/org/opendaylight/netconf/transport/ssh/SshClientServerTest.java
transport/transport-tcp/pom.xml
transport/transport-tcp/src/main/java/org/opendaylight/netconf/transport/tcp/AbstractNettyImpl.java
transport/transport-tcp/src/main/java/org/opendaylight/netconf/transport/tcp/EpollNettyImpl.java
transport/transport-tcp/src/main/java/org/opendaylight/netconf/transport/tcp/IetfTcpClientFeatureProvider.java
transport/transport-tcp/src/main/java/org/opendaylight/netconf/transport/tcp/IetfTcpCommonFeatureProvider.java
transport/transport-tcp/src/main/java/org/opendaylight/netconf/transport/tcp/IetfTcpServerFeatureProvider.java
transport/transport-tcp/src/main/java/org/opendaylight/netconf/transport/tcp/NettyTransportSupport.java
transport/transport-tcp/src/main/java/org/opendaylight/netconf/transport/tcp/NioNettyImpl.java
transport/transport-tcp/src/main/java/org/opendaylight/netconf/transport/tcp/TCPClient.java
transport/transport-tcp/src/main/java/org/opendaylight/netconf/transport/tcp/TCPServer.java
transport/transport-tcp/src/main/yang/ietf-tcp-client@2024-02-08.yang [deleted file]
transport/transport-tcp/src/main/yang/ietf-tcp-common@2024-02-08.yang [deleted file]
transport/transport-tcp/src/main/yang/ietf-tcp-server@2024-02-08.yang [deleted file]
transport/transport-tcp/src/test/java/org/opendaylight/netconf/transport/tcp/TCPClientServerTest.java
transport/transport-tls/pom.xml
transport/transport-tls/src/main/java/org/opendaylight/netconf/transport/tls/TLSClient.java
transport/transport-tls/src/main/java/org/opendaylight/netconf/transport/tls/TLSServer.java
transport/transport-tls/src/test/java/org/opendaylight/netconf/transport/tls/TlsClientServerTest.java