Add authentication to post to flowObjTest REST API
Change-Id: Id4f07f33ed9f9b5b626c11341d830a8e939c6d0a
diff --git a/tools/test/bin/flow-obj-tester.py b/tools/test/bin/flow-obj-tester.py
index 76f01ad..9f0b03a 100644
--- a/tools/test/bin/flow-obj-tester.py
+++ b/tools/test/bin/flow-obj-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(flowObjPerDevice, typeObj, neighbours, url, servers, doJson, remove):