Change getter.py script so it does not use token 84/84984/4
authorLuis Gomez <ecelgp@gmail.com>
Mon, 7 Oct 2019 23:06:13 +0000 (16:06 -0700)
committerLuis Gomez <ecelgp@gmail.com>
Tue, 8 Oct 2019 00:21:16 +0000 (17:21 -0700)
If scope variable is not set, the script will use
basic authn vs token. This will fix netconf scale
tests in sodium and beyond.

Change-Id: I7c3ec5e59ba690d096580850d410a57389c1f093
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
tools/netconf_tools/getter.py

index 7ef251b1170593bb222d118e2e884bdbb9ba9a06..4596277807bdff48a8b9264e9a2a4a9d8b0f7100 100644 (file)
@@ -53,7 +53,7 @@ def parse_arguments():
                         help='Username for ODL Restconf authentication')
     parser.add_argument('--password', default='admin',
                         help='Password for ODL Restconf authentication')
-    parser.add_argument('--scope', default='sdn',
+    parser.add_argument('--scope',
                         help='Scope for ODL Restconf authentication')
     parser.add_argument('--count', type=int,
                         help='Count of devices to query')