ImageType.from_string removed, as it was only used by its test.
Introduced ImageType.get_role, that returns the image's role within the
VM. In case of DISK_* image types, the role is always 'root'. Role
should be the key when accessing the vdis dictionary.
Reviewed: https:/ /review. openstack. org/14087 github. com/openstack/ nova/commit/ bddb06d3fb2c91f af9cb1c330905f4 a4c0bb3fd2
Committed: http://
Submitter: Jenkins
Branch: stable/folsom
commit bddb06d3fb2c91f af9cb1c330905f4 a4c0bb3fd2
Author: Mate Lakat <email address hidden>
Date: Tue Sep 25 12:25:03 2012 +0100
Fix booting a raw image on XenServer
Fixes bug 1055413.
ImageType. from_string removed, as it was only used by its test.
Introduced ImageType.get_role, that returns the image's role within the
VM. In case of DISK_* image types, the role is always 'root'. Role
should be the key when accessing the vdis dictionary.
Change-Id: Ieb952a9246d06a 8280510113a98b8 88237abcc65