[Ryu-devel] Fattura per la telefonia esagerata? Confrontiamo per te le migliori offerte

2014-05-15 Thread Broker per la telefonia
www.brokerperlatelefonia.it La Telefonia è un caos? AFFIDALA A NOI! Lavoriamo solo nell'interesse dei clienti! Risparmio Garantito! L’azienda Broker per la Telefonia ha questi vantaggi per te: Abbiamo a disposizione le tariffe telefoniche a confronto per

Re: [Ryu-devel] How to send stats request message to datapath in a timer ?

2014-05-15 Thread FUJITA Tomonori
On Fri, 16 May 2014 09:49:34 +0800 "LIU, Kun" wrote: > I find the problem, because in my ryu app I start a new thread to do a timer > work(every 5 seconds to send stats requests to datapath) in function start(), > however, the result shows the new thread interrupt the ryu main thread. If > so

Re: [Ryu-devel] [PATCH 4/4] Add PacketIn dumper websocket application

2014-05-15 Thread Satoshi Kobayashi
2014-05-16 5:21 GMT+09:00 FUJITA Tomonori : > On Thu, 15 May 2014 13:30:53 +0900 > Satoshi Kobayashi wrote: > > > > >> +class SimpleSwitchWebSocketController(ControllerBase): > > > >> +def __init__(self, req, link, data, **config): > > > >> +super(SimpleSwitchWebSocketController, self

[Ryu-devel] How to send stats request message to datapath in a timer ?

2014-05-15 Thread LIU, Kun
I find the problem, because in my ryu app I start a new thread to do a timer work(every 5 seconds to send stats requests to datapath) in function start(), however, the result shows the new thread interrupt the ryu main thread. If so, how should I create a new thread of timer in ryu app? Thank

[Ryu-devel] the lastest ryu version solved the problem

2014-05-15 Thread LIU, Kun
Thank you. With the latest version, the problem is solved. Spalla, I remember that you once had two ryu app working together, can several apps run on the same host ? Now, I test my two apps in the same host with different tcp ports, and configure the open vswitches with two controller addresses,

Re: [Ryu-devel] (no subject)

2014-05-15 Thread Eros Spalla
Exactly. I had the same problem. You need to upgrade your controller. Cheers. 2014-05-15 21:34 GMT-03:00 LIU, Kun : > My version is Ryu-manager 3.3 > Oh...maybe that is the problem, right? > > -邮件原件- > 发件人: FUJITA Tomonori [mailto:fujita.tomon...@lab.ntt.co.jp] > 发送时间: 2014年5月16日 8:25 >

Re: [Ryu-devel] (no subject)

2014-05-15 Thread FUJITA Tomonori
On Fri, 16 May 2014 08:34:03 +0800 "LIU, Kun" wrote: > My version is Ryu-manager 3.3 > Oh...maybe that is the problem, right? Yeah, please use the latest version. -- "Accelerate Dev Cycles with Automated Cross-Browser T

[Ryu-devel] (no subject)

2014-05-15 Thread LIU, Kun
My version is Ryu-manager 3.3 Oh...maybe that is the problem, right? -邮件原件- 发件人: FUJITA Tomonori [mailto:fujita.tomon...@lab.ntt.co.jp] 发送时间: 2014年5月16日 8:25 收件人: LIU, Kun 抄送: ryu-devel@lists.sourceforge.net; eros.spa...@gmail.com 主题: On Fri, 16 May 2014 08:05:51 +0800 "LIU, Kun" wrote

Re: [Ryu-devel] $BEz$(P%;(B: Fail to trigger start( ) in RYU app

2014-05-15 Thread FUJITA Tomonori
On Fri, 16 May 2014 08:05:51 +0800 "LIU, Kun" wrote: > Hi, Tomonori, In fact I have written 'super(MyApp, self).__init__(*args, > **kwargs)' in my __init__ function. > To make it simple, I just add start() in the ryu simple_switch_13.py, like > this: What version do you use? execute `ryu-man

[Ryu-devel] 答复: Fail to trigger start( ) in RYU app

2014-05-15 Thread LIU, Kun
Hi, Tomonori, In fact I have written 'super(MyApp, self).__init__(*args, **kwargs)' in my __init__ function. To make it simple, I just add start() in the ryu simple_switch_13.py, like this: class SimpleSwitch13(app_manager.RyuApp): OFP_VERSIONS = [ofproto_v1_3.OFP_VERSION] def __init__(

Re: [Ryu-devel] Fail to trigger start( ) in RYU app

2014-05-15 Thread FUJITA Tomonori
On Thu, 15 May 2014 20:13:33 +0800 "LIU, Kun" wrote: > Hi, Spalla, sorry to disturb you again. I still cannot trigger start( ) in my > ryu app. I wrote the code like this: > class MyApp(app_manager.RyuApp): > def __init__(self): > pass > > def start(self): > self.logger.info(“run start(

Re: [Ryu-devel] What kind of GUI library recommended for RYU

2014-05-15 Thread FUJITA Tomonori
Hi, On Thu, 15 May 2014 11:02:31 +0900 Peter Yu (游博舜) wrote: > I want to do some GUI implementation for RYU. > > For example, set or operate the flow entry by GUI instead of command line. > > Would you tell me what kind of GUI library RYU devel team preferred. > > For example, pyQT. > > Plea

Re: [Ryu-devel] [PATCH 0/4] WebSocket support

2014-05-15 Thread FUJITA Tomonori
On Wed, 14 May 2014 19:10:58 +0900 YAMADA Hideki wrote: > This patch set add WebSocket support. > > This is based on the discussion of following thread. > http://thread.gmane.org/gmane.network.ryu.devel/5814 > > YAMADA Hideki (4): > hub: import semaphore > Import eventlet.websocket from mas

Re: [Ryu-devel] [PATCH 4/4] Add PacketIn dumper websocket application

2014-05-15 Thread FUJITA Tomonori
On Thu, 15 May 2014 13:30:53 +0900 Satoshi Kobayashi wrote: > > >> +class SimpleSwitchWebSocketController(ControllerBase): > > >> +def __init__(self, req, link, data, **config): > > >> +super(SimpleSwitchWebSocketController, self).__init__( > > >> +req, link, data, **confi

Re: [Ryu-devel] [PATCH 1/2] tester: ok_count should be increased sequentially with each successful test.

2014-05-15 Thread FUJITA Tomonori
On Thu, 15 May 2014 15:39:45 +0900 Yuichi Ito wrote: > On Wed, 14 May 2014 21:48:18 +0900 > Chiu,Cheng-Han wrote: > >> From: "Chiu,Cheng-Han" >> >> Signed-off-by: Chiu,Cheng-Han >> --- >> ryu/tests/switch/tester.py |2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --gi

Re: [Ryu-devel] [PATCH 2/2] tester: let each attribute of meter had a chance to be compared.

2014-05-15 Thread FUJITA Tomonori
On Thu, 15 May 2014 15:40:01 +0900 Yuichi Ito wrote: > On Wed, 14 May 2014 21:48:19 +0900 > Chiu,Cheng-Han wrote: > >> From: "Chiu,Cheng-Han" >> >> Signed-off-by: Chiu,Cheng-Han >> --- >> ryu/tests/switch/tester.py |2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --gi

[Ryu-devel] Fail to trigger start( ) in RYU app

2014-05-15 Thread LIU, Kun
Hi, Spalla, sorry to disturb you again. I still cannot trigger start( ) in my ryu app. I wrote the code like this: class MyApp(app_manager.RyuApp): def __init__(self): pass def start(self): self.logger.info(“run start()!!”) super(MyApp, self).start() # other codes When I ran thi

Re: [Ryu-devel] [PATCH 1/2] tester: ok_count should be increased sequentially with each successful test.

2014-05-15 Thread 邱鉦翰
Dear Ito, Hello, your code is better, thanks! BR, Chiu 2014-05-15 14:39 GMT+08:00 Yuichi Ito : > On Wed, 14 May 2014 21:48:18 +0900 > Chiu,Cheng-Han wrote: > > > From: "Chiu,Cheng-Han" > > > > Signed-off-by: Chiu,Cheng-Han > > --- > > ryu/tests/switch/tester.py |2 +- > > 1 file change