Comment 3 for bug 1348629

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to nova (master)

Reviewed: https://review.openstack.org/109593
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=77efa337c5b17b1853c6dd0f02009ed60925ff37
Submitter: Jenkins
Branch: master

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.

    Related-bug: #1348629
    Change-Id: I4bb972aeafb69be594bff40eded3cfeec22f0bef