<div dir="ltr">Thank you. I am looking to read this state and compare it with neutron DB. If there are agents that do it already, I would like only to learn if I can change the polling period. Can you advise about the most efficient way to learn which agent does it and which doesn't?<div><br></div><div>Leonid<br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Mar 8, 2015 at 12:02 AM, Salvatore Orlando <span dir="ltr"><<a href="mailto:sorlando@nicira.com" target="_blank">sorlando@nicira.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Leo,<div><br></div><div>Every agent keeps anyway an in-memory state throughout its execution.<br></div><div>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.</div><div><br></div><div>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.</div><div>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)</div><div><br></div><div>Hope this helps,</div><div>Salvatore</div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 7 March 2015 at 13:05, Leo Y <span dir="ltr"><<a href="mailto:minherz@gmail.com" target="_blank">minherz@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><p style="margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;font-size:14px;line-height:1.4;font-family:'Helvetica Neue',Arial,Helvetica,sans-serif;color:rgb(75,75,75)">Hello,</p><p style="margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;font-size:14px;line-height:1.4;font-family:'Helvetica Neue',Arial,Helvetica,sans-serif;color:rgb(75,75,75)">Where within the 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?</p><p style="margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;font-size:14px;line-height:1.4;font-family:'Helvetica Neue',Arial,Helvetica,sans-serif;color:rgb(75,75,75)">Thank you</p>
</div>
<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>
<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Regards,<br>        Leo<br>---------------------------------------------------------<br>I enjoy the massacre of ads. This sentence will slaughter ads without a messy bloodbath</div>
</div></div></div>