Re: [Ryu-devel] ryu application is hang up

2015-06-13 Thread 曾惠萍
this solve my problem, thanks for your help Ping 2015-06-05 15:13 GMT+08:00 Yusuke Iwase : > Hi, > > On 2015年06月05日 15:49, 曾惠萍 wrote: > > Thanks,do you know another way to get the switch object by switch dpid? > > cuz i want to get the datapath and ofproto_parse > > You can use DPSet application

Re: [Ryu-devel] ryu application is hang up

2015-06-05 Thread Yusuke Iwase
Hi, On 2015年06月05日 15:49, 曾惠萍 wrote: > Thanks,do you know another way to get the switch object by switch dpid? > cuz i want to get the datapath and ofproto_parse You can use DPSet application as follows. http://ryu.readthedocs.org/en/latest/api_ref.html#ryu.controller.dpset.DPSet e.g.) $ git di

Re: [Ryu-devel] ryu application is hang up

2015-06-04 Thread 曾惠萍
Thanks,do you know another way to get the switch object by switch dpid? cuz i want to get the datapath and ofproto_parse Thanks, Ping 2015-06-05 14:36 GMT+08:00 Yusuke Iwase : > Hi, > > On 2015年06月05日 14:37, 曾惠萍 wrote: > > Hello, Iwase, > > > > when i interrupt my program by press ctrl+c, and t

Re: [Ryu-devel] ryu application is hang up

2015-06-04 Thread Yusuke Iwase
Hi, On 2015年06月05日 14:37, 曾惠萍 wrote: > Hello, Iwase, > > when i interrupt my program by press ctrl+c, and the error msg is as follow: > -Error msg- > Traceback (most recent call last): > File "./bin/ryu-manager", line 19, in >

Re: [Ryu-devel] ryu application is hang up

2015-06-04 Thread 曾惠萍
Hello, Iwase, when i interrupt my program by press ctrl+c, and the error msg is as follow: -Error msg- Traceback (most recent call last): File "./bin/ryu-manager", line 19, in main() File "/usr/local/lib/python2.7/dist-packag

Re: [Ryu-devel] ryu application is hang up

2015-06-02 Thread Yusuke Iwase
Hi, On 2015年05月31日 23:57, 曾惠萍 wrote: > Hi, > > sometime my program is normally work, but sometime it hang up. > when i get switch object, sometime it 's hangup and later it show error > message. > > *command:* > PYTHON=. ./bin/ryu-manager --observe-links ryu/app/address.py > > *my program as f

[Ryu-devel] ryu application is hang up

2015-05-31 Thread 曾惠萍
Hi, sometime my program is normally work, but sometime it hang up. when i get switch object, sometime it 's hangup and later it show error message. *command:* PYTHON=. ./bin/ryu-manager --observe-links ryu/app/address.py *my program as follow:* @handler.set_ev_cls(event.EventLinkAdd) def lin