[PATCH 4/7] schema: separate teaming element definition from interface element

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Laine Stump <laine@xxxxxxxxxx>
---
 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




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux