提交 e4a199a1 编写于 作者: L Laine Stump

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.
上级 5faff3d3
...@@ -1410,6 +1410,9 @@ ...@@ -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 @@ ...@@ -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>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册