X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=test%2Fbasictest.sh;h=8f5a225b86fc1cddb70116973a2077df893463c3;hb=1d55a23c9cd32f17bb7a6f21e5b6c2b476c5804f;hp=e2169d89b2d5c387e1eb156734cfbec9938a8e84;hpb=f1ba57e5806479a5a38d5c4f48da8799e78e400a;p=osm%2FRO.git diff --git a/test/basictest.sh b/test/basictest.sh index e2169d89..8f5a225b 100755 --- a/test/basictest.sh +++ b/test/basictest.sh @@ -1,7 +1,7 @@ #!/bin/bash ## -# Copyright 2015 Telefónica Investigación y Desarrollo, S.A.U. +# Copyright 2015 Telefonica Investigacion y Desarrollo, S.A.U. # This file is part of openmano # All Rights Reserved. # @@ -254,7 +254,7 @@ then elif [[ $action == "create" ]] then - for VNF in linux dataplaneVNF1 dataplaneVNF2 dataplaneVNF_2VMs dataplaneVNF_2VMs_v02 dataplaneVNF3 linux_2VMs_v02 dataplaneVNF4 v3_3vdu_vnfd + for VNF in linux dataplaneVNF1 dataplaneVNF2 dataplaneVNF_2VMs dataplaneVNF_2VMs_v02 dataplaneVNF3 linux_2VMs_v02 dataplaneVNF4 do printf "%-50s" "Creating VNF '${VNF}': " result=`$openmano vnf-create $DIRmano/vnfs/examples/${VNF}.yaml` @@ -263,6 +263,14 @@ then ! is_valid_uuid $vnf && echo FAIL && echo " $result" && $_exit 1 echo $vnf done + + printf "%-50s" "Creating VNF '${VNF}': " + result=`$openmano vnf-create $DIRmano/vnfs/examples/v3_3vdu_vnfd.yaml --image-name=cirros034` + vnf=`echo $result |gawk '{print $1}'` + #check a valid uuid is obtained + ! is_valid_uuid $vnf && echo FAIL && echo " $result" && $_exit 1 + echo $vnf + for NS in simple complex complex2 complex3 complex4 complex5 v3_3vdu_2vnf_nsd do printf "%-50s" "Creating scenario '${NS}':"