Bug 4567 - CSIT config xml contains outdated config
[integration/test.git] / csit / suites / sxp / scripts / basic_node_setup.sh
1 #!/bin/bash
2
3 echo "Setup config to ${ODL_SYSTEM_IP}"
4 ssh ${ODL_SYSTEM_IP} "mkdir -p /tmp/${BUNDLEFOLDER}/etc/opendaylight/karaf/"
5
6 if [ "${BRANCH#*/}" == "lithium" ]; then
7     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
8 else
9     scp ${WORKSPACE}/test/csit/suites/sxp/basic/22-sxp-controller-one-node.xml ${ODL_SYSTEM_IP}:/tmp/${BUNDLEFOLDER}/etc/opendaylight/karaf/
10 fi