<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Hello,</div><div><br></div><div>Thank you, I will wait :)</div><div><br></div><div>Cheers</div><div>Amer </div><div><br>Sent from my iPhone</div><div><br>On ٠٦‏/١١‏/٢٠١٣, at ٨:٣٩ م, Sulabh Bista <<a href="mailto:sul4bh@gmail.com">sul4bh@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr">I don't think there are flow and port status events. I guess these are not 'events' at all and you should fetch them when you require them.<div><br></div><div>Murphy mentions <a href="https://github.com/noxrepo/pox/issues/87">here</a> that 'The latest port info we have should always be stored in a Connection's .ports attribute.' May be you can try that or wait for Murphy to add some more insight.</div>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Nov 6, 2013 at 12:30 PM, Sulabh Bista <span dir="ltr"><<a href="mailto:sul4bh@gmail.com" target="_blank">sul4bh@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"><div><font face="arial, sans-serif">Use the event name with proper case as:</font></div><span style="font-family:arial,sans-serif;font-size:13px">self.addListenersByname("</span><font face="arial, sans-serif">FlowStatsReceived", self._handle_flowstate_</font><span style="font-family:arial,sans-serif;font-size:13px">received)</span><br>


<div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Nov 6, 2013 at 9:01 AM, Amer <span dir="ltr"><<a href="mailto:amer7777@hotmail.com" target="_blank">amer7777@hotmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I would like to add listeners to flow and port status in <a href="http://l3.learning.py" target="_blank">l3.learning.py</a>.<br>
There is a command<br>
Self.listento(core)<br>
But it is not calling flow or port status function<br>
I tried with self.addListenersByname("flowstatereceived", self._handle_flowstate_received)<br>
and without self<br>
<br>
But it is not work<br>
<br>
Best regards,<br>
Amer</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></blockquote></body></html>