commit 27c11c4bb4e5c54282caf49cba666f45cfc590c2
Author: Jay Pipes <email address hidden>
Date: Wed Feb 8 15:51:59 2012 -0500
Remedies LP Bug #928910 - Use libvirt lookupByName() to check existence
Make determining if an instance exists on a host
more efficient by adding an instance_exists() method to the
base virt driver that can be overridden by drivers that
have a more efficient mechanism of looking up an instance
by its ID / name. Modifies the _check_instance_already_created
method of the compute manager to use this new instance_exists() method.
Someone from Citrix should look into how to make the instance_exists()
method in the Xen and VMWare virt drivers more efficient than the
base "loop over all domains and see if the instance ID exists" method
now in the base driver class.
Reviewed: https:/ /review. openstack. org/3919 github. com/openstack/ nova/commit/ 27c11c4bb4e5c54 282caf49cba666f 45cfc590c2
Committed: http://
Submitter: Jenkins
Branch: master
commit 27c11c4bb4e5c54 282caf49cba666f 45cfc590c2
Author: Jay Pipes <email address hidden>
Date: Wed Feb 8 15:51:59 2012 -0500
Remedies LP Bug #928910 - Use libvirt lookupByName() to check existence
Make determining if an instance exists on a host instance_ already_ created
more efficient by adding an instance_exists() method to the
base virt driver that can be overridden by drivers that
have a more efficient mechanism of looking up an instance
by its ID / name. Modifies the _check_
method of the compute manager to use this new instance_exists() method.
Someone from Citrix should look into how to make the instance_exists()
method in the Xen and VMWare virt drivers more efficient than the
base "loop over all domains and see if the instance ID exists" method
now in the base driver class.
Change-Id: Ibf219788f9c104 698057367da8930 0a060945778