[openstack-dev] [Neutron] Find the compute host on which a VM runs

Mark McClain mark.mcclain at dreamhost.com
Fri Nov 15 20:57:19 UTC 2013


Stefan-

Your workflow is very similar to many other plugins.  You’ll want to look at implementing the port binding extension in your plugin.  The port binding extension allows Nova to inform Neutron of the host where the VM is running.  

mark

On Nov 15, 2013, at 9:55 AM, Stefan Apostoaie <iosstef at gmail.com> wrote:

> Hello,
> 
> I'm creating a Neutron/Quantum plugin to work with a networking controller that takes care of the configuration of the virtual networks. Basically what we are doing is receive the API calls and forward them to our controller to run the required configuration on the compute hosts. 
> What I need to know when a create_port call is made to my plugin is on which compute host the VM is created (so that our controller will run the configuration on that host). Is there a way to find out this information from the plugin?
> 
> Regards,
> Stefan Apostoaie
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




More information about the OpenStack-dev mailing list