aboutsummaryrefslogtreecommitdiffstats
path: root/sfc/tests
diff options
context:
space:
mode:
authorManuel Buil <mbuil@suse.com>2018-02-27 18:09:32 +0100
committerManuel Buil <mbuil@suse.com>2018-02-28 18:07:56 +0100
commit39e1f4dba0bc9e6bd1c3bd43b7077c6745635e0c (patch)
tree4cbcceccfc24d52c9d6a7af2bc99762a293959ff /sfc/tests
parent41135da626fe2c2813e58f52928b4e5ba4e47bf7 (diff)
Bug fix: Problem with SNAPs integration
SNAPs changed the API: https://github.com/opnfv/snaps/commit/c711acf8ae3e4ad6f746500747857bcc9fd6f7be#diff-0b922a3e087121238d5a8b08ef5b894aR480 Now we require to pass keystone client to get the neutron port Change-Id: I93fa4b127255c1a078aa3644773b7c8b886cea6d Signed-off-by: Manuel Buil <mbuil@suse.com>
Diffstat (limited to 'sfc/tests')
-rw-r--r--sfc/tests/functest/sfc_chain_deletion.py3
-rw-r--r--sfc/tests/functest/sfc_one_chain_two_service_functions.py3
-rw-r--r--sfc/tests/functest/sfc_two_chains_SSH_and_HTTP.py3
3 files changed, 6 insertions, 3 deletions
diff --git a/sfc/tests/functest/sfc_chain_deletion.py b/sfc/tests/functest/sfc_chain_deletion.py
index 3962a3a6..d4d7590a 100644
--- a/sfc/tests/functest/sfc_chain_deletion.py
+++ b/sfc/tests/functest/sfc_chain_deletion.py
@@ -155,7 +155,8 @@ def main():
logger.error('ERROR while booting vnfs')
sys.exit(1)
- neutron_port = openstack_sfc.get_client_port_id(client_instance)
+ neutron_port = openstack_sfc.get_client_port(client_instance,
+ client_creator)
odl_utils.create_chain(tacker_client, default_param_file, neutron_port,
COMMON_CONFIG, TESTCASE_CONFIG)
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 411262d1..6e541b4b 100644
--- a/sfc/tests/functest/sfc_one_chain_two_service_functions.py
+++ b/sfc/tests/functest/sfc_one_chain_two_service_functions.py
@@ -177,7 +177,8 @@ def main():
tosca_file=tosca_file,
vnffgd_name='red')
- neutron_port = openstack_sfc.get_client_port_id(client_instance)
+ neutron_port = openstack_sfc.get_client_port(client_instance,
+ client_creator)
os_sfc_utils.create_vnffg_with_param_file(tacker_client, 'red',
'red_http',
default_param_file,
diff --git a/sfc/tests/functest/sfc_two_chains_SSH_and_HTTP.py b/sfc/tests/functest/sfc_two_chains_SSH_and_HTTP.py
index 4e63ecfd..217c14e1 100644
--- a/sfc/tests/functest/sfc_two_chains_SSH_and_HTTP.py
+++ b/sfc/tests/functest/sfc_two_chains_SSH_and_HTTP.py
@@ -175,7 +175,8 @@ def main():
tosca_file=tosca_file,
vnffgd_name='red')
- neutron_port = openstack_sfc.get_client_port_id(client_instance)
+ neutron_port = openstack_sfc.get_client_port(client_instance,
+ client_creator)
os_sfc_utils.create_vnffg_with_param_file(tacker_client, 'red',
'red_http',
default_param_file,