Difference between revisions of "Vif-driver-802-1qbh"
m (Text replace - "<<TableOfContents()>>" to "__TOC__") |
|||
Line 7: | Line 7: | ||
Sumit Naiksatam <[[mailto:snaiksat@cisco.com]]> <<BR>> | Sumit Naiksatam <[[mailto:snaiksat@cisco.com]]> <<BR>> | ||
− | + | __TOC__ | |
== Abstract == | == Abstract == |
Revision as of 23:22, 17 February 2013
- Launchpad Entry: https://code.launchpad.net/~cisco-openstack/nova/802dot1qbh-support-with-quantum
- Created: Aug 10 2011
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