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>
上级 cc1a0c3b
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册