mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
interface: allow multiple IPv4 addresses in interface XML
An upcoming netcf release will support multiple ipv4 addresses, so let's loosen up libvirt's interface.rng to allow it.
This commit is contained in:
parent
6b55c18f52
commit
f2ab1b9e24
@ -326,12 +326,14 @@
|
|||||||
<choice>
|
<choice>
|
||||||
<ref name="dhcp-element"/>
|
<ref name="dhcp-element"/>
|
||||||
<group>
|
<group>
|
||||||
<element name="ip">
|
<oneOrMore>
|
||||||
<attribute name="address"><ref name="ipv4Addr"/></attribute>
|
<element name="ip">
|
||||||
<optional>
|
<attribute name="address"><ref name="ipv4Addr"/></attribute>
|
||||||
<attribute name="prefix"><ref name="ipv4Prefix"/></attribute>
|
<optional>
|
||||||
</optional>
|
<attribute name="prefix"><ref name="ipv4Prefix"/></attribute>
|
||||||
</element>
|
</optional>
|
||||||
|
</element>
|
||||||
|
</oneOrMore>
|
||||||
<optional>
|
<optional>
|
||||||
<element name="route">
|
<element name="route">
|
||||||
<attribute name="gateway"><ref name="ipv4Addr"/></attribute>
|
<attribute name="gateway"><ref name="ipv4Addr"/></attribute>
|
||||||
|
Loading…
Reference in New Issue
Block a user