summaryrefslogtreecommitdiffstats
path: root/boot/robot
diff options
context:
space:
mode:
authorMarco Platania <platania@research.att.com>2018-08-01 12:47:35 -0400
committerMarco Platania <platania@research.att.com>2018-08-01 12:47:35 -0400
commitf291a98589c0d75365c5298c1268ab462bc8c4d8 (patch)
tree0e86fddaea40cfcff11848b121fdd87eaf5315c1 /boot/robot
parente34a48920b665c236ac57b24a7e3d51d4897e253 (diff)
Update demo.sh to make ipv4-oam-address optional
Change-Id: If204432dcd98309edf9509d92e8f0c740deef7e0 Issue-ID: INT-602 Signed-off-by: Marco Platania <platania@research.att.com>
Diffstat (limited to 'boot/robot')
-rwxr-xr-xboot/robot/demo.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/boot/robot/demo.sh b/boot/robot/demo.sh
index a5a8e40e..b8df99ee 100755
--- a/boot/robot/demo.sh
+++ b/boot/robot/demo.sh
@@ -31,7 +31,7 @@ function usage
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> <ipv4-oam-address>"
+ echo " demo.sh heatbridge <stack_name> <service_instance_id> <service> [<ipv4-oam-address>]"
echo " - Run heatbridge against the stack for the given service instance and service"
}
@@ -130,8 +130,8 @@ do
heatbridge)
TAG="heatbridge"
shift
- if [ $# -ne 4 ];then
- echo "Usage: demo.sh heatbridge <stack_name> <service_instance_id> <service> <ipv4-oam-address>"
+ if [ $# -lt 3 ];then
+ echo "Usage: demo.sh heatbridge <stack_name> <service_instance_id> <service> [<ipv4-oam-address>]"
exit
fi
VARIABLES="$VARIABLES -v HB_STACK:$1"