[libvirt-test-API][PATCH V2 11/11] 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 | 100 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 100 insertions(+)

diff --git a/cases/basic_network.conf b/cases/basic_network.conf
index e9abd57..b617320 100644
--- a/cases/basic_network.conf
+++ b/cases/basic_network.conf
@@ -216,3 +216,103 @@ network:destroy
     networkname
         $defaultnetname
 
+network:define
+    networkname
+        $defaultnetname
+    bridgename
+        $defaultbridgename
+    bridgeip
+        $defaultnetip
+    bridgenetmask
+        $defaultnetmask
+    netstart
+        $defaultnetstart
+    netend
+        $defaultnetend
+    netmode
+        nat
+    netip6addr
+        $netip6addr
+    netip6prefix
+        $netip6prefix
+    netip6start
+        $netip6start
+    netip6end
+        $netip6end
+
+network:start
+    networkname
+        $defaultnetname
+
+network:update
+    networkname
+        $defaultnetname
+    command
+        add-first
+    section
+        ip-dhcp-host
+    xml
+        xmls/ip-dhcp-host.xml
+
+network:update
+    networkname
+	$defaultnetname
+    command
+        add-first
+    section
+        ip-dhcp-host
+    parentIndex
+        1
+    xml
+	xmls/ipv6-dhcp-host.xml
+
+domain:install_linux_cdrom
+    guestname
+        $defaultname
+    guestos
+        rhel6
+    guestarch
+        $defaultarch
+    vcpu
+        $defaultvcpu
+    memory
+        $defaultmem
+    hddriver
+        $defaulthd
+    nicdriver
+        $defaultnic
+    macaddr
+        00:16:3e:77:e2:ed
+    networksource
+        $defaultnetname
+    bridgename
+        $defaultbridgename
+
+network:network_dhcp_leases
+    networkname
+        $defaultnetname
+
+network:network_dhcp_leases
+    networkname
+        $defaultnetname
+    macaddr
+        00:16:3e:77:e2:ed
+
+domain:destroy
+    guestname
+        $defaultname
+    bridgename
+        $defaultbridgename
+
+domain:undefine
+    guestname
+        $defaultname
+
+network:destroy
+    networkname
+        $defaultnetname
+
+network:undefine
+    networkname
+        $defaultnetname
+
-- 
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]