<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">That was very informative.
<br>
Can you also give me any links to the documentation for the RPC interface? Is status report the only purpose of this interface or is it also used by neutron-server to notify agent about user generated events like say net-create, subnet-create etc.<br>
<br>
Thank you,<br>
Ageeleshwar K<br>
<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF66696"><font color="#000000" face="Tahoma" size="2"><b>From:</b> Salvatore Orlando [sorlando@nicira.com]<br>
<b>Sent:</b> Tuesday, March 25, 2014 3:31 PM<br>
<b>To:</b> Ageeleshwar Kandavelu<br>
<b>Cc:</b> openstack@lists.openstack.org<br>
<b>Subject:</b> Re: [Openstack] [Neutron] General dev queries regarding neutron ovs agent<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr"><br>
<div class="gmail_extra">Comments inline.</div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">Salvatore<br>
<br>
<div class="gmail_quote">On 25 March 2014 07:03, Ageeleshwar Kandavelu <span dir="ltr">
<<a href="mailto:Ageeleshwar.Kandavelu@csscorp.com" target="_blank">Ageeleshwar.Kandavelu@csscorp.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div>
<div style="direction:ltr; font-size:10pt; font-family:Tahoma">Hi,<br>
<br>
I have two queries regarding neutron ovs agent.<br>
<br>
1. Correct me if I am wrong the ovs agent polls the neutron database for changes before creating resources. Why does the agent have to register with neutron-server. When I give 'neutron agent-list' I can see all the agents (l3, dhcp, ovs-plugin). What is the
communication interface between the neutron-server and the agents. A link to the documentation would do.<br>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>The latest version of the neutron agent which had direct access to the database was Essex. Since Folsom, there is a RPC interface, which is the one the agent uses to report the state you see with neutron agent-list.</div>
<div><br>
</div>
<div>Also, the agent configures iptables rules for implementing security groups, and creates gre tunnels if you're using this transport mode; it does not create however tap interfaces, but merely wires them to the appropriate network.</div>
<div><br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div>
<div style="direction:ltr; font-size:10pt; font-family:Tahoma"><br>
2. I recon that the ovs agent is using subprocess to create interfaces on openvswitch. What api does it use to handling namespaces i.e., to create interfaces inside non default network namespace.<br>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>As stated earlier the OVS agent does not create interface. Other agents, such as DHCP and L3, do that. This, and ns management, is achieved with a purpose built library: neutron.agent.linux.ip_lib </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div>
<div style="direction:ltr; font-size:10pt; font-family:Tahoma"><br>
Thank you,<br>
Ageeleshwar K<br>
</div>
<a href="http://www.csscorp.com/common/email-disclaimer.php" target="_blank">http://www.csscorp.com/common/email-disclaimer.php</a>
</div>
<br>
_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
http://www.csscorp.com/common/email-disclaimer.php
</body>
</html>