Refactored multi-part images. 99/33499/3
authorspisarski <s.pisarski@cablelabs.com>
Tue, 18 Apr 2017 18:13:44 +0000 (12:13 -0600)
committerspisarski <s.pisarski@cablelabs.com>
Thu, 27 Apr 2017 14:26:10 +0000 (16:26 +0200)
commitc84125245f85f87c6a4b1151811a7de1bca68b26
tree472389c3c5537369e3967494b621b737395f5d00
parentbf245990d5b2d5d1e9593957b28457401934f54f
Refactored multi-part images.

The logic used for creating multi-part images for the Danube release
was copied all throughout the tests, which was not sustainable.
This patch encapsulates the kernel and ramdisk images within the
same OpenStackImage object as the disk image.

JIRA: SNAPS-59

Change-Id: I45ec0ccc666accb4e768c41e249e6130dc07f6d1
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
snaps/openstack/create_image.py
snaps/openstack/tests/create_image_tests.py
snaps/openstack/tests/create_instance_tests.py
snaps/openstack/tests/openstack_tests.py
snaps/openstack/tests/os_source_file_test.py
snaps/provisioning/tests/ansible_utils_tests.py