[Openstack-operators] Configuring a driver for a vNIC

Christian Berendt berendt at b1-systems.de
Tue Nov 13 14:41:27 UTC 2012


On 11/13/2012 02:26 PM, Eugene Nelen wrote:
> There is file called libvirt.xml.template
> /usr/lib/python2.7/dist-packages/nova/virt/libvirt.xml.template
> you can copy it for example to /etc/nova and add next line to nova.conf
> --libvirt_xml_template=/etc/nova/libvirt.xml.template

I think this file and parameter got removed, at least in Grizzly. The 
generation of the configuration is now located in 
nova/virt/libvirt/config.py.

You have to introduce a new parameter, for example 
libvirt_network_model, and have to use it in nova/virt/libvirt/config.py 
and nova/virt/libvirt/driver.py.

Christian.

-- 
Christian Berendt
Solution Architect
Mail: berendt at b1-systems.de

B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537



More information about the OpenStack-operators mailing list