aboutsummaryrefslogtreecommitdiffstats
path: root/sfc/tests/functest/sfc_one_chain_two_service_functions.py
diff options
context:
space:
mode:
Diffstat (limited to 'sfc/tests/functest/sfc_one_chain_two_service_functions.py')
-rw-r--r--sfc/tests/functest/sfc_one_chain_two_service_functions.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/sfc/tests/functest/sfc_one_chain_two_service_functions.py b/sfc/tests/functest/sfc_one_chain_two_service_functions.py
index 039cf625..38d6176f 100644
--- a/sfc/tests/functest/sfc_one_chain_two_service_functions.py
+++ b/sfc/tests/functest/sfc_one_chain_two_service_functions.py
@@ -29,16 +29,17 @@ class SfcOneChainTwoServiceTC(sfc_parent_function.SfcCommonTestCase):
def run(self):
logger.info("The test scenario %s is starting", __name__)
- self.create_custom_vnfd(self.testcase_config.test_vnfd_red,
- 'test-vnfd1')
- self.create_custom_vnfd(self.testcase_config.test_vnfd_blue,
- 'test-vnfd2')
+
+ self.register_vnf_template(self.testcase_config.test_vnfd_red,
+ 'test-vnfd1')
+ self.register_vnf_template(self.testcase_config.test_vnfd_blue,
+ 'test-vnfd2')
self.create_vnf(self.vnfs[0], 'test-vnfd1', 'test-vim')
self.create_vnf(self.vnfs[1], 'test-vnfd2', 'test-vim')
self.create_vnffg(self.testcase_config.test_vnffgd_red, 'red',
- 'red_http')
+ 'red_http', port=80, protocol='tcp', symmetric=False)
# Start measuring the time it takes to implement the
# classification rules
t1 = threading.Thread(target=odl_utils.wait_for_classification_rules,