<p dir="ltr">Thanks for the information.</p>
<div class="gmail_quote">On 17-Aug-2015 7:53 pm, "Gal Sagie" <<a href="mailto:gal.sagie@gmail.com">gal.sagie@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Maybe its best to also send this to the Ryu mailing list<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 17, 2015 at 4:31 PM, Vikram Choudhary <span dir="ltr"><<a href="mailto:vikram.choudhary@huawei.com" target="_blank">vikram.choudhary@huawei.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal"><span style="color:#1f497d">Widening audience!<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p>
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Vikram Choudhary [mailto:<a href="mailto:vikram.choudhary@huawei.com" target="_blank">vikram.choudhary@huawei.com</a>]
<br>
<b>Sent:</b> 17 August 2015 18:05<br>
<b>To:</b> <a href="mailto:ryu-devel@lists.sourceforge.net" target="_blank">ryu-devel@lists.sourceforge.net</a><br>
<b>Cc:</b> Tidwell, Ryan; Vikram Choudhary; Jaume Devesa; Numan Siddique; Kalyankumar Asangi; Baldwin, Carl (OpenStack Neutron)<br>
<b>Subject:</b> [Ryu-devel] [IMPORTANT]: Query regarding BGP Speaker and BGP Peer States.<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Hi All,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">We have used Ryu’s BGP speaker functionality for one of the neutron projects (<a href="https://review.openstack.org/#/c/207635/" target="_blank">https://review.openstack.org/#/c/207635/</a>) and want to know BGP Speaker and Peer states for display purpose/s.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">With reference to this we have following question’s.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p><u></u><span style="font-family:Wingdings"><span>è<span style="font:7.0pt "Times New Roman"">
</span></span></span><u></u>Does Ryu’s BGP Speaker functionality expose any API to query BGP Speaker and BGP Peer state?<u></u><u></u></p>
<p>BGP_FSM_IDLE = 'Idle'<u></u><u></u></p>
<p>BGP_FSM_CONNECT = 'Connect'<u></u><u></u></p>
<p>BGP_FSM_ACTIVE = 'Active'<u></u><u></u></p>
<p>BGP_FSM_OPEN_SENT = 'OpenSent'<u></u><u></u></p>
<p>BGP_FSM_OPEN_CONFIRM = 'OpenConfirm'<u></u><u></u></p>
<p>BGP_FSM_ESTABLISHED = 'Established'<u></u><u></u></p>
<p><u></u> <u></u></p>
<p><u></u><span style="font-family:Wingdings"><span>è<span style="font:7.0pt "Times New Roman"">
</span></span></span><u></u>If not then what will be the easiest way of getting this information?<u></u><u></u></p>
<p style="margin-left:72.0pt">
<u></u><span style="font-family:"Courier New""><span>o<span style="font:7.0pt "Times New Roman"">  
</span></span></span><u></u>From the code, we could find “self.state” saves BGP Speaker state. Can we use it directly?<u></u><u></u></p>
<p style="margin-left:72.0pt">
<u></u><span style="font-family:"Courier New""><span>o<span style="font:7.0pt "Times New Roman"">  
</span></span></span><u></u>How to get Peer’s state information.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Any help would be appreciated.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks<span><font color="#888888"><u></u><u></u></font></span></p><span><font color="#888888">
<p class="MsoNormal">Vikram<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</font></span></div>
</div>

<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div>Best Regards ,<br><br>The G. </div>
</div>
<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div>