[pox-dev] Listeners in class

Amer amer7777 at hotmail.com
Wed Nov 6 10:48:31 PST 2013


Hello,

Thank you, I will wait :)

Cheers
Amer 

Sent from my iPhone

On ٠٦‏/١١‏/٢٠١٣, at ٨:٣٩ م, Sulabh Bista <sul4bh at gmail.com> wrote:

> 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 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/4967f8ac/attachment-0002.htm>


More information about the pox-dev mailing list