Files
libvirt/tests/networkxmlconfdata/leasetime-hours.xml
T
Michal Privoznik 240deda72c tests: Rename networkxml2xmltest to networkxmlconftest
Now that networkxml2xmltest does both XML -> XML and XML -> conf
tests its name became misleading. Rename it to networkxmlconftest
and move its data into networkxmlconfdata/ dir.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2026-01-29 13:39:23 +01:00

23 lines
719 B
XML

<network>
<name>default</name>
<uuid>81ff0d90-c91e-6742-64da-4a736edb9a9b</uuid>
<forward dev='eth1' mode='nat'>
<interface dev='eth1'/>
</forward>
<bridge name='virbr0' stp='on' delay='0'/>
<mac address='52:54:00:00:00:00'/>
<ip address='192.168.122.1' netmask='255.255.255.0'>
<dhcp>
<range start='192.168.122.2' end='192.168.122.254'>
<lease expiry='1' unit='hours'/>
</range>
<host mac='00:16:3e:77:e2:ed' name='a.example.com' ip='192.168.122.10'>
<lease expiry='2' unit='hours'/>
</host>
<host mac='00:16:3e:3e:a9:1a' name='b.example.com' ip='192.168.122.11'>
<lease expiry='3' unit='hours'/>
</host>
</dhcp>
</ip>
</network>