Adapt integration tests to use custom image config 89/29989/2
authorCristina Pauna <cristina.pauna@enea.com>
Tue, 7 Mar 2017 14:52:35 +0000 (16:52 +0200)
committerCristina Pauna <cristina.pauna@enea.com>
Wed, 8 Mar 2017 08:13:56 +0000 (10:13 +0200)
commitbc437b2bc76839ae7872bdefe39e7e39b54b1194
treeb8421fcb303e128081d9b4f7037025efefd48cd7
parentebf6b1653e731c757f56a26a67096fa8bed38557
Adapt integration tests to use custom image config

This fix uses the possibility to pass custom imformation about the
image via image_metadata variable. In the integration tests it checks
for this info and creates a 3-part image if the kernel_url and
ramdisk_url are set. The fix also allows the default url to be overriden
as well as passing extra-properties. All the metadata info comes from
the app.

The part in functest where the custom config is set for creating a 3-part
image is https://gerrit.opnfv.org/gerrit/29987

Change-Id: Ib2ad823705dbea68d672514c7c89b150c9c6dc63
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
snaps/openstack/tests/create_image_tests.py
snaps/openstack/tests/create_instance_tests.py
snaps/provisioning/tests/ansible_utils_tests.py
snaps/test_suite_builder.py