Ask Your Question
0

Neutron agent internal data structures

asked 2015-03-07 04:48:21 -0500

minherz gravatar image

updated 2015-03-10 08:24:01 -0500

smaffulli gravatar image

Hello,

Where within code of neutron agents I can find structure(s) that store network information? The agent has to know all current networks and ports in use by all VMs that are running in its compute node. Does anyone know where this information is stored except for neutron DB?

Thank you

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-03-10 08:21:18 -0500

smaffulli gravatar image

updated 2015-03-10 08:23:46 -0500

There are answers on the mailing list thread Neutron agent internal data structures. Salvatore Orlando said:

Every agent keeps anyway an in-memory state throughout its execution. The agents indeed have no persistent storage - at least not in the usual form of a database. They however rely on data other than the neutron database.

For instance for the l2 agent, ovsdb itself is a source of information. The agent periodically scans it to detect interfaces which are brought up or down. As another example the dhcp agent stores its current state a 'data' directory (if you're using devstack it's usually /opt/stack/data/neutron/dhcp)

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: 2015-03-07 04:48:21 -0500

Seen: 96 times

Last updated: Mar 10 '15