[libvirt] [PATCH] vepa: parsing for 802.1Qb{g|h} XML
Stefan Berger
stefanb at us.ibm.com
Tue May 11 16:36:12 UTC 2010
"Daniel P. Berrange" <berrange at redhat.com> wrote on 05/11/2010 06:25:05
AM:
>
> Also, when we have 2 different sets of attributes, we normally use
> a type attribute on the element to tell the parser what set of
> data to expect. So I think this should gain a 'type' attribute here.
Like these here
<interface type='direct'>
<source dev='static' mode='vepa'/>
<model type='virtio'/>
<vsi type='802.1Qbg' managerid='12' typeid='0x123456'
typeidversion='1'
instanceid='fa9b7fff-b0a0-4893-8e0e-beef4ff18f8f' />
<filterref filter='clean-traffic'/>
</interface>
<interface type='direct'>
<source dev='static' mode='vepa'/>
<model type='virtio'/>
<vsi type='802.1Qbh' profileid='my_profile'/>
</interface>
or more like this
<interface type='direct'>
<source dev='static' mode='vepa'/>
<model type='virtio'/>
<vsi type='802.1Qbg'>
<parameters managerid='12' typeid='0x123456' typeidversion='1'
instanceid='fa9b7fff-b0a0-4893-8e0e-beef4ff18f8f' />
</vsi>
<filterref filter='clean-traffic'/>
</interface>
?
Stefan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100511/26c10116/attachment-0001.htm>
More information about the libvir-list
mailing list