Jump to: navigation, search

Vif-driver-802-1qbh

Revision as of 23:30, 17 February 2013 by Ryan Lane (talk | contribs) (Text replace - "__NOTOC__" to "")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

VIF Driver Support for 802.1Qbh Scheme

Sumit Naiksatam <[[1]]> <
>

Abstract

A VIF driver is implemented for the 802.1qbh type of libvirt virtual network interface.

Design

The following is an example of the 802.1Qbh libvirt interface configuration:

  <interface type='direct'>
     <mac address=${mac_address}/>
     <virtualport type='802.1Qbh'>
       <parameters profileid=${profile_name}/>
     </virtualport>
     <model type='virtio'/>
   </interface>

The "device_name" and "profile_name" information needs to be obtained from the Quantum network service.

nova/virt/libvirt/vifdirect.py implements a VIF driver per the specifications in blueprint: http://wiki.openstack.org/network-refactoring#VIF_driver to communicate with the Quantum network service and obtain the "device_name" and the "profile_name" information. This information is obtained on the basis of the instance information (id, project_id, and user_id) information supplied by this driver to Quantum.

The following configuration flags need to be modified in the /etc/nova/nova.conf to use this VIF driver:

--libvirt_vif_driver=nova.virt.libvirt.vifdirect.Libvirt802dot1QbhDriver --libvirt_vif_type=802.1Qbh