Fix paths for external resources
Change-Id: I8996af7d00d78732ab88cfa889e1ed3d9cfb51dd
diff --git a/libraries/utils.robot b/libraries/utils.robot
index 803ce98..58c039a 100644
--- a/libraries/utils.robot
+++ b/libraries/utils.robot
@@ -48,17 +48,18 @@
[Documentation] Setup the test suite
# BBSim sanity test doesn't need these imports from other repositories
Run Keyword If ${external_libs} Import Library
- ... ${CURDIR}/../../../voltha/tests/atests/common/testCaseUtils.py
+ ... ${CURDIR}/../../voltha/tests/atests/common/testCaseUtils.py
Run Keyword If ${external_libs} Import Resource
- ... ${CURDIR}/../../../cord-tester/src/test/cord-api/Framework/Subscriber.robot
+ ... ${CURDIR}/../../cord-tester/src/test/cord-api/Framework/Subscriber.robot
Run Keyword If ${external_libs} Import Resource
- ... ${CURDIR}/../../../cord-tester/src/test/cord-api/Framework/OLT.robot
+ ... ${CURDIR}/../../cord-tester/src/test/cord-api/Framework/OLT.robot
Run Keyword If ${external_libs} Import Resource
- ... ${CURDIR}/../../../cord-tester/src/test/cord-api/Framework/DHCP.robot
+ ... ${CURDIR}/../../cord-tester/src/test/cord-api/Framework/DHCP.robot
Run Keyword If ${external_libs} Import Resource
- ... ${CURDIR}/../../../cord-tester/src/test/cord-api/Framework/Kubernetes.robot
+ ... ${CURDIR}/../../cord-tester/src/test/cord-api/Framework/Kubernetes.robot
Set Global Variable ${KUBECTL_CONFIG} export KUBECONFIG=%{KUBECONFIG}
Set Global Variable ${VOLTCTL_CONFIG} export VOLTCONFIG=%{VOLTCONFIG}
+ Set Global Variable ${export_kubeconfig} export KUBECONFIG=%{KUBECONFIG}
${k8s_node_ip}= Evaluate ${nodes}[0].get("ip")
${k8s_node_user}= Evaluate ${nodes}[0].get("user")
${k8s_node_pass}= Evaluate ${nodes}[0].get("pass")
@@ -73,7 +74,7 @@
${num_onus}= Get Length ${hosts.src}
${num_onus}= Convert to String ${num_onus}
#send sadis file to onos
- ${sadis_file}= Evaluate ${sadis}.get("file")
+ ${sadis_file}= Get Variable Value ${sadis.file}
Log To Console \nSadis File:${sadis_file}
Run Keyword Unless '${sadis_file}' is '${None}' Send File To Onos ${sadis_file} apps/
Set Suite Variable ${num_onus}