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:
Laine Stump 2012-08-12 12:01:32 -04:00
parent 5faff3d3fd
commit e4a199a1af
2 changed files with 11 additions and 3 deletions

View File

@ -1410,6 +1410,9 @@
<empty/>
</element>
</optional>
<optional>
<ref name="virtualPortProfile"/>
</optional>
<ref name="interface-options"/>
</interleave>
</group>

View File

@ -133,9 +133,14 @@
</choice>
</attribute>
</optional>
<optional>
<ref name="virtualPortProfile"/>
</optional>
<interleave>
<optional>
<ref name="virtualPortProfile"/>
</optional>
<optional>
<ref name="bandwidth"/>
</optional>
</interleave>
</element>
</zeroOrMore>