Correct NETCONF device configuration 95/110995/2
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 22 Mar 2024 15:30:46 +0000 (16:30 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Fri, 22 Mar 2024 15:44:15 +0000 (16:44 +0100)
We are using deprecated leaves, which are now removed. Migrate to their
long-available replacements.

Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Change-Id: Ie9b281e6067f58cdd30d46fc34c09005e9ef7025

csit/variables/netconf/device/bug8086/data.xml
csit/variables/netconf/device/configure-via-topology/data.xml
csit/variables/netconf/device/default/data.xml
csit/variables/netconf/device/full-uri-device/data.xml
csit/variables/netconf/device/full-uri-mount/data.xml

index cd62c97b8dde6ba4fdb9fd7d626f642478c361d3..cd5c26ebe6983a63dc10e8fa09eeca6c66e231a8 100644 (file)
@@ -2,8 +2,10 @@
   <node-id>$DEVICE_NAME</node-id>
   <host xmlns="urn:opendaylight:netconf-node-topology">$DEVICE_IP</host>
   <port xmlns="urn:opendaylight:netconf-node-topology">$DEVICE_PORT</port>
-  <username xmlns="urn:opendaylight:netconf-node-topology">$DEVICE_USER</username>
-  <password xmlns="urn:opendaylight:netconf-node-topology">$DEVICE_PASSWORD</password>
+  <login-password-unencrypted xmlns="urn:opendaylight:netconf-node-topology">
+    <username>$DEVICE_USER</username>
+    <password>$DEVICE_PASSWORD</password>
+  </login-password-unencrypted>
   <tcp-only xmlns="urn:opendaylight:netconf-node-topology">false</tcp-only>
   <keepalive-delay xmlns="urn:opendaylight:netconf-node-topology">0</keepalive-delay>
   <schema-cache-directory xmlns="urn:opendaylight:netconf-node-topology">$SCHEMA_DIRECTORY</schema-cache-directory>
index 6c8b35260425d33502216087eba252e141d062c3..2b453c91de52559d853692493c4f81162004bba2 100644 (file)
@@ -2,8 +2,10 @@
   <node-id>$DEVICE_NAME</node-id>
   <host xmlns="urn:opendaylight:netconf-node-topology">$DEVICE_IP</host>
   <port xmlns="urn:opendaylight:netconf-node-topology">$DEVICE_PORT</port>
-  <username xmlns="urn:opendaylight:netconf-node-topology">$DEVICE_USER</username>
-  <password xmlns="urn:opendaylight:netconf-node-topology">$DEVICE_PASSWORD</password>
+  <login-password-unencrypted xmlns="urn:opendaylight:netconf-node-topology">
+    <username>$DEVICE_USER</username>
+    <password>$DEVICE_PASSWORD</password>
+  </login-password-unencrypted>
   <tcp-only xmlns="urn:opendaylight:netconf-node-topology">false</tcp-only>
   <keepalive-delay xmlns="urn:opendaylight:netconf-node-topology">0</keepalive-delay>
 </node>
index 295f00c35e2a428939191039467f7f3229d239f7..052d161000e42e67ab420462391555fd568a3a4e 100644 (file)
@@ -3,8 +3,10 @@
   <name>$DEVICE_NAME</name>
   <address xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf">$DEVICE_IP</address>
   <port xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf">$DEVICE_PORT</port>
-  <username xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf">$DEVICE_USER</username>
-  <password xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf">$DEVICE_PASSWORD</password>
+  <login-password-unencrypted xmlns="urn:opendaylight:netconf-node-topology">
+    <username>$DEVICE_USER</username>
+    <password>$DEVICE_PASSWORD</password>
+  </login-password-unencrypted>
   <tcp-only xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf">false</tcp-only>
   <event-executor xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf">
     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netty">prefix:netty-event-executor</type>
index 6c8b35260425d33502216087eba252e141d062c3..2b453c91de52559d853692493c4f81162004bba2 100644 (file)
@@ -2,8 +2,10 @@
   <node-id>$DEVICE_NAME</node-id>
   <host xmlns="urn:opendaylight:netconf-node-topology">$DEVICE_IP</host>
   <port xmlns="urn:opendaylight:netconf-node-topology">$DEVICE_PORT</port>
-  <username xmlns="urn:opendaylight:netconf-node-topology">$DEVICE_USER</username>
-  <password xmlns="urn:opendaylight:netconf-node-topology">$DEVICE_PASSWORD</password>
+  <login-password-unencrypted xmlns="urn:opendaylight:netconf-node-topology">
+    <username>$DEVICE_USER</username>
+    <password>$DEVICE_PASSWORD</password>
+  </login-password-unencrypted>
   <tcp-only xmlns="urn:opendaylight:netconf-node-topology">false</tcp-only>
   <keepalive-delay xmlns="urn:opendaylight:netconf-node-topology">0</keepalive-delay>
 </node>
index 6c8b35260425d33502216087eba252e141d062c3..2b453c91de52559d853692493c4f81162004bba2 100644 (file)
@@ -2,8 +2,10 @@
   <node-id>$DEVICE_NAME</node-id>
   <host xmlns="urn:opendaylight:netconf-node-topology">$DEVICE_IP</host>
   <port xmlns="urn:opendaylight:netconf-node-topology">$DEVICE_PORT</port>
-  <username xmlns="urn:opendaylight:netconf-node-topology">$DEVICE_USER</username>
-  <password xmlns="urn:opendaylight:netconf-node-topology">$DEVICE_PASSWORD</password>
+  <login-password-unencrypted xmlns="urn:opendaylight:netconf-node-topology">
+    <username>$DEVICE_USER</username>
+    <password>$DEVICE_PASSWORD</password>
+  </login-password-unencrypted>
   <tcp-only xmlns="urn:opendaylight:netconf-node-topology">false</tcp-only>
   <keepalive-delay xmlns="urn:opendaylight:netconf-node-topology">0</keepalive-delay>
 </node>