[Ryu-devel] Link type on packet_in_handler

2014-11-25 Thread Ramprakash R
Hello, I am trying to build upon the topology viewer app to show the hosts connected to the switches. It currently shows only the switches and no hosts are shown. To learn the hosts, I need to learn the hosts only on edge ports and not on inter-switch links. Is there an easy way to find out if the

Re: [Ryu-devel] EventOFPFlowRemoved and OFPSetAsync

2014-11-25 Thread Yusuke Iwase
Hi Pablo, On 2014年11月21日 18:01, Pablo Pousada Rial wrote: > Greetings. > > I am trying to handle the idle timeout of flows from OpenVSwitch with my ryu > controller, but since it didn't catch any EventOFPFlowRemoved, I used the > snoop tool, where i realized that the switch wasn't sending the n

Re: [Ryu-devel] what is the best approach for adding static flows?

2014-11-25 Thread Yi Tseng
Hi Maybe you can try "dpset.EventDP" event class for example: https://gist.github.com/TakeshiTseng/c8c99126fc5f5843dd64 2014-11-26 3:00 GMT+08:00 Pablo M. Guevara : > Hello team, > I'm writing an application that requires me to add some flows when the > switch registers with the controller. Wh

Re: [Ryu-devel] [PATCH] fix security problem of some RESTful apps

2014-11-25 Thread FUJITA Tomonori
On Wed, 26 Nov 2014 11:38:28 +0900 Yusuke Iwase wrote: > Hi Fujita-san, > > I posted the following patch while ago, > but I'm very sorry that I confused you because I made a mistake. > > When you have a time, could you review my patch again please? Sorry, I overlooked. Applied, thanks a lot!

Re: [Ryu-devel] [PATCH] fix security problem of some RESTful apps

2014-11-25 Thread Yusuke Iwase
Hi Fujita-san, I posted the following patch while ago, but I'm very sorry that I confused you because I made a mistake. When you have a time, could you review my patch again please? Regards, Iwase On 2014年11月10日 13:44, Yusuke Iwase wrote: > I'm very sorry I didn't include rest_firewall.py and r

[Ryu-devel] what is the best approach for adding static flows?

2014-11-25 Thread Pablo M. Guevara
Hello team, I'm writing an application that requires me to add some flows when the switch registers with the controller. What is the recommended way if doing this? I mean, should I add the flows on EventOFPStateChange, EventOFPSwitchFeatures or some other event? My first aproach was to do so on

Re: [Ryu-devel] [PATCH] bgp: bug fix of handling nexthop for eBGP peering

2014-11-25 Thread FUJITA Tomonori
On Tue, 25 Nov 2014 13:19:28 +0900 Toshiki Tsuboi wrote: > I’ve confirmed it works well to handle next_hop_self option in case of iBGP > peering. > https://github.com/osrg/ryu/commit/75753841aa66ce1aab5f56d83ea618ede8d82193 Thanks a lot for the confirmation! ---

Re: [Ryu-devel] Problem registering new datapaths

2014-11-25 Thread Lucio Agostinho Rocha
Hi Tomonori, Thanks by reply. I 'guess' that is a problem with Mininet emulation limits, but I'm not sure about it. So, I increase the limits for the number of files that can be open by process, as follows, and now Ryu is registering all my datapaths :) (Source: http://stackoverflow.com/questi

Re: [Ryu-devel] HP 2920 1.3OF

2014-11-25 Thread nitish nagesh
Hello Vilius, There are 2 modes in which OpenFlow works on HP switches (for the firmware you are using). Depending on the mode the OpenFlow pipeline would be different. 1) Standard Match Mode (DEFAULT) 0 -> 100 -> 200 ---> 201 ---> 202 > 203

Re: [Ryu-devel] TCP Flags in ryu

2014-11-25 Thread nitish nagesh
Hi Guys, I think there is an extension proposed on the ONF site (Ext-109) for the TCP flags as OXM match parameter. I guess it will incorporated into the spec very soon (May be in 1.5). https://rs.opennetworking.org/bugs/browse/EXT-109 Regards, Nitish On Tue, Nov 25, 2014 at 10:54 AM, Min

Re: [Ryu-devel] HP 2920 1.3OF

2014-11-25 Thread Palubinskas Vilius
Hello, Looks like HP have upgraded switch firmware to WB.15.16.0004 and OF 1.3 made possible. Now I found some information what flows can be installed in specific tables (100 and 200 table). I modified simple_switch_13.py. At first time it look like working when I got notifications or err

Re: [Ryu-devel] about partial SDN network

2014-11-25 Thread Gautam Pathak
Where is that application? Can I use that application? BRs, Goutam On Tue, Nov 25, 2014 at 4:13 PM, FUJITA Tomonori < [email protected]> wrote: > On Tue, 25 Nov 2014 13:47:35 +0800 > Gautam Pathak wrote: > > > I am creating non-OF switch in mininet by setting the failmode to > > 'st

Re: [Ryu-devel] Push tables to the switchs using curl

2014-11-25 Thread Yusuke Iwase
Hi, On 2014年11月21日 23:05, Clément Rault wrote: > Hi, > > I'm trying to implement in-band mechanisms and therefore I need to > push the proper tables. At first I thought about programming a ryu > application but since I just wanna push tables it's not the best way > to do I guess? I discovered tha

Re: [Ryu-devel] About the certification of OF switches and conducted tests

2014-11-25 Thread FUJITA Tomonori
Hello, On Thu, 20 Nov 2014 22:18:52 + Llorente Santos Jesus wrote: > I am a researcher from the Aalto University of Finland. I'm particularly > interested in SDN and OpenFlow. I have been following you work for quite some > time already and I wanted to congratulate you for the great effort

Re: [Ryu-devel] about partial SDN network

2014-11-25 Thread FUJITA Tomonori
On Tue, 25 Nov 2014 13:47:35 +0800 Gautam Pathak wrote: > I am creating non-OF switch in mininet by setting the failmode to > 'standalone'. > > Can you please explain me "how OF switch communicate with non-OF switches > via BGP ?" We developed an application that makes an OF switch work as a tr