Gary Wu | 73202cf | 2017-10-23 15:15:52 -0700 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | |
| 3 | if [ -z "$WORKSPACE" ]; then |
| 4 | export WORKSPACE=`git rev-parse --show-toplevel` |
| 5 | fi |
| 6 | |
Gary Wu | 17cd9cb | 2017-10-23 15:18:39 -0700 | [diff] [blame^] | 7 | source $WORKSPACE/test/ete/scripts/install_openstack_cli.sh |
| 8 | |
Gary Wu | 73202cf | 2017-10-23 15:15:52 -0700 | [diff] [blame] | 9 | cd $WORKSPACE/test/ete/scripts |
| 10 | |
| 11 | ROBOT_IP=$(./get-floating-ip.sh onap-robot) |
| 12 | echo "ROBOT_IP=${ROBOT_IP}" |
| 13 | |
| 14 | ssh -o StrictHostKeychecking=no -i ~/.ssh/onap_key root@${ROBOT_IP} "OS_PASSWORD_INPUT=$OS_PASSWORD_INPUT bash -s" < ./remote/run-robot.sh |