mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 11:35:19 +00:00
schema: separate teaming element definition from interface element
Signed-off-by: Laine Stump <laine@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
dea2710911
commit
5cea59b2b3
@ -3529,23 +3529,7 @@
|
|||||||
<ref name="portOptions"/>
|
<ref name="portOptions"/>
|
||||||
</optional>
|
</optional>
|
||||||
<optional>
|
<optional>
|
||||||
<element name="teaming">
|
<ref name="teaming"/>
|
||||||
<choice>
|
|
||||||
<group>
|
|
||||||
<attribute name="type">
|
|
||||||
<value>persistent</value>
|
|
||||||
</attribute>
|
|
||||||
</group>
|
|
||||||
<group>
|
|
||||||
<attribute name="type">
|
|
||||||
<value>transient</value>
|
|
||||||
</attribute>
|
|
||||||
<attribute name="persistent">
|
|
||||||
<ref name="aliasName"/>
|
|
||||||
</attribute>
|
|
||||||
</group>
|
|
||||||
</choice>
|
|
||||||
</element>
|
|
||||||
</optional>
|
</optional>
|
||||||
</interleave>
|
</interleave>
|
||||||
</define>
|
</define>
|
||||||
@ -3581,6 +3565,27 @@
|
|||||||
<ref name="route"/>
|
<ref name="route"/>
|
||||||
</zeroOrMore>
|
</zeroOrMore>
|
||||||
</define>
|
</define>
|
||||||
|
|
||||||
|
<define name="teaming">
|
||||||
|
<element name="teaming">
|
||||||
|
<choice>
|
||||||
|
<group>
|
||||||
|
<attribute name="type">
|
||||||
|
<value>persistent</value>
|
||||||
|
</attribute>
|
||||||
|
</group>
|
||||||
|
<group>
|
||||||
|
<attribute name="type">
|
||||||
|
<value>transient</value>
|
||||||
|
</attribute>
|
||||||
|
<attribute name="persistent">
|
||||||
|
<ref name="aliasName"/>
|
||||||
|
</attribute>
|
||||||
|
</group>
|
||||||
|
</choice>
|
||||||
|
</element>
|
||||||
|
</define>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
An emulator description is just a path to the binary used for the task
|
An emulator description is just a path to the binary used for the task
|
||||||
-->
|
-->
|
||||||
|
Loading…
Reference in New Issue
Block a user