This patchset was also sent as a pull request on github, so you can comment in there, if you wish so.
https://github.com/autotest/autotest/pull/432 This is a patchset introducing virt-v2v test. We've been working during the last 2 months to provide this pilot test. Each patch tries to explain some core concepts behind the work, but pretty much we are using virt-v2v cmdline tool for automatically converting and importing an existing virtual machines to libvirt-managed KVM, or an open manageable virtualized environment - oVirt. For these 2 different input method/target (Libvirt and oVirt), we reuse current libvirt-autotest as libvirt input target, and implement a new oVirt module as oVirt input target, and using SDK for the oVirt engine API(as a RESTful API) to manipulate resources in oVirt such as Data Centers, Clusters, Hosts, Storage Domains, VMs, etc. At present, we haven't cover everything into our oVirt module, it only includes some necessary API implementation for virt-v2v requirement. However, it's very easy to extend new functions to support oVirt autotest in the future. Alex Jia and Wayne Sun (11): virt: Introducing virt_v2v module virt: Introducing virt_v2v_utils module virt: Introducing ovirt module virt: Add new virsh wrapper functions into libvirt_vm tests: Add a new pool creation test case support ovirt-engine-sdk build virt.virt_env_process: Add ovirt vm handling virt.virt_env_process: Support remotely run tcpdump client.tests: Introducing virt-v2v test client.tests: add test cases for automatically converting vm gitignore: Update ignores for virt-v2v tests --- client/tests/libvirt/tests/virsh_pool_create_as.py | 52 ++ client/tests/virt_v2v/base.cfg.sample | 316 ++++++++++ client/tests/virt_v2v/build.cfg.sample | 110 ++++ client/tests/virt_v2v/common.py | 13 + client/tests/virt_v2v/control | 41 ++ client/tests/virt_v2v/subtests.cfg.sample | 94 +++ client/tests/virt_v2v/tests-shared.cfg.sample | 46 ++ client/tests/virt_v2v/tests.cfg.sample | 26 + client/tests/virt_v2v/tests/convert_libvirt.py | 28 + client/tests/virt_v2v/tests/convert_ovirt.py | 28 + client/tests/virt_v2v/tests/install.py | 67 ++ client/tests/virt_v2v/tests/linux_vm_check.py | 103 ++++ client/tests/virt_v2v/tests/ovirt.py | 62 ++ client/tests/virt_v2v/virt_v2v.py | 12 + client/virt/base_installer.py | 33 +- client/virt/libvirt_vm.py | 61 ++ client/virt/ovirt.py | 647 ++++++++++++++++++++ client/virt/virt_env_process.py | 41 +- client/virt/virt_v2v.py | 60 ++ client/virt/virt_v2v_utils.py | 278 +++++++++ 20 files changed, 2098 insertions(+), 20 deletions(-) create mode 100644 client/tests/libvirt/tests/virsh_pool_create_as.py create mode 100644 client/tests/virt_v2v/base.cfg.sample create mode 100644 client/tests/virt_v2v/build.cfg.sample create mode 100644 client/tests/virt_v2v/common.py create mode 100644 client/tests/virt_v2v/control create mode 100644 client/tests/virt_v2v/subtests.cfg.sample create mode 100644 client/tests/virt_v2v/tests-shared.cfg.sample create mode 100644 client/tests/virt_v2v/tests.cfg.sample create mode 100644 client/tests/virt_v2v/tests/convert_libvirt.py create mode 100644 client/tests/virt_v2v/tests/convert_ovirt.py create mode 100644 client/tests/virt_v2v/tests/install.py create mode 100644 client/tests/virt_v2v/tests/linux_vm_check.py create mode 100644 client/tests/virt_v2v/tests/ovirt.py create mode 100644 client/tests/virt_v2v/virt_v2v.py create mode 100644 client/virt/ovirt.py create mode 100644 client/virt/virt_v2v.py create mode 100644 client/virt/virt_v2v_utils.py _______________________________________________ Autotest mailing list Autotest@test.kernel.org http://test.kernel.org/cgi-bin/mailman/listinfo/autotest