Add oam-ip-addr to heatbridge input params 24/71424/1
authorMarco Platania <platania@research.att.com>
Mon, 29 Oct 2018 21:27:15 +0000 (17:27 -0400)
committerMarco Platania <platania@research.att.com>
Mon, 29 Oct 2018 21:27:15 +0000 (17:27 -0400)
Change-Id: I68e08317b415fe265a9e46ad948facb04c3c630d
Issue-ID: INT-696
Signed-off-by: Marco Platania <platania@research.att.com>
kubernetes/robot/demo-k8s.sh

index 3fe511f..79d545b 100755 (executable)
@@ -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"