diff options
author | jose.lausuch <jose.lausuch@ericsson.com> | 2016-11-18 10:58:16 +0100 |
---|---|---|
committer | jose.lausuch <jose.lausuch@ericsson.com> | 2016-11-22 15:20:48 +0100 |
commit | f8f0f71fcde7511605695d152f5e777c19a50547 (patch) | |
tree | 5bd78a0634701bfe968879a6a0f990e3cf7c2c55 /functest/opnfv_tests/features/sfc/sfc_tacker.bash | |
parent | 3ae02c7d5f4c934e20ab0057172c29a68ff9aa1f (diff) |
Switch SFC call to sfc repository
The SFC testcase code has been moved from Functest to SFC repo.
1) Add SFC repo in the Docker image
2) Change call in exec_tests
3) Remove code from Functest
Change-Id: Ie6705d047b04646942d89215e992f46f8c4e58db
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'functest/opnfv_tests/features/sfc/sfc_tacker.bash')
-rwxr-xr-x | functest/opnfv_tests/features/sfc/sfc_tacker.bash | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/functest/opnfv_tests/features/sfc/sfc_tacker.bash b/functest/opnfv_tests/features/sfc/sfc_tacker.bash deleted file mode 100755 index 690d5f52..00000000 --- a/functest/opnfv_tests/features/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 |