Rewrite TempestResourcesManager 15/57615/3
authorCédric Ollivier <cedric.ollivier@orange.com>
Sun, 29 Apr 2018 13:56:33 +0000 (15:56 +0200)
committerCédric Ollivier <cedric.ollivier@orange.com>
Mon, 21 May 2018 07:47:01 +0000 (09:47 +0200)
commit93ecf4204e5a7717432e300daebc35e25c16d3c4
tree4d98928327d48d8f5962a8fd12a5b19b833efbc2
parent83b8b63a65cf7e078494ffdf2014b0819f4ed28d
Rewrite TempestResourcesManager

It now leverages on OpenStack Shade to allow gating OpenStack master
as asked by TSC. Switching to OpenStack master (OpenStack SDK Rocky)
requires to change only one line.

It stops dedicating the network to the user possibly created because
the support is incomplete (the users have to be registed in
tempest.conf and the multiprocessing has to be enforced).

It also writes the second image and the second flavor in tempest.conf.

Conflicts:
    functest/opnfv_tests/openstack/tempest/tempest.py
    functest/tests/unit/openstack/tempest/test_conf_utils.py
    functest/tests/unit/openstack/tempest/test_tempest.py

Change-Id: I9fe2c90a6073ebc240e9aa8fdf2ef93d5dd5f15f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 9fb702111ae63824a2e293d327437d0486a565d2)
functest/ci/config_functest.yaml
functest/opnfv_tests/openstack/tempest/conf_utils.py
functest/opnfv_tests/openstack/tempest/tempest.py
functest/tests/unit/openstack/tempest/test_conf_utils.py
functest/tests/unit/openstack/tempest/test_tempest.py