aboutsummaryrefslogtreecommitdiffstats
path: root/sfc/tests/functest/sfc_tacker_test2.bash
diff options
context:
space:
mode:
authorManuel Buil <mbuil@suse.com>2017-12-18 13:03:07 +0100
committerManuel Buil <mbuil@suse.com>2017-12-19 09:23:23 +0100
commit759e0751465747acfb9cf840aaad7761ba1327dd (patch)
tree0c1669627b9a5dbc2d2e02ce42f80586dabfe7b1 /sfc/tests/functest/sfc_tacker_test2.bash
parent43c5b9a266b8181af33aa22456eea4c1335a970a (diff)
Documentation update and some clean up
Change-Id: I1fca51b9b6afff5a596ceee2e1401127fe23231d Signed-off-by: Manuel Buil <mbuil@suse.com>
Diffstat (limited to 'sfc/tests/functest/sfc_tacker_test2.bash')
-rw-r--r--sfc/tests/functest/sfc_tacker_test2.bash29
1 files changed, 0 insertions, 29 deletions
diff --git a/sfc/tests/functest/sfc_tacker_test2.bash b/sfc/tests/functest/sfc_tacker_test2.bash
deleted file mode 100644
index 156b19cb..00000000
--- a/sfc/tests/functest/sfc_tacker_test2.bash
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/bash
-BASEDIR=`dirname $0`
-
-#import VNF descriptor
-tacker vnfd-create --vnfd-file ${BASEDIR}/vnfd-templates/test2-vnfd1.yaml
-tacker vnfd-create --vnfd-file ${BASEDIR}/vnfd-templates/test2-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,testVNF2
-
-#create classifier
-tacker sfc-classifier-create --name red_http --chain red --match source_port=0,dest_port=80,protocol=6
-
-tacker sfc-list
-tacker sfc-classifier-list