aboutsummaryrefslogtreecommitdiffstats
path: root/sfc/tests/functest/run_sfc_tests.py
diff options
context:
space:
mode:
authorManuel Buil <mbuil@suse.com>2018-08-27 18:11:11 +0200
committerManuel Buil <mbuil@suse.com>2018-08-31 16:37:09 +0200
commitbdad6faa1fafe7cd20ea96aa70a52178d62add63 (patch)
treef61454f7055c5252fd7f641235a695a43eff96b8 /sfc/tests/functest/run_sfc_tests.py
parentc0afe0534d46255cf52b85d152d0adc1c4487d83 (diff)
Decouple tacker from tests
Support n-sfc too and abstract a bit the MANO layer so that other MANO components can be inserted into the test Change-Id: I3fb59fbf40b4207bf1721092cd8ff0559e1d9d90 Signed-off-by: Manuel Buil <mbuil@suse.com>
Diffstat (limited to 'sfc/tests/functest/run_sfc_tests.py')
-rw-r--r--sfc/tests/functest/run_sfc_tests.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/sfc/tests/functest/run_sfc_tests.py b/sfc/tests/functest/run_sfc_tests.py
index 6fe211bf..2f72acb5 100644
--- a/sfc/tests/functest/run_sfc_tests.py
+++ b/sfc/tests/functest/run_sfc_tests.py
@@ -176,7 +176,9 @@ class SfcFunctest(testcase.TestCase):
result = {'status': 'FAILED'}
creators = tc_instance.get_creators()
if self.cleanup_flag is True:
- sfc_cleanup.cleanup(creators, odl_ip=odl_ip,
+ sfc_cleanup.cleanup(creators,
+ COMMON_CONFIG.mano_component,
+ odl_ip=odl_ip,
odl_port=odl_port)
cleanup_run_flag = True
end_time = time.time()
@@ -198,7 +200,9 @@ class SfcFunctest(testcase.TestCase):
self.details.update({test_name: dic})
if cleanup_run_flag is not True and self.cleanup_flag is True:
- sfc_cleanup.cleanup(creators, odl_ip=odl_ip,
+ sfc_cleanup.cleanup(creators,
+ COMMON_CONFIG.mano_component,
+ odl_ip=odl_ip,
odl_port=odl_port)
self.stop_time = time.time()