[Openstack] [OpenStack][Nova] Possible inconsistency between devstack/nova execution and test_virt_drivers.py

Jay Pipes jaypipes at gmail.com
Wed Jun 27 15:50:59 UTC 2012


On 06/27/2012 10:17 AM, Leander Bessa Beernaert wrote:
<snip>
> How do I proceed now? Should i ate the required methods to the
> fake_libvirt? Do note that i dont have the latest libvirt installed and
> am therefore missing another set of crucial methods which i can't test. :s

No. In general, you only want to put methods into the fake driver that 
are *called* by the OpenStack code. If you are calling methods on the 
VirDomain with your new diagnostics code, then yes, you will need to 
implement corresponding fake methods in the fake driver.

All the best,
-jay




More information about the Openstack mailing list