Hi Chris,Lucas:

Since the framework of libvirt_xml has been added, I rebased vm_rename of 
version2.

I put vm_rename into libvirt_xml as a single function,
and vm_rename works on class VMXML which includes vm's xml configuration.

In addition, simple rename test module is added to help your test.

 Yu Mingfei (3):
  client/virt/xml_utils: Add remove() method to XMLTreeFile in
    xml_utils.
  client/virt/libvirt_xml: Add class VMXML and vm_rename() function.
  client/tests/libvirt: Add rename test module and configuration.

 client/shared/xml_utils.py                        |   32 +++++++++++++++++
 client/tests/libvirt/tests/virsh_rename_domain.py |   24 +++++++++++++
 client/virt/libvirt_xml.py                        |   38 +++++++++++++++++++++
 client/virt/subtests.cfg.sample                   |   11 ++++++
 4 files changed, 105 insertions(+), 0 deletions(-)
 create mode 100644 client/tests/libvirt/tests/virsh_rename_domain.py


--
Best Regards
Yu Mingfei


_______________________________________________
Autotest-kernel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/autotest-kernel

Reply via email to