[Ryu-devel] Ryu multiple controllers operation & details

2013-03-11 Thread Bill jean
Hi, Three question about multiple controllers operations, 1. Do Controller A & B sync info with each other? 2. If A (master) "leave", B "join", what happen will be in OpenFlow switch or in OVS? refresh all flow tables? 3. If A join Again, B will goes back to slave or remind master? flow tables

[Ryu-devel] [PATCH] tunnel_port_updater: g/c _LOCK

2013-03-11 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/app/tunnel_port_updater.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/ryu/app/tunnel_port_updater.py b/ryu/app/tunnel_port_updater.py index da88b5f..18ec079 100644 --- a/ryu/app/tunnel_port_updater.py +++ b/ryu/app/tunnel_port_updater.py @@ -350

[Ryu-devel] [PATCH] app_manager: prefix RyuApp internal methods with '_'

2013-03-11 Thread YAMAMOTO Takashi
according to FUJITA Tomonori, these are internal methods. prefix them with '_' to make it clear and avoid further abuses. Signed-off-by: YAMAMOTO Takashi --- ryu/app/gre_tunnel.py| 4 +++- ryu/base/app_manager.py | 16 ryu/controller/controller.py | 2 +- 3 files

Re: [Ryu-devel] [RFC PATCH 0/2] support multiple controllers

2013-03-11 Thread Bill jean
May I ask two questions; 1. if Master controller leave, can slave fully take over former master's flow table? is there any method to sync master/slave network database? 2. If former master join again, will force back to former master or it becomes "slave"? Thanks you for someone reply my questio

[Ryu-devel] ryu.controller.controller.Datapath: handler list and state

2013-03-11 Thread Yoshihiro Kaneko
Hi, I suppose that the list of handler to be called for the OFP message should be kept even if the state is changed in a handler. Is this correct? diff --git a/ryu/controller/controller.py b/ryu/controller/controller.py index c753f01..79c6316 100644 --- a/ryu/controller/controller.py +++ b/ryu/co

[Ryu-devel] [PATCH] packet lib: fix icmpv6.nd parser

2013-03-11 Thread HIYAMA Manabu
Signed-off-by: HIYAMA Manabu --- ryu/lib/packet/icmpv6.py |3 +- ryu/tests/unit/packet/test_icmpv6.py | 339 ++ 2 files changed, 341 insertions(+), 1 deletion(-) create mode 100644 ryu/tests/unit/packet/test_icmpv6.py diff --git a/ryu/lib/packet

Re: [Ryu-devel] [PATCH 00/13] cli app and log cleanup

2013-03-11 Thread YAMAMOTO Takashi
hi, > On Tue, 5 Mar 2013 13:18:00 +0900 > YAMAMOTO Takashi wrote: > >> this contains: >> - management api >> - cli app >> - log cleanup >> >> YAMAMOTO Takashi (13): >> ryu-manager: stop modifying CONF.app_list >> log-cleanup: comment out an unused variable >> log-cleanup: