xenapi-vlan-network-manager and xenapi_net.py

Asked by Giuseppe Civitella

Hi,

I'm trying to implement a nova-compute node using XenServer.
I followed this guide: http://wiki.openstack.org/XenServerDevelopment
Now I try to get it working in a vlan environment, but when I add this line to my nova.conf
--network_driver=nova.network.xenapi_net
I got an error unless i manually copied xenapi_net.py in the installation.
Ubuntu's milestone packages don't have the driver and I wan unable to find it in a nova branch I got via bzr.
I had to chek out the xenapi-vlan-network-manager to get the code.
Is this correct? I supposed I had to find all I needed in nova since the xenapi_net has been merged in cactus.
Is there something else that must be done to work with vlans when using XenServer?

Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Solved by:
Sateesh
Solved:
Last query:
Last reply:
Revision history for this message
Best Sateesh (sateesh-chodapuneedi) said :
#1

For vlan environment, we don't need to mention the flag --network_driver for nova-compute service. Instead we have new flag 'xenapi_vif_driver' which defaults to nova.virt.xenapi.vif.XenAPIBridgeDriver if not specified in configuration file. For default vlan environment in on xen flavors, we don't need to specify this either.

In nova revision 1321 (merged into nova on 26th July 2011) xenapi_net.py is removed.
In that revision the VIF network connectivity logic is moved from the network managers to the virt layer. In addition, VIF driver class is added to allow customized VIF configurations for various types of VIFs and underlying network technologies.

Revision history for this message
Giuseppe Civitella (gcivitella) said :
#2

Thanks Sateesh, that solved my question.