[NETCONF-1198] Adapt netconf testtool for login-password removal Created: 09/Nov/23  Updated: 09/Jan/24  Resolved: 10/Nov/23

Status: Resolved
Project: netconf
Component/s: None
Affects Version/s: None
Fix Version/s: 7.0.0

Type: Bug Priority: Medium
Reporter: Ivan Hrasko Assignee: Samuel Schneider
Resolution: Done Votes: 0
Labels: pt, regression
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to NETCONF-1187 Remove deprecated way of configuring ... Resolved

 Description   

Adapt testtool for change introduced by https://jira.opendaylight.org/browse/NETCONF-1187.

You can use login-password-unencrypted option in logic at PayloadCreator.java.



 Comments   
Comment by Ivan Hrasko [ 09/Nov/23 ]

The password will be set like this:

{
    "node": [
        {
            "node-id": "netconf-device",
            "netconf-node-topology:port": 36001,
            "netconf-node-topology:reconnect-on-changed-schema": false,
            "netconf-node-topology:connection-timeout-millis": 20000,
            "netconf-node-topology:tcp-only": false,
            "netconf-node-topology:max-connection-attempts": 5,
            "login-password-unencrypted": {
                "netconf-node-topology:username": "admin",
                "netconf-node-topology:password": "admin"
            },
            "netconf-node-topology:sleep-factor": 1.5,
            "netconf-node-topology:host": "127.0.0.1",
            "netconf-node-topology:between-attempts-timeout-millis": 2000,
            "netconf-node-topology:keepalive-delay": 120
        }
    ]
}
Generated at Wed Feb 07 20:16:54 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.