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

[libvirt] [PATCH] docs: Add missed RNG schema for interface



We support <interface> of type "mcast", "server", and "client",
but the RNG schema for them are missed.
---
 docs/schemas/domaincommon.rng |   44 +++++++++++++++++++++++++++++++++++++++++
 1 files changed, 44 insertions(+), 0 deletions(-)

diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng
index e93ae77..2caa781 100644
--- a/docs/schemas/domaincommon.rng
+++ b/docs/schemas/domaincommon.rng
@@ -1295,6 +1295,50 @@
             <ref name="interface-options"/>
           </interleave>
         </group>
+        <group>
+          <attribute name="type">
+            <value>mcast</value>
+          </attribute>
+          <element name="source">
+            <attribute name="address">
+              <ref name="ipv4Addr"/>
+            </attribute>
+            <attribute name="port">
+              <ref name="PortNumber"/>
+            </attribute>
+            <empty/>
+          </element>
+        </group>
+        <group>
+          <attribute name="type">
+            <value>client</value>
+          </attribute>
+          <element name="source">
+            <attribute name="address">
+              <ref name="ipv4Addr"/>
+            </attribute>
+            <attribute name="port">
+              <ref name="PortNumber"/>
+            </attribute>
+            <empty/>
+          </element>
+        </group>
+        <group>
+          <attribute name="type">
+            <value>server</value>
+          </attribute>
+          <element name="source">
+            <optional>
+              <attribute name="address">
+                <ref name="ipv4Addr"/>
+              </attribute>
+            </optional>
+            <attribute name="port">
+              <ref name="PortNumber"/>
+            </attribute>
+            <empty/>
+          </element>
+        </group>
       </choice>
     </element>
   </define>
-- 
1.7.7.3


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