commit 77efa337c5b17b1853c6dd0f02009ed60925ff37
Author: Daniel P. Berrange <email address hidden>
Date: Fri Jul 25 12:41:53 2014 +0100
compute: tweaks to vm_mode APIs to align with arch/hvtype
Rename the 'name' method to 'canonicalize' to make its purpose
clearer. Also add a 'is_valid' method to check validity without
doing canonicalization. Make it use a specialized exception
class instead of the generic 'Invalid' class.
Reviewed: https:/ /review. openstack. org/109593 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=77efa337c5b 17b1853c6dd0f02 009ed60925ff37
Committed: https:/
Submitter: Jenkins
Branch: master
commit 77efa337c5b17b1 853c6dd0f02009e d60925ff37
Author: Daniel P. Berrange <email address hidden>
Date: Fri Jul 25 12:41:53 2014 +0100
compute: tweaks to vm_mode APIs to align with arch/hvtype
Rename the 'name' method to 'canonicalize' to make its purpose
clearer. Also add a 'is_valid' method to check validity without
doing canonicalization. Make it use a specialized exception
class instead of the generic 'Invalid' class.
Related-bug: #1348629 e594bff40eded3c feec22f0bef
Change-Id: I4bb972aeafb69b