aboutsummaryrefslogtreecommitdiffstats
path: root/boot
diff options
context:
space:
mode:
Diffstat (limited to 'boot')
-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"