Adapt simple health check to use 3-part image 53/29853/3
authorCristina Pauna <cristina.pauna@enea.com>
Thu, 2 Mar 2017 14:53:17 +0000 (14:53 +0000)
committerCristina Pauna <cristina.pauna@enea.com>
Mon, 6 Mar 2017 18:20:43 +0000 (20:20 +0200)
commitebf6b1653e731c757f56a26a67096fa8bed38557
treec1b41b7a8e2dc714bb322f2742dd5339d140a659
parent06e3b9ca9abd8bc3d96707bbb2de0c460a196f2f
Adapt simple health check to use 3-part image

This fix adds the possibility to pass custom imformation about the
image via image_metadata variable. In SimpleHealthcheck 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/#/c/29851/

JIRA: ARMBAND-222

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