<br><tt><font size=2>"Daniel P. Berrange" <berrange@redhat.com>
wrote on 05/11/2010 06:25:05 AM:<br>
<br>
> <br>
> Also, when we have 2 different sets of attributes, we normally use<br>
> a type attribute on the element to tell the parser what set of<br>
> data to expect. So I think this should gain a 'type' attribute here.</font></tt>
<br>
<br><tt><font size=2>Like these here </font></tt>
<br>
<br><tt><font size=2>    <interface type='direct'><br>
       <source dev='static' mode='vepa'/><br>
       <model type='virtio'/><br>
       <vsi type='802.1Qbg' managerid='12' typeid='0x123456'
typeidversion='1'<br>
           instanceid='fa9b7fff-b0a0-4893-8e0e-beef4ff18f8f'
/><br>
       <filterref filter='clean-traffic'/><br>
    </interface><br>
 <br>
    <interface type='direct'><br>
      <source dev='static' mode='vepa'/><br>
      <model type='virtio'/><br>
      <vsi type='802.1Qbh' profileid='my_profile'/><br>
    </interface><br>
</font></tt>
<br><tt><font size=2>or more like this</font></tt>
<br>
<br><tt><font size=2>    <interface type='direct'><br>
       <source dev='static' mode='vepa'/><br>
       <model type='virtio'/><br>
       <vsi type='802.1Qbg'></font></tt>
<br><tt><font size=2>          <parameters
managerid='12' typeid='0x123456' typeidversion='1'</font></tt>
<br><tt><font size=2>           instanceid='fa9b7fff-b0a0-4893-8e0e-beef4ff18f8f'
/></font></tt>
<br><tt><font size=2>       </vsi><br>
       <filterref filter='clean-traffic'/><br>
    </interface><br>
</font></tt>
<br><tt><font size=2>?</font></tt>
<br>
<br><tt><font size=2>   Stefan</font></tt>
<br>