diff options
author | Ewan Mellor <ewan@xensource.com> | 2006-12-01 17:37:09 +0000 |
---|---|---|
committer | Ewan Mellor <ewan@xensource.com> | 2006-12-01 17:37:09 +0000 |
commit | cebaab7c6b90391742eafd652c4aebc59f0e9052 (patch) | |
tree | 5898eda3895ffd1890b47a6f93d5c212e78cd02b /tools/xm-test/grouptest | |
parent | c88422678e521f8a27260a2d5cffa0594c9fb300 (diff) | |
download | xen-cebaab7c6b90391742eafd652c4aebc59f0e9052.tar.gz xen-cebaab7c6b90391742eafd652c4aebc59f0e9052.tar.bz2 xen-cebaab7c6b90391742eafd652c4aebc59f0e9052.zip |
This patch provides XmTestManagedDomain and XenManagedDomain classes
similar to the XmTestDomain and XenDomain classes. I have wrapped the
xen-api for VM configuration creation, starting and stopping of VMs and
destruction of the VM configuration in the XenManagedDomain class's
methods. No device-related functions are provided through the class.
The managed domains' UUIDs are tracked and all created VMs are destroyed
upon failure or skipping of the test or by calling
xapi.vm_destroy_all().
I am adding a new grouptest 'xapi' for running xen-api tests.
Only caveat: I am using an empty username and password
(XmTestList/xapi.py) with Xend's authentication deactivated to run these
tests.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
Diffstat (limited to 'tools/xm-test/grouptest')
-rw-r--r-- | tools/xm-test/grouptest/xapi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/xm-test/grouptest/xapi b/tools/xm-test/grouptest/xapi new file mode 100644 index 0000000000..407368e6b4 --- /dev/null +++ b/tools/xm-test/grouptest/xapi @@ -0,0 +1 @@ +vtpm 09_vtpm-xapi.test |