Remove default controller values in testtol 00/104400/5
authorPeter Suna <peter.suna@pantheon.tech>
Wed, 15 Feb 2023 13:51:48 +0000 (14:51 +0100)
committerRobert Varga <nite@hq.sk>
Mon, 27 Mar 2023 13:01:42 +0000 (13:01 +0000)
The default values cannot be removed from
netconf-testtool, which means that it is not possible
to turn off the auto-connect functionality.

JIRA: NETCONF-947
Change-Id: Ic8bf0730717e312ca6d7daee3a984f5b6a14419f
Signed-off-by: Peter Suna <peter.suna@pantheon.tech>
netconf/tools/netconf-testtool/src/main/java/org/opendaylight/netconf/test/tool/TesttoolParameters.java

index e359aca6fa179d104ef5dfdc70f814b98de0bdc6..4c4c53d2378e4ce7c700c2f432bbfe34330127c8 100644 (file)
@@ -119,7 +119,6 @@ public final class TesttoolParameters {
 
         parser.addArgument("--controller-ip")
                 .type(String.class)
-                .setDefault("127.0.0.1")
                 .help("Ip of controller if available it will be used for spawning netconf connectors via topology"
                         + " configuration as a part of"
                         + " URI(http://<controller-ip>:<controller-port>/rests/data/...)"
@@ -128,7 +127,6 @@ public final class TesttoolParameters {
 
         parser.addArgument("--controller-port")
                 .type(Integer.class)
-                .setDefault(8181)
                 .help("Port of controller if available it will be used for spawning netconf connectors via topology "
                         + "configuration as a part of"
                         + " URI(http://<controller-ip>:<controller-port>/rests/data/...) "