Skip to content
Snippets Groups Projects
Commit 9f608b16 authored by garciadeblas's avatar garciadeblas
Browse files

Decouple create_sdnc from create_vim in run_test.sh


Change-Id: I8984e97de7010c43a000451e15b396f83635c5cd
Signed-off-by: default avatargarciadeblas <gerardo.garciadeblas@telefonica.com>
parent dba7f6b9
No related branches found
No related tags found
No related merge requests found
......@@ -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
;;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment