Genius scriptplans and testplans
[integration/test.git] / csit / scriptplans / genius-upstream.txt
1 #!/bin/bash
2
3 cat > ${WORKSPACE}/system2-ovs-restart.sh <<EOF
4
5 sudo rm -rf /etc/openvswitch/conf.db
6 sudo service openvswitch-switch restart
7
8 EOF
9 scp ${WORKSPACE}/system2-ovs-restart.sh ${TOOLS_SYSTEM_2_IP}:/tmp/
10 ssh ${TOOLS_SYSTEM_2_IP} 'sudo bash /tmp/system2-ovs-restart.sh'