<attribute name="count">
<ref name="unsignedInt"/>
</attribute>
- <empty/>
+ <empty/>
</element>
</zeroOrMore>
</interleave>
<attribute name='copy_on_read'>
<ref name="virOnOff"/>
</attribute>
- </define>
+ </define>
<define name="discard">
<attribute name='discard'>
<choice>
<value>vhostuser</value>
</attribute>
<interleave>
- <element name="source">
- <attribute name="type">
- <value>unix</value>
- </attribute>
- <attribute name="path">
- <ref name="absFilePath"/>
- </attribute>
- <attribute name="mode">
- <choice>
- <value>server</value>
- <value>client</value>
- </choice>
- </attribute>
- <empty/>
- </element>
+ <element name="source">
+ <attribute name="type">
+ <value>unix</value>
+ </attribute>
+ <attribute name="path">
+ <ref name="absFilePath"/>
+ </attribute>
+ <attribute name="mode">
+ <choice>
+ <value>server</value>
+ <value>client</value>
+ </choice>
+ </attribute>
+ <empty/>
+ </element>
<ref name="interface-options"/>
</interleave>
</group>
<optional>
<element name="backend">
<optional>
- <attribute name='tap'>
- <ref name='absFilePath'/>
- </attribute>
+ <attribute name='tap'>
+ <ref name='absFilePath'/>
+ </attribute>
</optional>
<optional>
- <attribute name='vhost'>
- <ref name='absFilePath'/>
- </attribute>
+ <attribute name='vhost'>
+ <ref name='absFilePath'/>
+ </attribute>
</optional>
</element>
</optional>
<define name="tpm-backend">
<element name="backend">
- <choice>
- <group>
- <attribute name="type">
- <value>passthrough</value>
- </attribute>
- <ref name="tpm-passthrough-device"/>
- </group>
- </choice>
+ <choice>
+ <group>
+ <attribute name="type">
+ <value>passthrough</value>
+ </attribute>
+ <ref name="tpm-passthrough-device"/>
+ </group>
+ </choice>
</element>
</define>
</attribute>
</optional>
</element>
- </optional>
+ </optional>
</define>
<define name="iommu">
<value>scsi</value>
</attribute>
<optional>
- <ref name="sgIO"/>
+ <ref name="sgIO"/>
</optional>
<optional>
<ref name="rawIO"/>
<ref name="filterref-node-attributes"/>
</element>
<element name="rule">
- <ref name="rule-node-attributes"/>
+ <ref name="rule-node-attributes"/>
<optional>
<zeroOrMore>
<element name="mac">
<ref name='action-type'/>
</attribute>
<attribute name="direction">
- <ref name='direction-type'/>
+ <ref name='direction-type'/>
</attribute>
<optional>
<attribute name="priority">
<define name="match-attribute">
<interleave>
<optional>
- <attribute name="match">
- <ref name="virYesNo"/>
- </attribute>
+ <attribute name="match">
+ <ref name="virYesNo"/>
+ </attribute>
</optional>
</interleave>
</define>
<define name="srcmac-attribute">
<interleave>
<optional>
- <attribute name="srcmacaddr">
- <ref name="addrMAC"/>
- </attribute>
+ <attribute name="srcmacaddr">
+ <ref name="addrMAC"/>
+ </attribute>
</optional>
</interleave>
</define>
<interleave>
<ref name="srcmac-attribute"/>
<optional>
- <attribute name="srcmacmask">
- <ref name="addrMAC"/>
- </attribute>
+ <attribute name="srcmacmask">
+ <ref name="addrMAC"/>
+ </attribute>
</optional>
</interleave>
</define>
<interleave>
<ref name="srcmacandmask-attributes"/>
<optional>
- <attribute name="dstmacaddr">
- <ref name="addrMAC"/>
- </attribute>
+ <attribute name="dstmacaddr">
+ <ref name="addrMAC"/>
+ </attribute>
</optional>
<optional>
- <attribute name="dstmacmask">
- <ref name="addrMAC"/>
- </attribute>
+ <attribute name="dstmacmask">
+ <ref name="addrMAC"/>
+ </attribute>
</optional>
</interleave>
</define>
<ref name="boolean"/>
</attribute>
</optional>
- </interleave>
+ </interleave>
</define>
<define name="ip-attributes">
<optional>
<attribute name="protocol">
- <ref name="ipProtocolType"/>
+ <ref name="ipProtocolType"/>
</attribute>
</optional>
</define>
<data type="string">
<param name="pattern">([0-2]?[0-9]?[0-9]\.){3}[0-2]?[0-9]?[0-9]</param>
</data>
- </choice>
+ </choice>
</define>
<define name="addrIPv6">
<data type="string">
<param name="pattern">([a-fA-F0-9]{0,4}:){2,7}([a-fA-F0-9]*)(([0-2]?[0-9]?[0-9]\.){3}[0-2]?[0-9]?[0-9])?</param>
</data>
- </choice>
+ </choice>
</define>
<define name="addrMask">
<data type="string">
<param name="pattern">([0-2]?[0-9]?[0-9]\.){3}[0-2]?[0-9]?[0-9]</param>
</data>
- </choice>
+ </choice>
</define>
<define name="addrMaskv6">
<data type="string">
<param name="pattern">([a-fA-F0-9]{0,4}:){2,7}([a-fA-F0-9]*)</param>
</data>
- </choice>
+ </choice>
</define>
<define name="sixbitrange">
</define>
<define name='priority-type'>
- <data type="int">
- <param name="minInclusive">-1000</param>
- <param name="maxInclusive">1000</param>
- </data>
+ <data type="int">
+ <param name="minInclusive">-1000</param>
+ <param name="maxInclusive">1000</param>
+ </data>
</define>
<define name='statematch-type'>
<data type="string">