mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-09 14:35:25 +00:00
schema: fix some problems in network/interface schemas
<portgroup> allows a <bandwidth> element, but the schema didn't have this. Since this makes for multiple elements in portgroup, they must be interleaved. <interface type='bridge'> needs to allow <virtualport> elements for openvswitch, but the schema didn't allow this.
This commit is contained in:
parent
5faff3d3fd
commit
e4a199a1af
@ -1410,6 +1410,9 @@
|
|||||||
<empty/>
|
<empty/>
|
||||||
</element>
|
</element>
|
||||||
</optional>
|
</optional>
|
||||||
|
<optional>
|
||||||
|
<ref name="virtualPortProfile"/>
|
||||||
|
</optional>
|
||||||
<ref name="interface-options"/>
|
<ref name="interface-options"/>
|
||||||
</interleave>
|
</interleave>
|
||||||
</group>
|
</group>
|
||||||
|
@ -133,9 +133,14 @@
|
|||||||
</choice>
|
</choice>
|
||||||
</attribute>
|
</attribute>
|
||||||
</optional>
|
</optional>
|
||||||
<optional>
|
<interleave>
|
||||||
<ref name="virtualPortProfile"/>
|
<optional>
|
||||||
</optional>
|
<ref name="virtualPortProfile"/>
|
||||||
|
</optional>
|
||||||
|
<optional>
|
||||||
|
<ref name="bandwidth"/>
|
||||||
|
</optional>
|
||||||
|
</interleave>
|
||||||
</element>
|
</element>
|
||||||
</zeroOrMore>
|
</zeroOrMore>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user