Add authentication to post to FlowTest REST API
Change-Id: I0392f986f2619a6fd0821c0b0b8e02c071d2231f
(cherry picked from commit e9487b0dc8cb96aa897b42a969fe6b5bac98b881)
diff --git a/tools/test/bin/flow-tester.py b/tools/test/bin/flow-tester.py
index d77a861..bd43a18 100644
--- a/tools/test/bin/flow-tester.py
+++ b/tools/test/bin/flow-tester.py
@@ -4,7 +4,7 @@
def run(url, request):
data = json.dumps(request)
- r = requests.post(url, data)
+ r = requests.post(url, data, auth=("onos", "rocks"))
return r
def runTasks(flowPerDevice, neighbours, url, servers, doJson, remove):