I checked your PDF document.
Packet counts of the table-miss flow entry is strange in the hardware
switch setup. Maybe the controller isn't getting expected packet-ins,
which can be the reason why the forwarding flow entries aren't
populated.
I have no idea if this is due to hardware problems or configuration
issuese.


On Sun, 17 Feb 2019 02:56:35 +0900,
Diarmuid O Briain wrote:
> 
> [1  <multipart/alternative (7bit)>]
> [1.1  <text/plain; UTF-8 (7bit)>]
> 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?

The diff is due to the following commit, but I don't think it matters
in your case.

commit 3b946c01929c6f390721731c9d31aa09feeb858a
Author: Jerico Moeyersons <jeric...@hotmail.com>
Date:   Tue Nov 28 10:28:12 2017 +0900

    app: Fix simple_switch for multi switch env


> 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
> >> --

--
IWAMOTO Toshihiro


_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to