[libvirt-test-API][PATCH] Add network_dhcp_leases test case to conf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



For running the case, should setup testing environment before the
case, and clean up the environment after the case.
---
 cases/basic_network.conf | 55 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 55 insertions(+)

diff --git a/cases/basic_network.conf b/cases/basic_network.conf
index e9abd57..3ab9cb1 100644
--- a/cases/basic_network.conf
+++ b/cases/basic_network.conf
@@ -216,3 +216,58 @@ network:destroy
     networkname
         $defaultnetname
 
+network:update
+    networkname
+        default
+    command
+        add-first
+    section
+        ip-dhcp-host
+    xml
+        xmls/ip-dhcp-host.xml
+
+domain:install_linux_cdrom
+    guestname
+        dhcplease
+    guestos
+        rhel6
+    guestarch
+        $defaultarch
+    vcpu
+        $defaultvcpu
+    memory
+        $defaultmem
+    hddriver
+        $defaulthd
+    nicdriver
+        $defaultnic
+    macaddr
+        00:16:3e:77:e2:ed
+
+network:network_dhcp_leases
+    networkname
+        default
+
+network:network_dhcp_leases
+    networkname
+        default
+    macaddr
+        00:16:3e:77:e2:ed
+
+network:update
+    networkname
+        default
+    command
+        delete
+    section
+        ip-dhcp-host
+    xml
+        xmls/ip-dhcp-host.xml
+
+domain:destroy
+    guestname
+        dhcplease
+
+domain:undefine
+    guestname
+        dhcplease
-- 
1.8.3.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]