Re: [Ryu-devel] [PATCH] handle None values in OFPMatch __init__

2015-02-19 Thread Tobias Jungel
can anyone comment on this? best Tobi On Do, 2015-02-12 at 20:01 +0100, Tobias Jungel wrote: > In case one of the kwargs is set to None the ofproto parsers for > versions 1.2, 1.3 and 1.4 fail. This patch skips k,v pairs having set v > to None. > > Signed-off-by: Tobias Jungel > --- > ryu/ofp

[Ryu-devel] [PATCH] packet lib: dhcp: Fix to calculate Hardware address length

2015-02-19 Thread Minoru TAKAHASHI
Reported-by: Sam Russell Signed-off-by: Minoru TAKAHASHI --- ryu/lib/packet/dhcp.py | 2 +- ryu/tests/unit/packet/test_dhcp.py | 53 ++ 2 files changed, 54 insertions(+), 1 deletion(-) diff --git a/ryu/lib/packet/dhcp.py b/ryu/lib/packet/dhcp.py

Re: [Ryu-devel] Bug in dhcp.hlen calculation

2015-02-19 Thread Minoru TAKAHASHI
Hi, On 2015年02月20日 06:37, Sam Russell wrote: > That looks correct to me - in any case the test you've changed will > pick it up. I can confirm that setting hlen=6 is working as part of my > dhcp server for linux clients > (https://github.com/samrussell/trekin/blob/master/trekin/app/trekin.py), > a

Re: [Ryu-devel] Passing config file to Ryu app

2015-02-19 Thread A Sydney
That will do :) Thanks a bunch! -Ali On Mon, Feb 16, 2015 at 7:43 PM, Yusuke Iwase wrote: > Hi, > > How about this? > (I use oslo.config lib) > > > $ git diff > diff --git a/ryu/app/simple_switch_13.py b/ryu/app/simple_switch_13.py > index b9cbad0..cd89c7f 100644 > --- a/ryu/app/simple_switch_1

Re: [Ryu-devel] Bug in dhcp.hlen calculation

2015-02-19 Thread Sam Russell
That looks correct to me - in any case the test you've changed will pick it up. I can confirm that setting hlen=6 is working as part of my dhcp server for linux clients (https://github.com/samrussell/trekin/blob/master/trekin/app/trekin.py), and would expect that mac.text_to_bin("00:11:22:33:44:55"

Re: [Ryu-devel] Using Meter Tables

2015-02-19 Thread Mehrdad Moradi
Shu, Thanks a lot for your clarification. Best Regards, --Mehrdad On Thu, Feb 19, 2015 at 12:30 PM, Shu Shen wrote: > On Thu, Feb 19, 2015 at 7:41 AM, Mehrdad Moradi > wrote: > >> Thanks for response and the reference. >> >> Given if they support metering, does Ryu support in MeterInstruction

Re: [Ryu-devel] [PATCH] snortlib: Fix nw_sock handling

2015-02-19 Thread Che-Wei Lin
Hi, Yusuke Iwase Thank you for your fix about snortlib. I am going to test the patch on my environment. Che-Wei Lin , John Lin Institute of Communication Engineering, National Tsing Hua University [image: 林哲緯 on about.me] E-mail: linton...@gmail.com Blog: linton.tw

Re: [Ryu-devel] Using Meter Tables

2015-02-19 Thread Shu Shen
On Thu, Feb 19, 2015 at 7:41 AM, Mehrdad Moradi wrote: > Thanks for response and the reference. > > Given if they support metering, does Ryu support in MeterInstruction as a > group action bucket? Or > ​Yes, Meter Instruction is what being supported in OF v1.4 and earlier.​ > I need to do the

Re: [Ryu-devel] Using Meter Tables

2015-02-19 Thread Mehrdad Moradi
Thanks for response and the reference. Given if they support metering, does Ryu support in MeterInstruction as a group action bucket? Or I need to do the metering as a flow entry instruction and then run the group action bucket? Best Regards, ---Mehrdad On Wed, Feb 18, 2015 at 5:42 PM, Shu Shen

[Ryu-devel] Resubmit to table action in group

2015-02-19 Thread Clément Rault
Hi, Is there a way to use the resubmit action to table in a group? Because I couldn't find it in the documentation ( http://ryu.readthedocs.org/en/latest/app/ofctl_rest.html#description-of-actions-on-request-messages ). I am talking about the functionality that has been discussed in this thread: