On 03/20/2012 06:47 AM, Alex Jia wrote: > Hello Lucas, > I want to know how to define libvirt_vm.py scope, it seems the module is > only used for VMs related operations, you know we can also use virsh to > manage storage pool/volume, network, and interface, etc. if I plan to > add them into libvirt-autotest, libvirt_vm module should be a right > place, right? but its naming is inappropriate...
Since we're growing that part of the code, I believe a pretty sensible solution is to split the code that deals with virsh in a new file called virsh.py, and then import it on libvirt_vm.py, and of course make all necessary changes. Cheers, Lucas _______________________________________________ Autotest mailing list Autotest@test.kernel.org http://test.kernel.org/cgi-bin/mailman/listinfo/autotest