diff options
author | Juan Vidal <juan.vidal.allende@ericsson.com> | 2017-02-21 12:49:32 +0000 |
---|---|---|
committer | Juan Vidal <juan.vidal.allende@ericsson.com> | 2017-04-05 12:26:15 +0000 |
commit | 5750895da4e626cc897878acaf6607bd14298802 (patch) | |
tree | a5064d41f8772ee0cb43e4a790b2287d48a0d97c /sfc/tests/functest/sfc_symmetric_chain.py | |
parent | 8a66eac4bbb898d943d461845e371381425a9cf7 (diff) |
Remove get_floating_ips()
get_floating_ips() is non-reusable function, with too much logic
into it. By using smaller functions, we can compose the same
functionality and build all tests upon a common set of utilities.
Using the new functions in functest to retrieve the nova ID for a VNF instance,
it is possible to use a generic solution at the problem of getting floating
ips deterministcally to the instances
Change-Id: Ic7dba908fa6bb343c177fe1a68322d3803ed1707
Signed-off-by: Juan Vidal <juan.vidal.allende@ericsson.com>
Diffstat (limited to 'sfc/tests/functest/sfc_symmetric_chain.py')
-rw-r--r-- | sfc/tests/functest/sfc_symmetric_chain.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sfc/tests/functest/sfc_symmetric_chain.py b/sfc/tests/functest/sfc_symmetric_chain.py index 1a699ca3..29ecee24 100644 --- a/sfc/tests/functest/sfc_symmetric_chain.py +++ b/sfc/tests/functest/sfc_symmetric_chain.py @@ -151,6 +151,7 @@ def main(): sys.exit(1) vnf_instance_id = test_utils.get_nova_id(tacker_client, 'vdu1', vnf_id) + os_utils.add_secgroup_to_instance(nova_client, vnf_instance_id, sg_id) os_tacker.create_sfc( tacker_client, |