Re: [Ryu-devel] configure a switch to send port status messages

2015-06-01 Thread Yusuke Iwase
Hi Juan, On 2015年06月02日 01:33, Juan Pedro Muñoz Gea wrote: > Hi all, > > I would like to know how I can configure a switch to send port status > messages (OFPT_PORT_STATUS) when there is any change in the port status. > I think I have to use the OFPSetConfig method, but I don't know how to > use

[Ryu-devel] Question about packetgenerator2

2015-06-01 Thread Minoru TAKAHASHI
Hi, I am trying to use the packet_data_generator2 by reference to the following page. https://github.com/osrg/ryu/blob/master/ryu/tests/packet_data_generator2/README However I got some error during the build. My environment is FreeBSD 10.1-RELEASE (on Vmplayer). I have attached the edited Makef

[Ryu-devel] Spanning Tree using ofsoftswitch13 switch

2015-06-01 Thread Emanuel Fernando Montoya Gomez
Hi I need to use OpenFlow 1.3 meters running looped topologies. I long as I've read, https://github.com/CPqD/ofsoftswitch13 is the only switch that inplements it. I'm trying the next using mininet: sudo mn --mac --topo linear,3 --controller remote --switch user ryu -manager simple_switch_stp_13.p

Re: [Ryu-devel] recovery time of link failure seems strange.

2015-06-01 Thread Yusuke Iwase
Hi, On 2015年06月01日 17:22, Hm Balarama wrote: > Hi Iwase, > > Please make me clear. > I've got 2 options. First, I should write a Ryu application. > Or, I could use the simple_switch_stp.py. > Is that right? Do you think there is no way except above 2 options. Yes, I think so. If you want to eva

[Ryu-devel] About the STP state of ports

2015-06-01 Thread Liu, Weijie
Hi, With Openflow 1.0, I used the http message, "GET /stats/portdesc/" of "ryu/ryu/app/ofctl_rest.py" to query the STP state of a port. In the return value of "GET /stats/portdesc/", the "state" field is 0, which means that port is in OFPPS_STP_LISTEN state. It means that port will not relay p

[Ryu-devel] Question

2015-06-01 Thread Николай Жупиков
Hello! please tell me how to use a field in of_proto_13: # EXT- 109 TCP flags match field Extension oxm_fields.ONFExperimenter ('tcp_flags', 42 , type_desc.Int2) How can I remove the flags? -- ___

[Ryu-devel] RyuBGP - WithDraw Don't work

2015-06-01 Thread Rafael Guimarães
Hi, I'm testing RyuBGP in my studies and i'm finding some problems to withdraw routes. In this case, configuring 2 routes with RyuBGP additioned prefix in one side. But, when the route receive the announce, the route isn't inserted routes on operation system. The return is: DEBUG:bgpspeaker.peer:

[Ryu-devel] configure a switch to send port status messages

2015-06-01 Thread Juan Pedro Muñoz Gea
Hi all, I would like to know how I can configure a switch to send port status messages (OFPT_PORT_STATUS) when there is any change in the port status. I think I have to use the OFPSetConfig method, but I don't know how to use it. Thanks, - Juan Pedro -

[Ryu-devel] Can not provide event to another Ryu app

2015-06-01 Thread Liran Schour
Hi all, I am trying to write a new Ryu app that sends and receives events with another app. I use send_event to provide the event and use @set_ev_cls(class derived from EventBase) to consume the events from the other app. However when I start my apps I do not see a message that tells that the r

Re: [Ryu-devel] recovery time of link failure seems strange.

2015-06-01 Thread Hm Balarama
Hi Iwase, Please make me clear. I've got 2 options. First, I should write a Ryu application. Or, I could use the simple_switch_stp.py. Is that right? Do you think there is no way except above 2 options. Thanks, Tsogbayar. On Mon, Jun 1, 2015 at 5:07 PM, Yusuke Iwase wrote: > Hi, > > > On 2015年

Re: [Ryu-devel] recovery time of link failure seems strange.

2015-06-01 Thread Yusuke Iwase
Hi, On 2015年06月01日 15:09, Hm Balarama wrote: > Hi, > > Mine doesn't work with Mininet. > Which version do you use? > I downloaded github.com/osrg/ryu.git and > installed it. Git branch is the master. > I could get link events when I run $ ryu-manager --observe-l