From 9f608b166915ad30c4324e9a3a1f82ce6054785f Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Tue, 23 Jan 2024 14:27:30 +0100 Subject: [PATCH] Decouple create_sdnc from create_vim in run_test.sh Change-Id: I8984e97de7010c43a000451e15b396f83635c5cd Signed-off-by: garciadeblas --- robot-systest/run_test.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/robot-systest/run_test.sh b/robot-systest/run_test.sh index e96e17a..c6fb837 100755 --- a/robot-systest/run_test.sh +++ b/robot-systest/run_test.sh @@ -104,6 +104,10 @@ create_vim(){ echo "VIM failed to enter ENABLED state" exit 1 fi +} + + +create_sdnc(){ if [ -n "${SDNC_URL}" ]; then osm sdnc-create --name sdnc-osm --type ${SDNC_TYPE} --user ${SDNC_USER} --password ${SDNC_PASSWORD} --url ${SDNC_URL} COUNTER=0 @@ -147,6 +151,7 @@ create_vim(){ fi fi fi + } @@ -169,6 +174,7 @@ while (( "$#" )); do ;; -c|--createvim) create_vim + create_sdnc create_k8scluster shift 1 ;; -- 2.25.1