mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
7e5a40fd0f
New tests are required to cover some new XML syntax entry for <lease/> option. This includes schema testing and other features like unit attribute and lease value. This commit includes hostsfile checks adding new files for each test case that is manipulating <host/> tag. Signed-off-by: Julio Faracco <jcfaracco@gmail.com> Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
22 lines
691 B
XML
22 lines
691 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'/>
|
|
<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='10' unit='minutes'/>
|
|
</range>
|
|
<host mac='00:16:3e:77:e2:ed' name='a.example.com' ip='192.168.122.10'>
|
|
<lease expiry='20' unit='minutes'/>
|
|
</host>
|
|
<host mac='00:16:3e:3e:a9:1a' name='b.example.com' ip='192.168.122.11'>
|
|
<lease expiry='30' unit='minutes'/>
|
|
</host>
|
|
</dhcp>
|
|
</ip>
|
|
</network>
|