Signed-off-by: Laine Stump <laine(a)redhat.com>
---
docs/schemas/domaincommon.rng | 39 ++++++++++++++++++++---------------
1 file changed, 22 insertions(+), 17 deletions(-)
diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng
index 7a2706a4fb..31960fb7cf 100644
--- a/docs/schemas/domaincommon.rng
+++ b/docs/schemas/domaincommon.rng
@@ -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
-->
--
2.29.2