virttest.virsh: Modify net_dumpxml() for virsh net-list test
Introduce an extra parameter to the function, an
output file. If it is passed, write the output of
the command to a file. This is necessary for the
virsh net-list test.
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
Showing
想要评论请 注册 或 登录