vlan configuration with neutron plugins (monolithic and not ML2)

asked 2015-01-01 00:51:36 -0500

dsrini gravatar image

updated 2015-01-01 12:05:35 -0500

Hi all,

I am new to openstack and in need of help. please do the needful.

My setup is exactly as defined in the below link. https://wiki.openstack.org/wiki/Neutron/FloodlightPluginSetup (https://wiki.openstack.org/wiki/Neutr...)

Problem statement- When a VM is created and neutron plugin is called to create the port, a rest-call is made to the sdn-controller. For sdn-controller to be able to configure vlan on the of-port (ovs-switch port) on the compute node, it does not know the of-port number that is automatically created by openstack (nova-compute).

THe of-port create/update message that is sent by ovs-switch to the sdn-controller does not have the details of the VM to infer which of-port correspond to which VM aswell. As VM tap device is connected to linux bridge and vnet-pair connects the bridge to the ovs-switch, the MAC associated to the of-port will be vnet mac not the VM tap interface mac.

Question is: Is there a way to create vlan on the of-port when the of-port is created as a part of VM creation? Or how can I infer the of-port to which the VM is connected for the sdn-controller to create the vlan, when the plugin does the port-create rest-call?

Please note we are not using ML2 for now and its the monolithic plugin model in play.

Regards, Dev

edit retag flag offensive close merge delete