Re: [Ryu-devel] [PATCH 2/2] topology: ignore cfm packets on packet in

2016-05-19 Thread Iwase Yusuke
Hi, Thank you for updating the patches! On 2016年05月20日 07:11, Evan Gray wrote: > Hello Iwase, > > Thank you for the feedback! > > You are correct, this will parse the "msg.data" as an ethernet frame > only and I believe parsing "msg.data" as an ethernet frame before > parsing it further can pote

Re: [Ryu-devel] DistributioNotFound: ryu==1.7

2016-05-19 Thread Iwase Yusuke
Hi, I don't know about that VM image, though... (AFAIK, this VM image is NOT published by Ryu-devel team.) On 2016年05月19日 16:52, wesam kh wrote: > hello every one > I using the full package from web site SDN Hub > All-in-one SDN App Development Starter VM | SDN Hub >

Re: [Ryu-devel] Error starting Ryu-Manager with openflow 1.3

2016-05-19 Thread Shinpei Muraoka
Hi, The error has occurred because the package to be installed is insufficient. Please referring to the following, try to reinstall the Ryu. https://osrg.github.io/ryu-book/en/html/switching_hub.html#execution-of-ryu-application Thanks, On 2016年05月20日 04:37, Iuri Finger wrote: > Hello friends.

[Ryu-devel] [PATCH v3 1/2] topology: pep8 fixes

2016-05-19 Thread evanscottgray
From: Evan Gray Normal pep8 fixes, there were also two instances where I updated a commented LOG.debug to include exc_info=True so that the traceback will be logged instead of relying on the error passed in the except. Signed-off-by: Evan Gray --- ryu/topology/switches.py | 25

[Ryu-devel] [PATCH v3 2/2] topology: ignore cfm packets on packet in

2016-05-19 Thread evanscottgray
From: Evan Gray This commit will allow the host_discovery_packet_in_handler to ignore invalid cfm packets. Ryu will fail to parse cfm packets with an interval of 0 -- We discovered this when one of our systems sent cfm packets with an interval of 0. Signed-off-by: Evan Gray --- ryu/topology/sw

Re: [Ryu-devel] [PATCH v2 2/2] topology: ignore cfm packets on packet in

2016-05-19 Thread Evan Gray
Hello, In testing this I found a bug with the way I was unpacking the packet from the parser. I will submit a follow up patch. Thanks, /Evan On Thu, May 19, 2016 at 5:16 PM, wrote: > From: Evan Gray > > This commit will allow the host_discovery_packet_in_handler to ignore invalid > cfm packe

[Ryu-devel] [PATCH v2 1/2] topology: pep8 fixes

2016-05-19 Thread evanscottgray
From: Evan Gray Normal pep8 fixes, there were also two instances where I updated a commented LOG.debug to include exc_info=True so that the traceback will be logged instead of relying on the error passed in the except. Signed-off-by: Evan Gray --- ryu/topology/switches.py | 25

[Ryu-devel] [PATCH v2 2/2] topology: ignore cfm packets on packet in

2016-05-19 Thread evanscottgray
From: Evan Gray This commit will allow the host_discovery_packet_in_handler to ignore invalid cfm packets. Ryu will fail to parse cfm packets with an interval of 0 -- We discovered this when one of our systems sent cfm packets with an interval of 0. Signed-off-by: Evan Gray --- ryu/topology/sw

Re: [Ryu-devel] [PATCH 2/2] topology: ignore cfm packets on packet in

2016-05-19 Thread Evan Gray
Hello Iwase, Thank you for the feedback! You are correct, this will parse the "msg.data" as an ethernet frame only and I believe parsing "msg.data" as an ethernet frame before parsing it further can potentially be a more robust solution. We are trying to avoid causing "AssertionError" like the o

Re: [Ryu-devel] Testing Ryu with (updated) cbench

2016-05-19 Thread Victor Orlikowski
On May 19, 2016, at 5:39 PM, André Mantas wrote: > > I think there's some misunderstanding here. As I've said, "the 1.0 version of > simple_switch" ONLY replies and works with the original version of cbench > (not my modified version). The original cbench version uses fake 1.0 switches. > > We

Re: [Ryu-devel] Testing Ryu with (updated) cbench

2016-05-19 Thread André Mantas
I think there's some misunderstanding here. As I've said, "the 1.0 version of simple_switch" ONLY replies and works with the *original version of cbench *(not my modified version). The original cbench version uses fake 1.0 switches. We are talking about different scenarios: 1 - original cbench se

Re: [Ryu-devel] Testing Ryu with (updated) cbench

2016-05-19 Thread Victor Orlikowski
On May 19, 2016, at 5:14 PM, André Mantas wrote: > > Regarding the performance discrepancy, could it be that simple_switch.py is > sending more replies per packet_in (packet-out, flow-mod) that > simple_switch_14.py ? So - given the exception you're getting w.r.t. SwitchFeatures, the virtual

Re: [Ryu-devel] Testing Ryu with (updated) cbench

2016-05-19 Thread André Mantas
Regarding the performance discrepancy, could it be that simple_switch.py is sending more replies per packet_in (packet-out, flow-mod) that simple_switch_14.py ? André Mantas escreveu no dia quinta, 19/05/2016 às 19:52: > Thanks for the quick reply! > > Just to clarify (maybe I wasn't clear enoug

[Ryu-devel] Error starting Ryu-Manager with openflow 1.3

2016-05-19 Thread Iuri Finger
Hello friends. I'm starting work on openflow University and previously never had contact with anything about SDN. I have already installed natively and success with Mininet and RYU app. Well then, I began reading and following the tutorial available on RYU site. I'll tell you which commands that

Re: [Ryu-devel] Testing Ryu with (updated) cbench

2016-05-19 Thread André Mantas
Thanks for the quick reply! Just to clarify (maybe I wasn't clear enough), my cbench also causes simple_switch.py to throw the same error as cbench.py. I simply didn't write anything about it because I thought it was natural. Regarding the negotiated version, I think that in the hello message, I'

Re: [Ryu-devel] Testing Ryu with (updated) cbench

2016-05-19 Thread Victor Orlikowski
On May 19, 2016, at 2:03 PM, André Mantas wrote: > > I'm updating cbench to emulate OpenFlow 1.4 switches (instead of 1.0) and I > just tested it against Ryu. > I noticed that there's a "cbench.py" app that I suppose it is to be used when > benchmarking Ryu. As I'm new to Ryu, I would like to k

[Ryu-devel] Testing Ryu with (updated) cbench

2016-05-19 Thread André Mantas
Hi everyone. I'm updating cbench to emulate OpenFlow 1.4 switches (instead of 1.0) and I just tested it against Ryu. I noticed that there's a "cbench.py" app that I suppose it is to be used when benchmarking Ryu. As I'm new to Ryu, I would like to know if I'm doing things right. So, from ryu main

Re: [Ryu-devel] tuple datapath Id x switch name

2016-05-19 Thread Edison Albuquerque
Thanks again. Edison. 2016-05-19 1:41 GMT+00:00 Iwase Yusuke : > Hi, > > Ryu stores the switch's information in "Datapath" class instance. > > http://ryu.readthedocs.io/en/latest/ryu_app_api.html#ryu-controller-controller-datapath > > Or, if you want to get the FeaturesReply message (which are ha

[Ryu-devel] DistributioNotFound: ryu==1.7

2016-05-19 Thread wesam kh
hello every oneI using the full package from web site SDN HubAll-in-one SDN App Development Starter VM | SDN Hub to work the ryu controller and to implement the application like simple_switch_13.pyand I trying to implement the codes in book( RYU sdn framework ) 1-I have some problem with root of

Re: [Ryu-devel] Error in executing the hub switching 13

2016-05-19 Thread wesam kh
Thank you for reply  Wisam Maala On Thursday, May 19, 2016 10:52 AM, Victor Orlikowski wrote: On May 18, 2016, at 10:44 PM, Iwase Yusuke wrote: > > Thanks a lot! > I overlooked. No problem. ;) Best, Victor -- Victor J. Orlikowski <> vjo@[cs.]duke.edu --