[Openstack-operators] Configuring a driver for a vNIC
Itzik Brown
itzikb at dev.mellanox.co.il
Thu Nov 15 08:56:04 UTC 2012
Thanks,
The question is how can I choose dynamically between one model or the other?
In VMware When you add a NIC you can choose the Adapter type (e.g.
'e1000' or 'VMXNET3').
Can it be done?
Thanks,
Itzik
On 13/11/2012 16:41, Christian Berendt wrote:
> 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.
>
More information about the OpenStack-operators
mailing list