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

2013-11-25 Thread Mathieu Rohon
On Thu, Nov 21, 2013 at 6:03 PM, Aaron Rosen wrote: > > > > On Thu, Nov 21, 2013 at 8:12 AM, Robert Kukura wrote: >> >> On 11/21/2013 04:20 AM, Stefan Apostoaie wrote: >> > Hello again, >> > >> > I studied the portbindings extension (the quantum.db.portbindings_db and >> > quantum.extensions.port

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

2013-11-21 Thread Robert Kukura
On 11/21/2013 04:20 AM, Stefan Apostoaie wrote: > Hello again, > > I studied the portbindings extension (the quantum.db.portbindings_db and > quantum.extensions.portbindings modules). However it's unclear for me > who sets the portbindings.HOST_ID attribute. I ran some tests with OVS: > called qua

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

2013-11-21 Thread Akihiro Motoki
Hi Stefan, HOST_ID is set by the client. In most usual case nova compute set binding:host_id. On Thu, Nov 21, 2013 at 6:20 PM, Stefan Apostoaie wrote: > Hello again, > > I studied the portbindings extension (the quantum.db.portbindings_db and > quantum.extensions.portbindings modules). However

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

2013-11-21 Thread Aaron Rosen
On Thu, Nov 21, 2013 at 8:12 AM, Robert Kukura wrote: > On 11/21/2013 04:20 AM, Stefan Apostoaie wrote: > > Hello again, > > > > I studied the portbindings extension (the quantum.db.portbindings_db and > > quantum.extensions.portbindings modules). However it's unclear for me > > who sets the port

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

2013-11-21 Thread Stefan Apostoaie
Hello again, I studied the portbindings extension (the quantum.db.portbindings_db and quantum.extensions.portbindings modules). However it's unclear for me who sets the portbindings.HOST_ID attribute. I ran some tests with OVS: called quantum port-create command and the OVSQuantumPluginV2.create_p

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

2013-11-15 Thread Mark McClain
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 wrot

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

2013-11-15 Thread Stefan Apostoaie
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 nee