Ask Your Question

Neutron command workflow

asked 2014-01-24 04:44:52 -0500

Hi all,

I would like to know how neutron dispatches the commands sent by neutron-client. I mean, when you execute a command like:

$ neutron agent-list

Which python file, on the neutron-server side, should be executed to respond to that command?. I guess that should be a "Agent class" to resolve that request, but I don't know what is the workflow to respond a request.

Thank you.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-01-24 05:26:18 -0500

kashyapc gravatar image

updated 2014-01-24 06:06:56 -0500

You can try a couple of things:

  1. Enabling debug/verbose logs by setting verbose = True and debug = True attributes in your /etc/neutron.conf to the see the flow of a Neutron API request originating from a CLI command. (Don't forget to restart Neutron services.)

  2. Use PDB to see the flow of a request --

edit flag offensive delete link more


With verbose=True the log file takes a lot of information and anything related with the workflow of the request. I tried to use PDB but it doesn't work. The only idea is using "print" sentences... but I think it is a very bad solution.

Marcos F. Lobo gravatar imageMarcos F. Lobo ( 2014-01-24 06:38:24 -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

1 follower


Asked: 2014-01-24 04:44:52 -0500

Seen: 208 times

Last updated: Jan 24 '14