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/13628 github. com/openstack/ nova/commit/ 8f0e47279ac4eb9 3dae6593d8b7985 b120ae1084
Committed: http://
Submitter: Jenkins
Branch: master
commit 8f0e47279ac4eb9 3dae6593d8b7985 b120ae1084
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