[libvirt] [PATCH v2 1/4] nodedev: Add the ability to create vHBA by parent wwnn/wwpn or fabric_wwn
Ján Tomko
jtomko at redhat.com
Fri Jan 6 13:56:32 UTC 2017
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170106/3a846948/attachment-0001.sig>
More information about the libvir-list
mailing list