aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdeployment/heat/onap-oom/scripts/deploy.sh2
-rwxr-xr-xtest/ete/scripts/teardown-onap.sh2
2 files changed, 3 insertions, 1 deletions
diff --git a/deployment/heat/onap-oom/scripts/deploy.sh b/deployment/heat/onap-oom/scripts/deploy.sh
index fb5bd03e9..de33b08e0 100755
--- a/deployment/heat/onap-oom/scripts/deploy.sh
+++ b/deployment/heat/onap-oom/scripts/deploy.sh
@@ -10,6 +10,8 @@ if [ "$#" -ne 1 ]; then
fi
ENV_FILE=$1
+source $WORKSPACE/test/ete/scripts/install_openstack_cli.sh
+
for n in $(seq 1 5); do
$WORKSPACE/test/ete/scripts/teardown-onap.sh
diff --git a/test/ete/scripts/teardown-onap.sh b/test/ete/scripts/teardown-onap.sh
index 9b742e8fd..dbbee2816 100755
--- a/test/ete/scripts/teardown-onap.sh
+++ b/test/ete/scripts/teardown-onap.sh
@@ -28,7 +28,7 @@ sleep 1
ROUTERS=$(openstack router list -c ID -f value)
echo $ROUTERS
for ROUTER in $ROUTERS; do
- echo $ZONENAME;
+ echo $ROUTER;
PORTS=$(openstack router show $ROUTER -c "interfaces_info" -f "value" | jq -r '.[].port_id')
for PORT in $PORTS; do
openstack router remove port $ROUTER $PORT