On Sat, 25 Nov 2017 21:58:15 +0900
IWASE Yusuke <iwase.yusu...@gmail.com> wrote:

> Currently, the matches of flows in the learning switch examples are based
> on the destination and the in_port. In a multi-OF-switch environment this
> could cause issues when doing calls from a host on a first switch to
> multiple hosts on another switch, namely that new destinations aren't
> added as a flow because the source is already known on the second switch
> (when doing multiple calls to different hosts on another switch).
> This patch fixes this issue by adding the eth_src to the match field.
> 
> Signed-off-by: Jerico Moeyersons <jeric...@hotmail.com>
> ---
>  ryu/app/simple_switch.py    | 7 ++++---
>  ryu/app/simple_switch_12.py | 7 ++++---
>  ryu/app/simple_switch_13.py | 2 +-
>  ryu/app/simple_switch_14.py | 2 +-
>  4 files changed, 10 insertions(+), 8 deletions(-)

The simple switch applications are not intended for multiple switch
env (just for OpenFlow beginners) but looks like the change doesn't
make the code so complicated so I've applied.

Thanks,

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to