1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-23 21:34:54 +03:00
libvirt/tests/interfaceschemadata/ethernet-dhcp-and-multi-static.xml
Laine Stump ba5566e80f interface: allow multiple IPv4 addresses + dhcp on a single interface
As of netcf-0.2.8, netcf supports configuring multipl IPv4 addresses,
as well as simultaneously configuring dhcp and static IPv4 addresses,
on a single interface. This patch updates libvirt's interface.rng to
allow such configurations.

This resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1223688
2015-05-22 10:14:01 -04:00

10 lines
264 B
XML

<interface type='ethernet' name='eth1'>
<start mode='onboot'/>
<protocol family='ipv4'>
<dhcp peerdns='yes'/>
<ip address='192.168.0.5' prefix='24'/>
<ip address='1.2.3.4' prefix='32'/>
<route gateway='192.168.0.1'/>
</protocol>
</interface>