summaryrefslogtreecommitdiffstats
path: root/bin/stack
diff options
context:
space:
mode:
authorSoren Hansen <soren@linux2go.dk>2011-09-26 16:15:18 +0200
committerSoren Hansen <soren@linux2go.dk>2011-11-22 17:30:27 +0100
commitbb622e6d7c921894fd0e7697a0003630989d4f35 (patch)
tree8f3abe5158083db987868728c794543efba78595 /bin/stack
parente35ed7ce06a7ac0280d6a36c881e75e307230f76 (diff)
downloadnova-bb622e6d7c921894fd0e7697a0003630989d4f35.tar.gz
nova-bb622e6d7c921894fd0e7697a0003630989d4f35.tar.xz
nova-bb622e6d7c921894fd0e7697a0003630989d4f35.zip
Extend test_virt_driver to also test libvirt driver.
To support this, I've added a fake libvirt implementation. It's supposed to expose an API and behaviour identical to that of libvirt itself except without actually running any VM's or setting up any firewall or anything, but still responding correctly when asked for a domain's XML, a list of defined domains, running domains, etc. I've also split out everything from libvirt.connection that is potentially destructive or otherwise undesirable to run during testing, and moved it to a new nova.virt.libvirt.utils. I added tests for those things separately as well as stub version of it for testing. I hope eventually to make it similar to fakelibvirt in style (e.g. keep track of files created and deleted and attempts to open a file that it doesn't know about, you'll get proper exceptions with proper errnos set and whatnot). Change-Id: Id90b260933e3443b4ffb3b29e4bc0cbc82c19ba6
Diffstat (limited to 'bin/stack')
0 files changed, 0 insertions, 0 deletions