[libvirt] how did libvirt manage Virtual Network?

Wayne Xia xiawenc at linux.vnet.ibm.com
Fri Sep 9 02:16:33 UTC 2011

     Working at the network management, I am a bit confused about the
VLAN model in libvirt.

     in the xml definition, there is a section as following:

     <interface type='network'>
       <source network='default'/>
     <interface type='network'>
       <source network='default' portgroup='engineering'/>
       <target dev='vnet7'/>
       <mac address="00:11:22:33:44:55"/>
       <virtualport type='802.1Qbg'>
         <parameters managerid='11' typeid='1193047' typeidversion='2'


     What is the really meaning of its related parameters of
"virtualport"? I want to discover informations such as VLAN id,
the switch type( software switch or hardware switch), connecting
relationship, but from the xml I can only found "managerid". I am not 
sure how to map these xml information to those I needed, could I 
consider managerid as VLAN id, and a portgroup as a specified VLAN group?
     By the way to use virtualport, what components should I install on

Best Regards

Wayne Xia
mail:xiawenc at linux.vnet.ibm.com

kvm-cstl mailing list <kvm-cstl at lists.linux.ibm.com>
To unsubscribe from the list, change your list options
or if you have forgotten your list password visit:

More information about the libvir-list mailing list