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.
Murphy mentions here <https://github.com/noxrepo/pox/issues/87> 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. On Wed, Nov 6, 2013 at 12:30 PM, Sulabh Bista <sul...@gmail.com> wrote: > 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 <amer7...@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 > > >