On Wed, Jan 04, 2017 at 05:48:35PM -0500, John Ferlan wrote:
@@ -31,6 +31,28 @@
    </element>
  </define>

+  <define name='parent'>
+    <element name='parent'>
+      <optional>
+        <attribute name='wwnn'>
+          <ref name='wwn'/>
+        </attribute>
+        <attribute name='wwpn'>
+          <ref name='wwn'/>
+        </attribute>
+      </optional>
+      <optional>
+        <attribute name='fabric_wwn'>
+          <ref name='wwn'/>
+        </attribute>
+      </optional>
+      <choice>
+        <text/>
+        <empty/>
+      </choice>
+    </element>
+  </define>
+

Could this be tightened as:

<choice>
 <group>
    wwnn
    wwpn
    <empty/>
 </group>
 <group>
   fabric_wwn
   <empty/>
 </group>
 <text/>
</choice>

?

Jan

Attachment: signature.asc
Description: Digital signature

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to