summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexis de Talhouƫt <alexis.de_talhouet@bell.ca>2017-12-20 15:42:20 +0000
committerGerrit Code Review <gerrit@onap.org>2017-12-20 15:42:20 +0000
commit2e00dec2b7cbea2e8350000175e5360e32da1a42 (patch)
tree7fa1318ca17c05a484413c6525b5a5738c99b27c
parent4aac3524f6c009a7f77f4abbe92c9b2fed9ccf81 (diff)
parentfee3caea746ea2bc6fb7aa2da905f09d0490ff63 (diff)
Merge "Add heatbridge support to OOM robot script" into amsterdam
-rwxr-xr-xkubernetes/robot/demo-k8s.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/kubernetes/robot/demo-k8s.sh b/kubernetes/robot/demo-k8s.sh
index 2836fca85d..251388b26e 100755
--- a/kubernetes/robot/demo-k8s.sh
+++ b/kubernetes/robot/demo-k8s.sh
@@ -30,6 +30,9 @@ function usage
echo " "
echo " demo.sh deleteVNF <module_name from instantiateVFW>"
echo " - Delete the module created by instantiateVFW"
+ echo " "
+ echo " demo.sh heatbridge <stack_name> <service_instance_id> <service>"
+ echo " - Run heatbridge against the stack for the given service instance and service"
}
# Set the defaults
@@ -113,6 +116,20 @@ do
echo "Cache file ${VARFILE} is not found"
exit
fi
+ shift
+ ;;
+ heatbridge)
+ TAG="heatbridge"
+ shift
+ if [ $# -ne 3 ];then
+ echo "Usage: demo.sh heatbridge <stack_name> <service_instance_id> <service>"
+ exit
+ fi
+ VARIABLES="$VARIABLES -v HB_STACK:$1"
+ shift
+ VARIABLES="$VARIABLES -v HB_SERVICE_INSTANCE_ID:$1"
+ shift
+ VARIABLES="$VARIABLES -v HB_SERVICE:$1"
shift
;;
*)