[pox-dev] Listeners in class
Sulabh Bista
sul4bh at gmail.com
Wed Nov 6 09:39:11 PST 2013
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 <sul4bh at 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 <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/12c3db26/attachment-0002.htm>
More information about the pox-dev
mailing list