Bug 4567 - CSIT config xml contains outdated config
[integration/test.git] / csit / suites / sxp / scripts / basic_node_setup.sh
index 6ec909a5995146f79fe89874a28664f5a87a3905..ed8d173d9675e6eecead83a78038d5128d4b24b0 100644 (file)
@@ -3,4 +3,8 @@
 echo "Setup config to ${ODL_SYSTEM_IP}"
 ssh ${ODL_SYSTEM_IP} "mkdir -p /tmp/${BUNDLEFOLDER}/etc/opendaylight/karaf/"
 
-scp ${WORKSPACE}/test/csit/suites/sxp/basic/22-sxp-controller-one-node.xml ${ODL_SYSTEM_IP}:/tmp/${BUNDLEFOLDER}/etc/opendaylight/karaf/
+if [ "${BRANCH#*/}" == "lithium" ]; then
+    scp ${WORKSPACE}/test/csit/suites/sxp/basic/22-sxp-controller-one-node-lithium.xml ${ODL_SYSTEM_IP}:/tmp/${BUNDLEFOLDER}/etc/opendaylight/karaf/22-sxp-controller-one-node.xml
+else
+    scp ${WORKSPACE}/test/csit/suites/sxp/basic/22-sxp-controller-one-node.xml ${ODL_SYSTEM_IP}:/tmp/${BUNDLEFOLDER}/etc/opendaylight/karaf/
+fi