summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordeen1985 <damian.nowak@nokia.com>2020-05-12 15:28:49 +0200
committerDamian Nowak <damian.nowak@nokia.com>2020-05-12 14:34:46 +0000
commit4a50a3b035623ab285263a9ebed5d98f33bc65fe (patch)
treefad9db02fbb048f3b5f8b8480c632c638624f6b8
parent1bc31c7d76408bdf2267bf72bf3b1b1e18e2367f (diff)
demo-k8s.sh -- robot heatbridge updated
Inputs to heatbridge operation updated, Inputs description updated Signed-off-by: deen1985 <damian.nowak@nokia.com> Change-Id: I96d89a7ed52850e5a9bbae2bb69177d25eb942ea Signed-off-by: deen1985 <damian.nowak@nokia.com> Issue-ID: INT-1584 (cherry picked from commit eed1fc5b5a55fc75935edda30cdee84542fedb4c)
-rwxr-xr-xdemo-k8s.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/demo-k8s.sh b/demo-k8s.sh
index c29ff41..5b540b2 100755
--- a/demo-k8s.sh
+++ b/demo-k8s.sh
@@ -1,6 +1,7 @@
#!/bin/bash
# Copyright (C) 2018 Amdocs, Bell Canada
# Modifications Copyright (C) 2019 Samsung
+# Modifications Copyright (C) 2020 Nokia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -51,8 +52,8 @@ function usage
echo " demo-k8s.sh <namespace> deleteVNF <module_name from instantiateVFW>"
echo " - Delete the module created by instantiateVFW"
echo " "
- echo " demo-k8s.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"
+ echo " demo-k8s.sh <namespace> heatbridge <stack_name> <vnf_type> <service_type> <oam-ip-address_env_parameter>"
+ echo " - Run heatbridge against the stack for the given vnf type and service type"
echo " "
echo " demo-k8s.sh <namespace> vfwclosedloop <pgn-ip-address>"
echo " - vFWCL: Sets the packet generator to high and low rates, and checks whether the policy "
@@ -190,12 +191,12 @@ do
TAG="heatbridge"
shift
if [ $# -ne 4 ];then
- echo "Usage: demo-k8s.sh <namespace> heatbridge <stack_name> <service_instance_id> <service> <oam-ip-address>"
+ echo "Usage: demo-k8s.sh <namespace> heatbridge <stack_name> <vnf_type> <service_type> <oam-ip-address_env_parameter>"
exit
fi
VARIABLES="$VARIABLES -v HB_STACK:$1"
shift
- VARIABLES="$VARIABLES -v HB_SERVICE_INSTANCE_ID:$1"
+ VARIABLES="$VARIABLES -v HB_VNF:$1"
shift
VARIABLES="$VARIABLES -v HB_SERVICE:$1"
shift