Hi Chris, Alex: Since tests of virsh console and ttyconsole use serial both, I patched them together. And because devices, disks and serials' operations for XML format in libvirt_xml package are a lasting work, I should still use xml_utils module to create a new element for serial now.
And change from v1: remove libvirtd off/on test since we already have many in other test. Yu Mingfei (6): virt: Add get_primary_serial functions for VMXML class. virt: Add ttyconsole function for virsh module. virt-libvirt: Add configuration for virsh ttyconsole test. virt-libvirt: Add test module of virsh ttyconsole. virt-libvirt: Add configuration for virsh console test. virt-libvirt: Add test module for virsh console. libvirt/tests/cfg/virsh_console.cfg | 45 +++++++ libvirt/tests/cfg/virsh_ttyconsole.cfg | 40 ++++++ libvirt/tests/virsh_console.py | 237 +++++++++++++++++++++++++++++++++ libvirt/tests/virsh_ttyconsole.py | 104 +++++++++++++++ virttest/libvirt_xml/vm_xml.py | 60 ++++++++- virttest/virsh.py | 11 +- 6 files changed, 495 insertions(+), 2 deletions(-) create mode 100644 libvirt/tests/cfg/virsh_console.cfg create mode 100644 libvirt/tests/cfg/virsh_ttyconsole.cfg create mode 100644 libvirt/tests/virsh_console.py create mode 100644 libvirt/tests/virsh_ttyconsole.py -- 1.7.11.7 _______________________________________________ Virt-test-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/virt-test-devel
