Ask Your Question
0

How quantum server know which host the VM Is deployed

asked 2013-07-08 07:11:15 -0600

Hi, guys

I have a question about Quantum (I using Quantum Grizzly with OVS plugin), when deploying a vm , the nova_compute may send a 'port_update' msg to quantum server, then quantum_server will forward the msg to the quantum agent, but how quantum_server knows to which quantum_agent should send (how quantum_server knows the relationship between the nova_compute node and OVS agent), by hostname ? thanks

edit retag flag offensive close merge delete

5 answers

Sort by ยป oldest newest most voted
0

answered 2013-07-09 00:38:10 -0600

Thanks lee jian, that solved my question.

edit flag offensive delete link more
0

answered 2013-07-08 09:38:33 -0600

thanks you for your replying

I have read the code before, but I'm not sure that is whether is exact right ^&^

edit flag offensive delete link more
0

answered 2013-07-08 18:42:22 -0600

Lee jian is correct. That is how it works.

edit flag offensive delete link more
0

answered 2013-07-09 00:37:39 -0600

thanks Lee jian and Aaron Rosen !

edit flag offensive delete link more
0

answered 2013-07-08 09:01:33 -0600

leejian0612 gravatar image

in my comprehension,quantum_server will fanout the 'port_update' message, and every agent can receive the 'port_update' message,then according port's id included in the message to determine whether the port is local or not,if local,update the port,or do nothing. you may look up the port_update function in ovs_quantum_agent.py for details.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-07-08 07:11:15 -0600

Seen: 18 times

Last updated: Jul 09 '13