Signed-off-by: Li Yang <[email protected]>
---
libvirt/tests/cfg/virsh_net_dumpxml.cfg | 36 +++++++++++++++++++++++++++++++
 1 files changed, 36 insertions(+), 0 deletions(-)
 create mode 100644 libvirt/tests/cfg/virsh_net_dumpxml.cfg

diff --git a/libvirt/tests/cfg/virsh_net_dumpxml.cfg b/libvirt/tests/cfg/virsh_net_dumpxml.cfg
new file mode 100644
index 0000000..0cca541
--- /dev/null
+++ b/libvirt/tests/cfg/virsh_net_dumpxml.cfg
@@ -0,0 +1,36 @@
+- virsh_net_dumpxml:
+    type = virsh_net_dumpxml
+    vms = ""
+    main_vm = ""
+    kill_vm = "no"
+    kill_unresponsive_vms = "no"
+    encode_video_files = "no"
+    skip_image_processing = "yes"
+    take_regular_screendumps = "no"
+    net_dumpxml_network = "default"
+    net_dumpxml_vm_ref = "name"
+    net_dumpxml_extra = ""
+    net_dumpxml_network_status = "active"
+    variants:
+        - normal_test:
+            status_error = "no"
+            variants:
+                - name_option:
+                - uuid_option:
+                    net_dumpxml_vm_ref = "uuid"
+                - inactive_option:
+                    net_dumpxml_network_status = "inactive"
+                    net_dumpxml_extra = "--inactive"
+        - error_test:
+            status_error = "yes"
+            variants:
+                - space_option:
+                    net_dumpxml_vm_ref = "''"
+                - no_option:
+                    net_dumpxml_vm_ref = ""
+                - no_exist_option:
+                    net_dumpxml_vm_ref = "xyz"
+                - extra_option:
+                    net_dumpxml_extra = "xyz"
+                - extra_args_option:
+                    net_dumpxml_extra = "--xyz"
--
1.7.1

--
Regards,
--------------------------------------------------
Li Yang
TEL:+86+25-86630566-8526
EMail:[email protected]
--------------------------------------------------



_______________________________________________
Virt-test-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-test-devel

Reply via email to