Fix scale util test tool
[netconf.git] / netconf / tools / netconf-testtool / src / main / java / org / opendaylight / netconf / test / tool / TesttoolParameters.java
index 7f25e2609f352e1a92dfeb81d5ce64c77f47b919..e95fc6bb78dd4c12ab60873cd1962aca0f73a053 100644 (file)
@@ -132,6 +132,7 @@ 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/...)"
@@ -140,6 +141,7 @@ 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/...) "