A proof of concept web configuration server for cord-tester using flask (thin python webframework)
With this, you can pretty much load the test case configure before running cord-tester.
Then run the cord-tester and finally restore.
To try:
Start the web server first:
./webserver-run.py
Then run a curl get to retrieve test case config.
./webserver-get.curl
Then post the test case config (example for cluster test):
./webserver-post.curl
If you want to restore, answer y and it would restore the config back.
This allows us to load test case configuration profiles before running automation with the config.
And finally restore the config on automation complete.

Change-Id: I90c603856761fbe2ee9c0fad23d10626899d35d3
diff --git a/src/test/setup/webserver-get.curl b/src/test/setup/webserver-get.curl
new file mode 100755
index 0000000..bdaf7f8
--- /dev/null
+++ b/src/test/setup/webserver-get.curl
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+
+# example cord test web get to retrieve config from voltha test case
+
+curl  -H "Content-Type: application/json" -X GET -d '{"test_case" : "voltha"}' http://localhost:5000/get
\ No newline at end of file