Commit b32f9859 authored by Iustin Pop's avatar Iustin Pop
Browse files

Allow selection of hypervisor type in QA

This patch allows the selection of the hypervisor type for the QA
process; this is useful when testing hypervisor-independent changes that
don't require a Xen setup.

The patch also fixes the OS name in the sample QA config file provided.

Reviewed-by: imsnah
parent 2bc22872
# Cluster name
name: xen-test
hypervisor-type: xen-3.0
# System to use
os: debian-edgy
os: debian-etch
os-size: 10G
swap-size: 1G
mem: 512M
......
......@@ -66,6 +66,10 @@ def TestClusterInit():
cmd.append('--bridge=%s' % bridge)
cmd.append('--master-netdev=%s' % bridge)
htype = qa_config.get('hypervisor-type', None)
if htype:
cmd.append('--hypervisor-type=%s' % htype)
cmd.append(qa_config.get('name'))
AssertEqual(StartSSH(master['primary'],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment