[Ryu-devel] [PATCH 4/5] cli: add some logging

2013-02-21 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/app/cli.py | 55 +-- 1 file changed, 49 insertions(+), 6 deletions(-) diff --git a/ryu/app/cli.py b/ryu/app/cli.py index 75dbdba..e056093 100644 --- a/ryu/app/cli.py +++ b/ryu/app/cli.py @@ -19,6 +19,7 @@

[Ryu-devel] [PATCH 1/5] add cli ryu application

2013-02-21 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/app/cli.py | 70 ++ 1 file changed, 70 insertions(+) create mode 100644 ryu/app/cli.py diff --git a/ryu/app/cli.py b/ryu/app/cli.py new file mode 100644 index 000..3870d76 --- /dev/null +++ b/ryu

[Ryu-devel] [PATCH 3/5] cli: add commands to get and set log levels

2013-02-21 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- bin/ryu-manager | 1 + ryu/app/cli.py | 36 ryu/logger.py | 31 +++ 3 files changed, 68 insertions(+) create mode 100644 ryu/logger.py diff --git a/bin/ryu-manager b/bin/ryu-manager index 03

[Ryu-devel] [PATCH 2/5] ryu-manager: stop modifying CONF.app_list

2013-02-21 Thread YAMAMOTO Takashi
to make cli show-options a little prettier. Signed-off-by: YAMAMOTO Takashi --- bin/ryu-manager | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bin/ryu-manager b/bin/ryu-manager index f154bfe..03b1b79 100755 --- a/bin/ryu-manager +++ b/bin/ryu-manager @@ -58,11 +58,10 @@

[Ryu-devel] [PATCH 5/5] cli: require telnetsrv

2013-02-21 Thread YAMAMOTO Takashi
add telnetsrv to pip-requires. unfortunately there seems to be no RPM equivalent available. if you want to use cli.py, install telnetsrv by yourself for now. Signed-off-by: YAMAMOTO Takashi --- tools/pip-requires | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/pip-requires b/tools/pip

[Ryu-devel] [PATCH 0/5] a simple management CLI RyuApp

2013-02-21 Thread YAMAMOTO Takashi
implement a simple management CLI Ryu application. this depends on cfg.py update patch i posted while ago. YAMAMOTO Takashi (5): add cli ryu application ryu-manager: stop modifying CONF.app_list cli: add commands to get and set log levels cli: add some logging cli: require telnetsrv bi

[Ryu-devel] [PATCH] xflow: add sflow support

2013-02-21 Thread watanabe.fumitaka
This patch implements sflow packet parser. I confirmed that it can parse a sflow packet from Open vSwitch. Signed-off-by: WATANABE Fumitaka --- ryu/lib/xflow/sflow.py | 405 1 file changed, 405 insertions(+) create mode 100644 ryu/lib/xflow/sf

Re: [Ryu-devel] What is a status of failing mininet tests(ryu/tests/mininet).

2013-02-21 Thread HIYAMA Manabu
Hi, It works in my environment. As the following: Some error message was being displayed? Please send a run-time logs. I'll look into it. thanks, $ sudo /usr/local/share/openvswitch/scripts/ovs-ctl start * Starting ovsdb-server * system ID not configured, please use --system-id * Configuring

[Ryu-devel] [PATCH] app: Alternative RTU controllers for Mininet tutorial

2013-02-21 Thread Piotr Niedzwiedz
Hi, When I started experiments with OpenFlow I did following tutorial: http://www.openflow.org/wk/index.php/OpenFlow_Tutorial#Create_Learning_Switch There are examples of writing simple hub and L2 switch in POX, but there is nothing about RYU. I think that we should try to add

[Ryu-devel] What is a status of failing mininet tests(ryu/tests/mininet).

2013-02-21 Thread Piotr Niedzwiedz
Hi, I launched them but most of them failed, part of them were skipped. Do they work correctly on yours machines? If they are valuable, I can explore what is wrong and try fix it. Please let me know. Thanks, Piotr Niedzwiedz Summary of tests: ./l2/vlan/PushVLAN_icmp.mn : NG (

Re: [Ryu-devel] [PATCH] controller: fix that sender thread is never terminated

2013-02-21 Thread YAMADA Hideki
There is some thing wrong. Perhaps line feed code problem. Please apply attached patch. (2013/02/21 17:17), YAMADA Hideki wrote: hi, (2013/02/21 16:17), YAMAMOTO Takashi wrote: hi, Empty send_q.get() is blocking send thread. Because of this issue, datapath state never transit to DEAD. oop

Re: [Ryu-devel] [PATCH] controller: fix that sender thread is never terminated

2013-02-21 Thread YAMAMOTO Takashi
hi, > hi, > > (2013/02/21 16:17), YAMAMOTO Takashi wrote: >> hi, >> >>> Empty send_q.get() is blocking send thread. >>> Because of this issue, datapath state never transit to DEAD. >> >> oops, sorry. >> probably it's better to just leave it for gc? >> > I think so, too. > How about following? lo

Re: [Ryu-devel] [PATCH] controller: fix that sender thread is never terminated

2013-02-21 Thread YAMADA Hideki
hi, (2013/02/21 16:17), YAMAMOTO Takashi wrote: > hi, > >> Empty send_q.get() is blocking send thread. >> Because of this issue, datapath state never transit to DEAD. > > oops, sorry. > probably it's better to just leave it for gc? > I think so, too. How about following? From 08126332a9d3d59af8