diff options
author | Yang Xu <yang.xu3@huawei.com> | 2019-05-06 18:41:50 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-05-06 18:41:50 +0000 |
commit | d6f34d651953261067617129144c35e99c4fbde8 (patch) | |
tree | e10cbdce781bdeb6b2046e25ce4a87bb996b7b42 /kubernetes/robot/demo-k8s.sh | |
parent | 7520c1a18917c74a6820d11bd216316b9c5dd9d3 (diff) | |
parent | 46d00ca058db91a2c1110afe759ca4b10061daae (diff) |
Merge "Updates to usage and add directso tag"
Diffstat (limited to 'kubernetes/robot/demo-k8s.sh')
-rwxr-xr-x | kubernetes/robot/demo-k8s.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/kubernetes/robot/demo-k8s.sh b/kubernetes/robot/demo-k8s.sh index 31b86436f0..8b76f64a25 100755 --- a/kubernetes/robot/demo-k8s.sh +++ b/kubernetes/robot/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 |