aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/robot/demo-k8s.sh
diff options
context:
space:
mode:
authorMarco Platania <platania@research.att.com>2018-10-29 17:27:15 -0400
committerMarco Platania <platania@research.att.com>2018-10-29 17:27:15 -0400
commitff0b6cb827bf46d9feefacf611e74064cbad27c8 (patch)
treeef14dd4872b463ce99a965dd5f778bbd5f3a79ff /kubernetes/robot/demo-k8s.sh
parent5caa2645bf56867155e36d8562f1b8a4e0815e36 (diff)
Add oam-ip-addr to heatbridge input params
Change-Id: I68e08317b415fe265a9e46ad948facb04c3c630d Issue-ID: INT-696 Signed-off-by: Marco Platania <platania@research.att.com>
Diffstat (limited to 'kubernetes/robot/demo-k8s.sh')
-rwxr-xr-xkubernetes/robot/demo-k8s.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/kubernetes/robot/demo-k8s.sh b/kubernetes/robot/demo-k8s.sh
index 3fe511f478..79d545b2be 100755
--- a/kubernetes/robot/demo-k8s.sh
+++ b/kubernetes/robot/demo-k8s.sh
@@ -45,7 +45,7 @@ function usage
echo " demo.sh <namespace> deleteVNF <module_name from instantiateVFW>"
echo " - Delete the module created by instantiateVFW"
echo " "
- echo " demo.sh <namespace> heatbridge <stack_name> <service_instance_id> <service>"
+ echo " demo.sh <namespace> heatbridge <stack_name> <service_instance_id> <service> <oam-ip-address>"
echo " - Run heatbridge against the stack for the given service instance and service"
}
@@ -149,8 +149,8 @@ do
heatbridge)
TAG="heatbridge"
shift
- if [ $# -ne 3 ];then
- echo "Usage: demo.sh <namespace> heatbridge <stack_name> <service_instance_id> <service>"
+ if [ $# -ne 4 ];then
+ echo "Usage: demo.sh <namespace> heatbridge <stack_name> <service_instance_id> <service> <oam-ip-address>"
exit
fi
VARIABLES="$VARIABLES -v HB_STACK:$1"
@@ -159,6 +159,8 @@ do
shift
VARIABLES="$VARIABLES -v HB_SERVICE:$1"
shift
+ VARIABLES="$VARIABLES -v HB_IPV4_OAM_ADDRESS:$1"
+ shift
;;
cds)
TAG="cds"