[pox-dev] Listeners in class

Sulabh Bista sul4bh at gmail.com
Wed Nov 6 09:30:09 PST 2013


Use the event name with proper case as:
self.addListenersByname("FlowStatsReceived", self._handle_flowstate_
received)



On Wed, Nov 6, 2013 at 9:01 AM, Amer <amer7777 at hotmail.com> wrote:

> Hello,
>
> I would like to add listeners to flow and port status in l3.learning.py.
> There is a command
> Self.listento(core)
> But it is not calling flow or port status function
> I tried with self.addListenersByname("flowstatereceived",
> self._handle_flowstate_received)
> and without self
>
> But it is not work
>
> Best regards,
> Amer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.noxrepo.org/pipermail/pox-dev-noxrepo.org/attachments/20131106/ab2c6b8b/attachment-0002.htm>


More information about the pox-dev mailing list