Ask Your Question

why nova-computes interacts with neutron-server.

asked 2014-01-27 01:32:26 -0500

admin gravatar image

updated 2014-01-27 01:35:16 -0500

I want to know why nova-compute interacts with neutron-server when it creates instance.

I also want to know what type of information stored in neuton-server to commnicate and where?

Please refer any good documentation for this purpose.

edit retag flag offensive close merge delete



you need to have networking support and ip address for the instances. Neutron server provides the networking service to all the instances.

dheeru gravatar imagedheeru ( 2014-01-27 01:35:22 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2014-01-27 05:59:41 -0500

RomilGupta gravatar image

updated 2014-01-27 06:00:35 -0500

Hi ,

During nova-boot the nova-compute does the REST-call to neutron-server for creating a port , in this call neutron-server simply adds the new port details into the neutron database .At the same time , the neutron-agent(ovs, linuxbridge) running on compute node keeps polling on br-intfor new instance and make the rpc_call 'get_device_details' to neutron-server , the neutron-server returns the following dictionary `

[{u'status': u'BUILD', u'binding:host_id': u'openstack-cn1', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'4fbc872e-9877-4d31-87f7-66b3690b2880', u'segmentation_id': 2001, u'extra_dhcp_opts': [], u'mac_address': u'fa:16:3e:5a:a8:05', u'network_type': u'vlan', u'binding:vif_type': u'other', u'device_owner': u'compute:nova', u'physical_network': u'physnet1', u'binding:capabilities': {u'port_filter': True}, u'tenant_id': u'f87e711648a9484290d73a518d50627c', u'fixed_ips': [{u'subnet_id': u'4b4a7ce2-add4-435f-9775-5bee1756db64', u'ip_address': u''}], u'id': u'd53f4f29-2798-42cd-b820-3f24fe0daa51', u'security_groups': [u'1759cd27-e740-4059-894d-cf2fc21994f6'], u'device_id': u'288af4f1-e9e9-4315-b8f7-b483ea584d4e'}]

and finally neutron-agent creates the port on br-int.

edit flag offensive delete link more


Can I continue asking questions about that topic or I should create a new one?

GLaupre gravatar imageGLaupre ( 2015-01-22 13:11:05 -0500 )edit

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



Asked: 2014-01-27 01:32:26 -0500

Seen: 375 times

Last updated: Jan 27 '14