diff options
author | George Paraskevopoulos <geopar@intracom-telecom.com> | 2016-11-29 10:05:04 +0200 |
---|---|---|
committer | George Paraskevopoulos <geopar@intracom-telecom.com> | 2016-11-30 16:05:02 +0200 |
commit | 34ac334f68ad52feb34b5503a16d4f1eccffdc14 (patch) | |
tree | 411b790f38984bf8e6d5c1b2027aee36a483ee4b /tests/functest/odl-sfc/sfc_tacker.bash | |
parent | 60c7f57f814789dfb4bc0c905e34651c4e633a10 (diff) |
Pythonize tacker script calls
JIRA: SFC-52
Clean up the repo from bash scripts using the python modules we have in
place.
DEPENDS ON: https://gerrit.opnfv.org/gerrit/#/c/25075/
Change-Id: I785c6df58391eab215e8e8918714f85bfadef747
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
Diffstat (limited to 'tests/functest/odl-sfc/sfc_tacker.bash')
-rwxr-xr-x | tests/functest/odl-sfc/sfc_tacker.bash | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/tests/functest/odl-sfc/sfc_tacker.bash b/tests/functest/odl-sfc/sfc_tacker.bash deleted file mode 100755 index 690d5f52..00000000 --- a/tests/functest/odl-sfc/sfc_tacker.bash +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/bash -BASEDIR=`dirname $0` - -#import VNF descriptor -tacker vnfd-create --vnfd-file ${BASEDIR}/test-vnfd1.yaml -tacker vnfd-create --vnfd-file ${BASEDIR}/test-vnfd2.yaml - -#create instances of the imported VNF -tacker vnf-create --name testVNF1 --vnfd-name test-vnfd1 -tacker vnf-create --name testVNF2 --vnfd-name test-vnfd2 - -key=true -while $key;do - sleep 3 - active=`tacker vnf-list | grep -E 'PENDING|ERROR'` - echo -e "checking if SFs are up: $active" - if [ -z "$active" ]; then - key=false - fi -done - -#create service chain -tacker sfc-create --name red --chain testVNF1 -tacker sfc-create --name blue --chain testVNF2 - -#create classifier -tacker sfc-classifier-create --name red_http --chain red --match source_port=0,dest_port=80,protocol=6 -tacker sfc-classifier-create --name red_ssh --chain red --match source_port=0,dest_port=22,protocol=6 - -tacker sfc-list -tacker sfc-classifier-list |