On 08/22/2012 01:59 AM, Yu Mingfei wrote:
Hi Chris,Lucas:

This patchset tests virsh command net-create.

virsh net-create<file> creates a network from a xml file.
The network can be nat,route,bridge...
we test only default nat network here, and other network can be added
later.

The basic framework is described in virsh_net_create.py.

Yu Mingfei (2):
virt.subtests.cfg.sample:add configuration for command virsh
net-create.
client.tests.libvirt:add test for virsh net-create.

client/tests/libvirt/tests/virsh_net_create.py | 106
++++++++++++++++++++++++
client/virt/subtests.cfg.sample | 34 ++++++++
2 files changed, 140 insertions(+), 0 deletions(-)
create mode 100644 client/tests/libvirt/tests/virsh_net_create.py



This all looks great, and even runs fine on older libvirt. However, I have reservations about going directly to xml_utils from a virt sub-test.

Since you've got libvirt_xml going in from an earlier patch, can we get this one to use libvirt_xml also? I'll see about committing libvirt_xml into next to make your life easier.

Thanks!

--
Chris Evich, RHCA, RHCE, RHCDS, RHCSS
Quality Assurance Engineer
e-mail: cevich + `@' + redhat.com o: 1-888-RED-HAT1 x44214

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

Reply via email to