Re: [Ryu-devel] Ryu application fail to start

2019-12-30 Thread Yusuke Iwase
Hi, This problem seems to be caused by Python syntax. You are running Ryu on Python 2, right? But your application seems to include Python 3’s syntax. I recommend you to re-install Ryu into your Python 3’s environment and try again. Regards, Iwase 2019年12月30日(月) 19:12 Babangida Isyaku : > Hi! >

[Ryu-devel] Ryu application fail to start

2019-12-30 Thread Babangida Isyaku
Hi! I run a ryu application and I received this error message...any help to resolve this problem will be appreciated. see attached Thank you. ___ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-dev

Re: [Ryu-devel] RYU application exit signal/event handler

2018-05-07 Thread IWAMOTO Toshihiro
On Fri, 27 Apr 2018 12:13:56 +0900, knet solutions wrote: > > [1 ] > [1.1 ] > Hi, > > I need to handle the RYU application exit signal (could be CTRL+C) /event > in the program? > I need to some clean up (on third party application such as DB, Zookeeper, > etc) when RYU crashes or RYU Closed(C

[Ryu-devel] RYU application exit signal/event handler

2018-04-26 Thread knet solutions
Hi, I need to handle the RYU application exit signal (could be CTRL+C) /event in the program? I need to some clean up (on third party application such as DB, Zookeeper, etc) when RYU crashes or RYU Closed(CTRL+C) purposefully. Any suggestions? -- *Regards, * *Knet solutions.* https://github.

Re: [Ryu-devel] Ryu application

2016-08-31 Thread Francesco Murador
Hey iwase can you answer me? Please i need help > Il giorno 24/ago/2016, alle ore 03:22, Iwase Yusuke > ha scritto: > > Hi, > > Mininet uses Open vSwitch(OVS) as the default software switch to emulate > the OpenFlow network. > So OVS (NOT Mininet) generates the messages to send the controlle

Re: [Ryu-devel] Ryu application

2016-08-24 Thread Francesco Murador
Yes i have to do even the message because the switch in mininet emulated by OVS had to send to the controller a message that says to it that there's too traffic in it so the controller have to say to others ignore it..i don't know if a similar message exist i mean it's implemented yet do you kno

Re: [Ryu-devel] Ryu application

2016-08-24 Thread Francesco Murador
I used simple_switch_stp but all i have to do is to ignore a determinate dpid and my algorithm is to check if in the event the dpid is different from that to ignore and than if is different i need to instantiate this switch with the dpid that i have from the event I use a the event "connectionu

Re: [Ryu-devel] Ryu application

2016-08-23 Thread Iwase Yusuke
Hi, Mininet uses Open vSwitch(OVS) as the default software switch to emulate the OpenFlow network. So OVS (NOT Mininet) generates the messages to send the controller. If your OVS already has the implementation for sending your own messages, you need to implement parser class in Ryu. If not yet, yo

Re: [Ryu-devel] Ryu application

2016-08-23 Thread Iwase Yusuke
Hi, simple_switch or (simple_switch_13) does not depend on stplib. https://github.com/osrg/ryu/blob/master/ryu/app/simple_switch_13.py Please investigate why "your" simple_switch requires stplib, first. simple_switch_stp or (simple_switch_stp_13 on Ryu-Book) depends on stplib, do you mean this? h

Re: [Ryu-devel] Ryu application

2016-08-23 Thread Francesco Murador
I hope you can answer me more fast so i can begin to do the remaining things for my thesis Inviato da iPhone > Il giorno 17/ago/2016, alle ore 03:02, Iwase Yusuke > ha scritto: > > Hi, > > Sorry for the delay. > >> On 2016年08月10日 17:59, Francesco Murador wrote: >> So i don't need to do anyt

Re: [Ryu-devel] Ryu application

2016-08-20 Thread Francesco Murador
Hey another question in my application i want an istance of simple_switch but when i try to instantiate a simple_switch i can't because it gives me keyerror stplib so how can instantiate a simple_switch object? Inviato da iPhone > Il giorno 17/ago/2016, alle ore 03:02, Iwase Yusuke > ha scri

Re: [Ryu-devel] Ryu application

2016-08-19 Thread Francesco Murador
Do You mean the implementation in ryu? Because i don't have a real phisic switch but i use mininet as simulation tool..so i have to implement the message in ryu and than i had to modify mininet? Sorry for the delay Inviato da iPhone > Il giorno 17/ago/2016, alle ore 03:02, Iwase Yusuke > ha

Re: [Ryu-devel] Ryu application

2016-08-16 Thread Iwase Yusuke
Hi, Sorry for the delay. On 2016年08月10日 17:59, Francesco Murador wrote: > So i don't need to do anything in mininet just add that in ryu? Because the > switch had to send to the controller without any request(i think that this > want my professor because it's for my thesis) the message > Thank

Re: [Ryu-devel] Ryu application

2016-08-10 Thread Francesco Murador
So i don't need to do anything in mininet just add that in ryu? Because the switch had to send to the controller without any request(i think that this want my professor because it's for my thesis) the message Thank you for the answer Inviato da iPhone > Il giorno 10/ago/2016, alle ore 07:32, I

Re: [Ryu-devel] Ryu application

2016-08-09 Thread Iwase Yusuke
Hi, To implement a custom OpenFlow message in Ryu, please add the definitions for your own messages into ryu.ofproto.ofproto_v1_*_parser. If you need to receive and parse messages, parser() method is required and if you need to send messages, _serialize_body() method is required. 'OFPFlowMod' me

[Ryu-devel] Ryu application

2016-08-08 Thread Francesco Murador
Hi i need some help with ryu, i need to realize a ryu application that raise a message from openflow switches on mininet, but i need to do a custom openflow message, because all i have to do, it is to check the traffic of my network and than if in an openflow switch there’s a lot of traffic it h

Re: [Ryu-devel] Ryu Application

2016-04-20 Thread Iwase Yusuke
Hi, For sample application of Ryu, please refer to the following. https://github.com/osrg/ryu/tree/master/ryu/app If you want to build you own Ryu Application, the followings might be helpful. http://ryu.readthedocs.org/en/latest/developing.html http://osrg.github.io/ryu-book/en/html/ind

[Ryu-devel] Ryu Application

2016-04-19 Thread Moiz Imtiaz
Hi All, I am new to RYU and deciding to use it as my controller, i am currently working on Quana lb9 bare metak switch and using PicOS. I just wanted to know that if there are any application build on top of Ryu , like floodlight https://floodlight.atlassian.net/wiki/display/floodlightcontroller

Re: [Ryu-devel] Ryu application for DHCPServer

2015-10-09 Thread alyosha
Dear All: I tried with the newest udp parser and "dhcpPacket = pkt.get_protocol(dhcp.dhcp)" worked well. Please find the attached pach and give comments.** Best regards. On 2015/10/07 22:36, alyosha wrote: Sorry, I dropped mailing list. Hi, Mr. Yi Tseng. Thank you for comments. >>That

Re: [Ryu-devel] Ryu application for DHCPServer

2015-10-07 Thread alyosha
Sorry, I dropped mailing list. Hi, Mr. Yi Tseng. Thank you for comments. >>That's strange, because udp parser will check if it's a dhcp packet and parser it.. I created simple_dhcp_server.py with old udp parser, which did not support dhcp packet. I will try and check with new udp parse

Re: [Ryu-devel] Ryu application for DHCPServer

2015-10-07 Thread alyosha
Thank you for comments, Mr Shuoling Deng and Mr Yi Tseng. >> it looks like parse every PAKCET-IN ? would this cause heavy load to Controller. As you pointed out, this application parses all PACKET-IN to handle DHCP Packet. Bit this is a "simple" dhcp server. So this application shoud be used i

Re: [Ryu-devel] Ryu application for DHCPServer

2015-10-07 Thread Yi Tseng
Please don't drop the mailing list Hi Shuoling Deng: It is necessary to parse every packet-in message if you want controller be a simple dhcp server. Hi alyosha: That's strange, because udp parser will check if it's a dhcp packet and parser it.. maybe it is a bug for parsing udp packet. http

Re: [Ryu-devel] Ryu application for DHCPServer

2015-10-07 Thread Yi Tseng
Hello Maybe you can try dhcp_packet = pkt.get_protocol(dhcp.dhcp) if not dhcp_packet: # not dhcp packet return # ... handling dhcp packet 2015-10-07 15:40 GMT+08:00 Shuoling Deng : > it looks like parse every PAKCET-IN ? > > would this cause heavy load to Controller. > > > On Wed,

Re: [Ryu-devel] Ryu application for DHCPServer

2015-10-07 Thread Shuoling Deng
it looks like parse every PAKCET-IN ? would this cause heavy load to Controller. On Wed, Oct 7, 2015 at 12:52 AM, alyosha wrote: > Nice to e-meet you. My name is Okano Yuu. > I created a new ryu application, simple_dhcp_server for DHCPServer. > > I tested this application with 2 VMs, and this

[Ryu-devel] Ryu application for DHCPServer

2015-10-06 Thread alyosha
Nice to e-meet you. My name is Okano Yuu. I created a new ryu application, simple_dhcp_server for DHCPServer. I tested this application with 2 VMs, and this application worked well. VM1... DHCPClient VM2... DHCPServer(Ryu & OpenVSwitch) I set one flowentry on OpenVSwitch "ovs-ofctl add-flow br

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

Re: [Ryu-devel] Ryu application guidance

2012-11-29 Thread FUJITA Tomonori
Hi, On Wed, 28 Nov 2012 23:01:21 -0800 Shivaram Mysore wrote: > I have written some very basic and simple OF 1.2 applications for Ryu which > I am running against LINC (www.flowforwarding.org). Once I run the > application (ex. add flow), I have to CNTRL+C to get out of the same - > which means

[Ryu-devel] Ryu application guidance

2012-11-28 Thread Shivaram Mysore
Hello, I have written some very basic and simple OF 1.2 applications for Ryu which I am running against LINC (www.flowforwarding.org). Once I run the application (ex. add flow), I have to CNTRL+C to get out of the same - which means I get out of controller connectivity to switch (not my desire).