Ask Your Question

How to understand the source code of neutron api?

asked 2015-06-22 12:26:20 -0500

rajat88 gravatar image

I want to understand how neutron client and neutron service interact and what is happening in the background? What are the files being called?

edit retag flag offensive close merge delete


Search for "openstack provisioning". You will find many useful articles.

Below are the Nova processes

uts9 gravatar imageuts9 ( 2015-06-23 01:13:53 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2015-06-24 06:13:11 -0500

You can set the --debug option in the neutron client. You can also set the debug flag in the neutron config files and check the log files - each log entry includes the source file and line. The log files have been very useful for me, personally; you can see the flow very well. Due to the nature of Python, it's also easy to add log printouts to the source code if there is not enough detail in the logs; you just have to restart the service in question, no compilation or linking required.

Finally, some video presentations cover neutron internals, like Deep Dive into Neutron or Inside the Architecture of Neutron. Slides are usually available as well.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-06-22 12:26:20 -0500

Seen: 293 times

Last updated: Jun 24 '15