X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FNBI.git;a=blobdiff_plain;f=osm_nbi%2Ftests%2Fcreate-ping-pong.sh;h=47447a7e6e603c6087a4bdca109eebb3290108ec;hp=7ef1cf7d7331623438f20568fdc506c404d57218;hb=HEAD;hpb=e128118419c3bb413de4cff8445b9b6c5598a5ed diff --git a/osm_nbi/tests/create-ping-pong.sh b/osm_nbi/tests/create-ping-pong.sh index 7ef1cf7..47447a7 100755 --- a/osm_nbi/tests/create-ping-pong.sh +++ b/osm_nbi/tests/create-ping-pong.sh @@ -1,5 +1,18 @@ #! /bin/bash +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. +# See the License for the specific language governing permissions and +# limitations under the License. + export NBI_URL=https://localhost:9999/osm USERNAME=admin PASSWORD=admin @@ -30,7 +43,6 @@ TOKEN=`curl --insecure -H "Content-Type: application/yaml" -H "Accept: applicati 2>/dev/null | awk '($1=="id:"){print $2}'`; echo token: $TOKEN - # VNFD ######### #insert PKG @@ -44,8 +56,6 @@ VNFD2_ID=`curl --insecure -w "%{http_code}\n" -H "Content-Type: application/gzip 2>/dev/null | awk '($1=="id:"){print $2}'` echo pong_vnfd: $VNFD2_ID - - # NSD ######### #insert PKG @@ -54,7 +64,6 @@ NSD1_ID=`curl --insecure -w "%{http_code}\n" -H "Content-Type: application/gzip" 2>/dev/null | awk '($1=="id:"){print $2}'` echo ping_pong_nsd: $NSD1_ID - # NSRS ############## #add nsr