Add manifest file support to cord tester robot
Change-Id: Ic06c662e1b9ee5aadc88e05fbb0c032af4233685
diff --git a/src/test/robot/cord_resource.robot b/src/test/robot/cord_resource.robot
index b487063..039ff0b 100644
--- a/src/test/robot/cord_resource.robot
+++ b/src/test/robot/cord_resource.robot
@@ -7,6 +7,7 @@
*** Variables ***
${CORD_TESTER} %{HOME}/cord-tester/src/test/setup/cord-test.py
+${MANIFEST} %{HOME}/manifest.unused
${RESTPORT} 8181
${NODES} 1
${EXTRA_OPTS}
@@ -15,7 +16,7 @@
Cord Setup
[Documentation] Setup the cord tester
Cord Teardown
- ${rc}= Run and Return RC sudo ${CORD_TESTER} setup --olt --start-switch -n ${NODES} ${EXTRA_OPTS}
+ ${rc}= Run and Return RC sudo ${CORD_TESTER} setup --olt --start-switch -n ${NODES} -m ${MANIFEST} ${EXTRA_OPTS}
Should Be Equal As Integers ${rc} 0
${test_container}= Run sudo docker ps | grep cord-tester | tail -1 | tr -s ' ' | awk '{print $NF}'
${controllers}= Run sudo docker ps | grep cord-onos | tr -s ' ' | awk '{print $NF}' | tr -s '\n' ' '
@@ -32,7 +33,7 @@
Cord Teardown
[Documentation] Teardown the cord tester setup
- ${output}= Run sudo ${CORD_TESTER} cleanup --olt
+ ${output}= Run sudo ${CORD_TESTER} cleanup --olt -m ${MANIFEST}
Create HTTP Sessions
[Documentation] Create controller http sessions