Add App Id to flows creation

Change-Id: I65a4b47713954ef029c1c69234c58b1794acc8fc
diff --git a/tools/test/scenarios/bin/create-flow.py b/tools/test/scenarios/bin/create-flow.py
index 4e9b452..9d709a0 100755
--- a/tools/test/scenarios/bin/create-flow.py
+++ b/tools/test/scenarios/bin/create-flow.py
@@ -40,15 +40,17 @@
     '}}'
 
 flowJson = flowJsonTemplate.format(inPort, outPort)
-intentRequest = requests.post('http://' + node + ':8181/onos/v1/flows/' + device,
+payload = {'appId': 'org.onosproject.cli'}
+flowRequest = requests.post('http://' + node + ':8181/onos/v1/flows/' + device,
                               auth=HTTPBasicAuth('onos', 'rocks'),
-                              data=flowJson)
+                              data=flowJson,
+                              params=payload)
 
-if intentRequest.status_code != 201:
-    print intentRequest.text
+if flowRequest.status_code != 201:
+    print flowRequest.text
     sys.exit(1)
 
-location = intentRequest.headers["location"]
+location = flowRequest.headers["location"]
 print "@stc " + name + "Location=" + location
 sys.exit(0)