Hi Nisha and Thanks Modhawi,

To count the packet-in messages, you need to implement some codes into your
application. (simple_switch_13.py doesn’t count it.)
Just an idea, how about defining a counter variable in your app and
incrementing it in “ _packet_in_handler” handler?

Regards,
Iwase

2020年1月21日(火) 1:50 Nisha Ahuja <ahujanisha...@gmail.com>:

> I am simple_switch_l3 application
>
> On Mon 20 Jan, 2020, 8:17 PM Yusuke Iwase, <iwase.yusu...@gmail.com>
> wrote:
>
>> Hi,
>>
>> Which application are you running? simple_switch_xx.py?
>> If so, there can be many waste packets because that application is just
>> an example application and not designed to work with many switches.
>>
>> Regards,
>> Iwase
>>
>> 2020年1月20日(月) 20:51 Nisha Ahuja <ahujanisha...@gmail.com>:
>>
>>> Dear All,
>>>
>>> I am new to Mninet and learning SDN, I have a custom topology in which
>>> there are 15 hosts and 9 switches. All of them are connected in the
>>> following fashion as attached below. I am just sending ping message between
>>> two of the hosts(H1,H2), and trying to count the number of total packet_in
>>> messages exchanged during the communication. Even the number of hosts are
>>> just 15 but the number of packet_in messages are starting from 1 and going
>>> till 500 and more. Can anybody help me  how such large number of packet_in
>>> messages are recorded.
>>>
>>> [image: image.png]
>>>
>>>
>>>
>>>
>>>
>>> --
>>> Thanks and Regards
>>> Nisha Ahuja
>>>
>>> _______________________________________________
>>> Ryu-devel mailing list
>>> Ryu-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>>>
>>
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to