</choice>
</define>
+ <define name="PortNumber">
+ <data type="short">
+ <param name="minInclusive">-1</param>
+ </data>
+ </define>
+
+ <define name='sourceinfoadapter'>
+ <element name='adapter'>
+ <choice>
+ <group>
+ <!-- To keep back-compat, 'type' is not mandatory for
+ scsi_host adapter -->
+ <optional>
+ <attribute name='type'>
+ <value>scsi_host</value>
+ </attribute>
+ </optional>
+ <attribute name='name'>
+ <text/>
+ </attribute>
+ </group>
+ <group>
+ <attribute name='type'>
+ <value>fc_host</value>
+ </attribute>
+ <optional>
+ <attribute name='parent'>
+ <text/>
+ </attribute>
+ </optional>
+ <attribute name='wwnn'>
+ <ref name='wwn'/>
+ </attribute>
+ <attribute name='wwpn'>
+ <ref name='wwn'/>
+ </attribute>
+ </group>
+ </choice>
+ <empty/>
+ </element>
+ </define>
+
</grammar>
<param name="minInclusive">-1</param>
</data>
</define>
- <define name="PortNumber">
- <data type="short">
- <param name="minInclusive">-1</param>
- </data>
- </define>
<!-- weight currently is in range [100, 1000] -->
<define name="weight">
<data type="unsignedInt">
</element>
</define>
- <define name='sourceinfoadapter'>
- <element name='adapter'>
- <choice>
- <group>
- <!-- To keep back-compat, 'type' is not mandatory for
- scsi_host adapter -->
- <optional>
- <attribute name='type'>
- <value>scsi_host</value>
- </attribute>
- </optional>
- <attribute name='name'>
- <text/>
- </attribute>
- </group>
- <group>
- <attribute name='type'>
- <value>fc_host</value>
- </attribute>
- <optional>
- <attribute name='parent'>
- <text/>
- </attribute>
- </optional>
- <attribute name='wwnn'>
- <ref name='wwn'/>
- </attribute>
- <attribute name='wwpn'>
- <ref name='wwn'/>
- </attribute>
- </group>
- </choice>
- <empty/>
- </element>
- </define>
-
<define name='sourceinfoname'>
<element name='name'>
<text/>
</data>
</define>
- <define name="PortNumber">
- <data type="short">
- <param name="minInclusive">-1</param>
- </data>
- </define>
-
</grammar>