Take control over Rally logics 09/66509/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Sat, 19 Jan 2019 19:59:08 +0000 (20:59 +0100)
committerCédric Ollivier <cedric.ollivier@orange.com>
Sun, 20 Jan 2019 01:41:23 +0000 (02:41 +0100)
commit2c3a7352886aa9191608836544490799efea85be
tree003f226912ac471f3297711674fcfb800ab1f3b4
parent1113701e78a27f2f8b608f3cf3d2e2c81c425d03
Take control over Rally logics

Rally selects the first external network [1] which could raise side
effects if:
 - another testcase is creating a dummy external network in //
 - all external subnets are not reachable from jumphost
It's now overriden by EXTERNAL_NETWORK as defined in Functest

Rally creates a new shared network if one already exists [2].
As juju now allows other shared networks, it can be safely created by
Functest to allow only one logic and to handle provider networks,
different name servers, etc...

[1] https://github.com/openstack/rally-openstack/blob/master/rally_openstack/verification/tempest/config.py#L146
[2] https://github.com/openstack/rally-openstack/blob/master/rally_openstack/verification/tempest/context.py#L85

Change-Id: Icf8c08077d4b0a9eb1c2e1b7309c62957b0a3b63
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit ee52195f4476d3debf9c3f92c6d808256a199500)
functest/opnfv_tests/openstack/tempest/tempest.py