xenapi-vlan-network-manager and xenapi_net.py

asked 2011-09-12 15:04:41 -0500

gcivitella gravatar image


I'm trying to implement a nova-compute node using XenServer. I followed this guide: http://wiki.openstack.org/XenServerDevelopment (http://wiki.openstack.org/XenServerDe...) 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?


edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2011-09-21 12:21:08 -0500

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.

edit flag offensive delete link more

answered 2011-09-21 13:51:11 -0500

gcivitella gravatar image

Thanks Sateesh, that solved my question.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2011-09-12 15:04:41 -0500

Seen: 27 times

Last updated: Sep 21 '11