summaryrefslogtreecommitdiffstats
path: root/demo-k8s.sh
diff options
context:
space:
mode:
authorBrian Freeman <bf1936@att.com>2019-05-06 12:12:36 -0500
committerBrian Freeman <bf1936@att.com>2019-05-06 12:18:56 -0500
commit98e80ad3abd70774ab482f8e4cdec231f9013248 (patch)
treed1b1811563970993ef193788bf9ec9d135436510 /demo-k8s.sh
parent0a3944a3d315b01f9cb503cb5b9f88a1efe6fee7 (diff)
Updates to usage and add directso tag
Issue-ID: INT-1067 Change-Id: I590a6839f9888e27981efd37a614465ec0001878 Signed-off-by: Brian Freeman <bf1936@att.com>
Diffstat (limited to 'demo-k8s.sh')
-rwxr-xr-xdemo-k8s.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/demo-k8s.sh b/demo-k8s.sh
index 31b8643..8b76f64 100755
--- a/demo-k8s.sh
+++ b/demo-k8s.sh
@@ -41,6 +41,10 @@ function usage
echo " demo-k8s.sh <namespace> instantiateVFW"
echo " - Instantiate vFW module for the demo customer (DemoCust<uuid>)"
echo " "
+ echo " demo-k8s.sh <namespace> instantiateVFWdirectso csar_filename"
+ echo " - Instantiate vFW module using direct SO interface using previously distributed model "
+ echo " that is in /tmp/csar in robot container"
+ echo " "
echo " demo-k8s.sh <namespace> deleteVNF <module_name from instantiateVFW>"
echo " - Delete the module created by instantiateVFW"
echo " "
@@ -134,6 +138,16 @@ do
VARIABLES="$VARIABLES -v GLOBAL_BUILD_NUMBER:$$"
shift
;;
+ instantiateVFWdirectso)
+ TAG="instantiateVFWdirectso"
+ shift
+ if [ $# -ne 1 ];then
+ echo "Usage: demo-k8s.sh <namespace> instantiateVFWdirectso <csar_filename>"
+ exit
+ fi
+ VARIABLES="$VARIABLES -v CSAR_FILE:$1 -v GLOBAL_BUILD_NUMBER:$$"
+ shift
+ ;;
deleteVNF)
TAG="deleteVNF"
shift