diff options
author | Manuel Buil <mbuil@suse.com> | 2017-09-14 18:56:18 +0200 |
---|---|---|
committer | Manuel Buil <mbuil@suse.com> | 2017-09-19 07:53:18 +0000 |
commit | 9c11d59035ff1741c5e6d935aa7c2ed23d15f485 (patch) | |
tree | 69f8f206735a661722b00254ad925ad78d214c64 /sfc/tests/functest/sfc_one_chain_two_service_functions.py | |
parent | 2aa0c27a5d4b0b0d31a9cc0c9dc07321538860f0 (diff) |
Create vnffg providing the neutron_port
JIRA: SFC-107
We are submitting the vnffgd with a variable for the neutron_port. Before
creating the vnffg, we must provide a file with the neutron_port value
Change-Id: I9994e2baa53f323df17434448d372598c0d94c72
Signed-off-by: Manuel Buil <mbuil@suse.com>
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.py | 8 |
1 files changed, 5 insertions, 3 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 0f4d6aa9..2125f3e1 100644 --- a/sfc/tests/functest/sfc_one_chain_two_service_functions.py +++ b/sfc/tests/functest/sfc_one_chain_two_service_functions.py @@ -191,9 +191,11 @@ def main(): tosca_file=tosca_file, vnffgd_name='red') - os_tacker.create_vnffg(tacker_client, - vnffgd_name='red', - vnffg_name='red_http') + neutron_port = test_utils.get_client_port_id(client_instance) + test_utils.create_vnffg_with_param_file(tacker_client, 'red', + 'red_http', + default_param_file, + neutron_port) # Start measuring the time it takes to implement the classification rules t1 = threading.Thread(target=test_utils.wait_for_classification_rules, |