Maen,

Interesting, I compared the *simple_switch13.py* file you linked me to and
the one that comes with the *python3-ryu* package (installed with apt-get
install python3-ryu).

$ *diff /usr/lib/python3/dist-packages/ryu/app/simple_switch_13.py
maen_version_simple_switch_13.py*
105c105
<             match = parser.OFPMatch(in_port=in_port, eth_dst=dst)
---
>             match = parser.OFPMatch(in_port=in_port, eth_dst=dst,
eth_src=src)
120d119
<

That would seem to bear out what you say. I am a little lost as to what
that means though. Why the difference?

regards,

Diarmuid
--

*Irish by birth, located in Uganda but Munster by the grace of God.*




On Sat, 16 Feb 2019 at 19:04, Maen Artimy <arti...@gmail.com> wrote:

> Diarmuid,
> There is something odd about the application you are running. The
> simple_switch_13.py should match three fields not two. Also it should not
> output the packet to the same input port (see line 105) . So I would start
> by checking if the application is correct.
> https://github.com/osrg/ryu/blob/master/ryu/app/simple_switch_13.py
>
> Regards,
> Maen
>
> On Sat, Feb 16, 2019 at 11:36 AM Diarmuid O Briain <diarm...@obriain.com>
> wrote:
>
>> Hi,
>>
>> I have spent ages playing with Ryu and mininet and decided to try some
>> actual physical switches. I compared using Ryu with an OvS switching for
>> physical ports in a server with Ryu controlling a Netgear M4300-48G in
>> OpenFlow v1.3 mode. The response in both cases were different and I
>> documented it in the attached. I would appreciate it if someone who knows
>> more about the Ryu controller than me would look and try explain the
>> different outcomes from scenarios on A and B.
>>
>> much appreciated.
>>
>> Diarmuid O'Briain
>> --
>>
>> *Irish by birth, located in Uganda but Munster by the grace of God.*
>>
>>
>> _______________________________________________
>> 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