X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fintegration%2Fintegration-get-slave-addresses.sh;h=80eabb6fd52742f8ebed84a57fe47e68c0707b91;hb=4404ad7255a3343ddfb331831e6fc7bd972a9362;hp=2546d31f68c819b3315cf640a5d1749d03116286;hpb=c9368b4395a096cd5d7149fbe8cfde727ef16585;p=releng%2Fbuilder.git diff --git a/jjb/integration/integration-get-slave-addresses.sh b/jjb/integration/integration-get-slave-addresses.sh index 2546d31f6..80eabb6fd 100644 --- a/jjb/integration/integration-get-slave-addresses.sh +++ b/jjb/integration/integration-get-slave-addresses.sh @@ -1,4 +1,13 @@ #!/bin/bash -l + +# shellcheck disable=SC1090 +. ~/lf-env.sh + +lf-activate-venv --python python3 \ + python-heatclient \ + python-openstackclient \ + yq + # Get the Controller and Tools VM slave addresses set -x @@ -68,7 +77,7 @@ if [ ${#OPENSTACK_CONTROLLERS[@]} -eq 2 ]; then ctrl_index=$((ctrl_index -1)) tmp_addr=${OPENSTACK_SYSTEM[0]} OPENSTACK_SYSTEM[0]=${OPENSTACK_SYSTEM[$ctrl_index]} - OPENSTACK_SYSTEM[$ctrl_index]=$tmp_addr + OPENSTACK_SYSTEM[ctrl_index]=$tmp_addr fi # Add alias for ODL_SYSTEM_1_IP as ODL_SYSTEM_IP