Signed-off-by: Yu Mingfei <[email protected]>
---
 libvirt/tests/cfg/virsh_net_autostart.cfg | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 libvirt/tests/cfg/virsh_net_autostart.cfg

diff --git a/libvirt/tests/cfg/virsh_net_autostart.cfg 
b/libvirt/tests/cfg/virsh_net_autostart.cfg
new file mode 100644
index 0000000..50a0daa
--- /dev/null
+++ b/libvirt/tests/cfg/virsh_net_autostart.cfg
@@ -0,0 +1,31 @@
+- virsh_net_autostart:
+    type = virsh_net_autostart
+    vms = ""
+    main_vm = ""
+    encode_video_files = no
+    skip_image_processing = yes
+    take_regular_screendumps = no
+    variants:
+        - normal_test:
+            status_error = "no"
+            variants:
+                - netname:
+                    net_autostart_net_ref = "netname"
+                - netuuid:
+                    net_autostart_net_ref = "netuuid"
+            variants:
+                - set_autostart:
+                    net_autostart_disable = "no"
+                - set_disable:
+                    net_autostart_disable = "yes"
+        - error_test:
+            status_error = "yes"
+            variants:
+                - none_network:
+                    net_autostart_net_ref = ""
+                - invalid_network:
+                    net_autostart_net_ref = "NOT_EXIST_NETWORK"
+                - additional_arg:
+                    net_autostart_extra = "xyz"
+                - additional_option:
+                    net_autostart_extra = "--xyz"
-- 
1.7.11.7

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

Reply via email to