Re: [Ryu-devel] a bug in ofproto_v1_0

2013-04-25 Thread Isaku Yamahata
Please don't drop ryu-devel. On Thu, Apr 25, 2013 at 10:26:17PM +0800, ?3?炯 wrote: > yes,you catch my mind, and this is a better solution than mine ,but maybe > we should consider if we do not make some changes on method actions_to_str > of ofctl_v1_0, we will receive the follow flow info

Re: [Ryu-devel] Ryu tutorials presentatation

2013-04-25 Thread FUJITA Tomonori
On Wed, 24 Apr 2013 15:37:21 + "Kyle Mestery (kmestery)" wrote: >> I've uploaded my slides to Ryu project site. > > Excellent slides, happy to see how far and how fast Ryu is > evolving! Thanks! The slides includes some ongoing work and future work. We are still far away from what we want t

[Ryu-devel] vendita di polvere di oro e di lingotto/sale of gold powder and ingot

2013-04-25 Thread SERVICE OR
Egregio Signore, Gruppo di paesani `scavatori alla ricerca di un partner sicuro e affidabile, acquirente o non Europa di Asie `esportazione e vendita di lingotti d'oro e polvere attraverso un ragionevole interesse. Vi preghiamo di contattarci per accertare la natura di oro (22 carati e sopra) e la

Re: [Ryu-devel] a bug in ofproto_v1_0

2013-04-25 Thread Isaku Yamahata
On Thu, Apr 25, 2013 at 04:19:22PM +0800, ?3?炯 wrote: > Hello, > I find that when I use ryu app ofctl_rest to check flows, there will be an > error in method actions_to_str of ofctl_v1_0, the code as follows: > > def actions_to_str(acts): > actions = [] > for a in acts: > action_

[Ryu-devel] [PATCH 3/3] run_tests.sh: support integrated tests

2013-04-25 Thread YAMADA Hideki
Signed-off-by: YAMADA Hideki --- run_tests.sh | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/run_tests.sh b/run_tests.sh index 56609d2..bf703a6 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -11,6 +11,7 @@ usage() { echo " -p, --pep8 Jus

[Ryu-devel] [PATCH 2/3] tests/integrated: auto testing script using Mininet and OVS

2013-04-25 Thread YAMADA Hideki
Signed-off-by: YAMADA Hideki --- ryu/tests/integrated/run_tests_with_ovs12.py | 108 ++ 1 files changed, 108 insertions(+), 0 deletions(-) create mode 100755 ryu/tests/integrated/run_tests_with_ovs12.py diff --git a/ryu/tests/integrated/run_tests_with_ovs12.py b/ryu/t

[Ryu-devel] [PATCH 1/3] tests/integrated: Skip MPLS related test

2013-04-25 Thread YAMADA Hideki
Signed-off-by: YAMADA Hideki --- ryu/tests/integrated/test_add_flow_v12_actions.py |9 + ryu/tests/integrated/test_add_flow_v12_matches.py |2 ++ 2 files changed, 11 insertions(+), 0 deletions(-) diff --git a/ryu/tests/integrated/test_add_flow_v12_actions.py b/ryu/tests/integra

[Ryu-devel] [PATCH v2 4/5] tests/topology: add test for GUI

2013-04-25 Thread YAMADA Hideki
mn_ctl.py: mininet controller auto_topo.py: auto topology create/delete script gui_client: auto test for GUI (use selenium). Signed-off-by: YAMADA Hideki --- ryu/tests/topology/auto_topo.py | 204 + ryu/tests/topology/gui_client/gui_elements.py | 323 ++ ryu/t

[Ryu-devel] [PATCH v2 5/5] test-requires: selenium for GUI test

2013-04-25 Thread YAMADA Hideki
Signed-off-by: YAMADA Hideki --- tools/test-requires |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/tools/test-requires b/tools/test-requires index 6f21bff..7ca00ec 100644 --- a/tools/test-requires +++ b/tools/test-requires @@ -3,3 +3,4 @@ nose pep8 pylint==0.25.0 ne

[Ryu-devel] [PATCH v2 3/5] pip-requires: flask, gevent-websocket for GUI

2013-04-25 Thread YAMADA Hideki
Signed-off-by: YAMADA Hideki --- tools/pip-requires |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/tools/pip-requires b/tools/pip-requires index 2a9b4ce..ae42958 100644 --- a/tools/pip-requires +++ b/tools/pip-requires @@ -2,3 +2,5 @@ gevent>=0.13 routes webob>=1.0.8

[Ryu-devel] [PATCH v2 2/5] GUI: import perfect-scrollbar.js

2013-04-25 Thread YAMADA Hideki
Signed-off-by: YAMADA Hideki --- ryu/gui/static/js/contrib/jquery.mousewheel.js | 84 +++ ryu/gui/static/js/contrib/perfect-scrollbar.js | 313 2 files changed, 397 insertions(+), 0 deletions(-) create mode 100644 ryu/gui/static/js/contrib/jquery.mousewheel.js c

[Ryu-devel] [PATCH v2 0/5] GUI support

2013-04-25 Thread YAMADA Hideki
This patch series provide GUI. You can monitor topology and flows. Changes v1 -> v2: - some bugfixes - code cleanup - add GUI test using Selenium Usage: 1. Run ryu with topology and ofctl REST $ PYTHONPATH=. ./bin/ryu-manager --verbose --observe-links \ ./ryu/topology/switches.py

[Ryu-devel] [PATCH] add simple_switch(OpenFlow ver.1.3) for linc

2013-04-25 Thread Hiroshi Yokoi
Signed-off-by: Hiroshi Yokoi --- ryu/app/simple_switch_1_3.py | 119 +++ 1 file changed, 119 insertions(+) create mode 100644 ryu/app/simple_switch_1_3.py diff --git a/ryu/app/simple_switch_1_3.py b/ryu/app/simple_switch_1_3.py new file mode 100644 index

[Ryu-devel] a bug in ofproto_v1_0

2013-04-25 Thread 郑超炯
Hello, I find that when I use ryu app ofctl_rest to check flows, there will be an error in method actions_to_str of ofctl_v1_0, the code as follows: def actions_to_str(acts): actions = [] for a in acts: action_type = a.cls_action_type if action_type == ofproto_v1_0.OFPA

[Ryu-devel] [PATCH 0/2] queue related fixes

2013-04-25 Thread YAMAMOTO Takashi
these are after my eventlet changes. YAMAMOTO Takashi (2): controller: fix send queue draining again limit the size of ryu app's event queue ryu/base/app_manager.py | 2 +- ryu/controller/controller.py | 9 + 2 files changed, 10 insertions(+), 1 deletion(-) -- 1.8.0.1 --

[Ryu-devel] [PATCH 2/2] limit the size of ryu app's event queue

2013-04-25 Thread YAMAMOTO Takashi
otherwise a queue grows too long and consumes much memory on load. the size used in this commit (128) is arbitrary. Signed-off-by: YAMAMOTO Takashi --- ryu/base/app_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ryu/base/app_manager.py b/ryu/base/app_manager.py in

[Ryu-devel] [PATCH 1/2] controller: fix send queue draining again

2013-04-25 Thread YAMAMOTO Takashi
and this time add comments to explain the intention. Signed-off-by: YAMAMOTO Takashi --- ryu/controller/controller.py | 9 + 1 file changed, 9 insertions(+) diff --git a/ryu/controller/controller.py b/ryu/controller/controller.py index 4d0ccdf..7fe5ac9 100644 --- a/ryu/controller/contro

[Ryu-devel] [PATCH 2/3] sweep the tree to change from gevent to ryu.lib.hub

2013-04-25 Thread YAMAMOTO Takashi
mostly mechanical changes. also, change the requirement from gevent to eventlet. Signed-off-by: YAMAMOTO Takashi --- bin/ryu-manager| 11 - ryu/app/quantum_adapter.py | 4 ryu/app/simple_vlan.py | 4 ++-- ryu/app/tunnel_port_upda

[Ryu-devel] [PATCH 3/3] ovs.poller: workaround a bug in eventlet

2013-04-25 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/contrib/ovs/poller.py | 13 + 1 file changed, 13 insertions(+) diff --git a/ryu/contrib/ovs/poller.py b/ryu/contrib/ovs/poller.py index 7d15f3e..ffd6a39 100644 --- a/ryu/contrib/ovs/poller.py +++ b/ryu/contrib/ovs/poller.py @@ -18,6 +18,15 @@

[Ryu-devel] [PATCH 1/3] add a threading hub module

2013-04-25 Thread YAMAMOTO Takashi
this provides gevent-like api using eventlet. Signed-off-by: YAMAMOTO Takashi --- ryu/lib/hub.py | 118 ryu/tests/unit/lib/test_hub.py | 201 + 2 files changed, 319 insertions(+) create mode 100644 ryu/lib/hub.py

[Ryu-devel] [PATCH 0/3] switch to eventlet

2013-04-25 Thread YAMAMOTO Takashi
changes from the previous version: a bug in event.wait and an associated unit test update. YAMAMOTO Takashi (3): add a threading hub module sweep the tree to change from gevent to ryu.lib.hub ovs.poller: workaround a bug in eventlet bin/ryu-manager| 11 +- ryu/app/