1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-22 17:34:18 +03: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:
Laine Stump 2021-02-10 22:59:31 -05:00
parent dea2710911
commit 5cea59b2b3

View File

@ -3529,23 +3529,7 @@
<ref name="portOptions"/>
</optional>
<optional>
<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>
<ref name="teaming"/>
</optional>
</interleave>
</define>
@ -3581,6 +3565,27 @@
<ref name="route"/>
</zeroOrMore>
</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
-->