summaryrefslogtreecommitdiffstats
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
commit5b79678a2f336ac5764abb53946774eb00faf371 (patch)
treeb7f8d583d32a06940ee16523d26a69b41bbf1b79
parent930daeb7247afebeed22430d9dc4607015ac2061 (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>
-rwxr-xr-xdemo-k8s.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/demo-k8s.sh b/demo-k8s.sh
index 3fe511f..79d545b 100755
--- a/demo-k8s.sh
+++ b/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"