From: garciadeblas Date: Tue, 23 Jan 2024 13:27:30 +0000 (+0100) Subject: Decouple create_sdnc from create_vim in run_test.sh X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2Ftests.git;a=commitdiff_plain;h=9f608b166915ad30c4324e9a3a1f82ce6054785f Decouple create_sdnc from create_vim in run_test.sh Change-Id: I8984e97de7010c43a000451e15b396f83635c5cd Signed-off-by: garciadeblas --- 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 ;;