Re: [Ryu-devel] help with ryu config

2014-05-26 Thread Yoshihiro Kaneko
Hi, 2014-05-26 0:27 GMT+09:00 马超 : > thank you for your reply! > > sorry to bother you every time, but I got lot of problems, > > Q1: > when I run ryu-manager --config-file /etc/ryu/ryu.conf > it shows > Traceback (most recent call last): > File "/usr/local/bin/ryu-manager", line 9, in > lo

[Ryu-devel] Add Flow with eth_dst with MASK

2014-05-26 Thread Sujai Mutharasu
HI , For creating flow with match: eth_dst , Following is the part of the string i pass with curl. curl -d '{"cookie":"0", "priority":" 32768", "actions": [{"port":2, "type":"OUTPUT"}], "match":{"eth_dst":"00:11:11:11:11:11"}}'

[Ryu-devel] [PATCH] bgp: use host's ssh host key if not specified

2014-05-26 Thread FUJITA Tomonori
Signed-off-by: FUJITA Tomonori --- ryu/services/protocols/bgp/operator/ssh.py | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/ryu/services/protocols/bgp/operator/ssh.py b/ryu/services/protocols/bgp/operator/ssh.py index ac93791..86b233f 100644 --- a/ryu/serv

[Ryu-devel] [PATCH 6/7] sw test tool: Enable sending packets using random values

2014-05-26 Thread Yuichi Ito
The switch test tool is now enabled to send packets using random values as follows: "tests":[ { "ingress":{ "packets":{ "data":[ "ethernet(dst=netaddr.EUI(randint(0, 2 ** 48 - 1)), etherty

[Ryu-devel] [PATCH 5/7] sw test tool: Enable parsing OFPGroupMod messages in 'prerequisite'

2014-05-26 Thread Yuichi Ito
Signed-off-by: Yuichi Ito --- ryu/tests/switch/tester.py |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ryu/tests/switch/tester.py b/ryu/tests/switch/tester.py index 5765212..eacd3fb 100644 --- a/ryu/tests/switch/tester.py +++ b/ryu/tests/switch/tester.py @@ -99,6 +99,7

[Ryu-devel] [PATCH 4/7] sw test tool: Add support for confirmation of installed group entries

2014-05-26 Thread Yuichi Ito
Signed-off-by: Yuichi Ito --- ryu/tests/switch/tester.py | 41 ++--- 1 file changed, 38 insertions(+), 3 deletions(-) diff --git a/ryu/tests/switch/tester.py b/ryu/tests/switch/tester.py index 674f8f1..5765212 100644 --- a/ryu/tests/switch/tester.py +++ b/ry

[Ryu-devel] [PATCH 3/7] sw test tool: Add support for installation of group tables

2014-05-26 Thread Yuichi Ito
Signed-off-by: Yuichi Ito --- ryu/tests/switch/tester.py |8 1 file changed, 8 insertions(+) diff --git a/ryu/tests/switch/tester.py b/ryu/tests/switch/tester.py index 1f8264d..674f8f1 100644 --- a/ryu/tests/switch/tester.py +++ b/ryu/tests/switch/tester.py @@ -132,6 +132,7 @@ STATE

[Ryu-devel] [PATCH 2/7] sw test tool: Add support for initialization of group tables

2014-05-26 Thread Yuichi Ito
Signed-off-by: Yuichi Ito --- ryu/tests/switch/tester.py | 13 + 1 file changed, 13 insertions(+) diff --git a/ryu/tests/switch/tester.py b/ryu/tests/switch/tester.py index ebc3e3d..1f8264d 100644 --- a/ryu/tests/switch/tester.py +++ b/ryu/tests/switch/tester.py @@ -131,6 +131,7 @@

[Ryu-devel] [PATCH 1/7] sw test tool: Add a link between switches

2014-05-26 Thread Yuichi Ito
This change is for tests that use group_table. Signed-off-by: Yuichi Ito --- ryu/tests/switch/run_mininet.py |1 + ryu/tests/switch/tester.py | 18 +- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/ryu/tests/switch/run_mininet.py b/ryu/tests/switch/run

[Ryu-devel] [PATCH 0/7] sw test tool: Enable using group tables

2014-05-26 Thread Yuichi Ito
The switch test tool is now enabled to install and use group entries as follows: "prerequisite":[ { "OFPGroupMod":{ "group_id":0, "type":1, "buckets":[ {

Re: [Ryu-devel] Problem with Ryu installation on Mac OSX

2014-05-26 Thread Antoine Fressancourt
Hello, Indeed, the problem is related to the Python version that is installed on MacOSX 10.9.3. I installed the latest version of Python 2.X and now it works. Thanks a lot for your answer ! Antoine 2014-05-24 2:35 GMT+02:00 FUJITA Tomonori : > On Thu, 22 May 2014 14:43:05 +0200 > Antoine Fres