[Ryu-devel] [PATCH] ofctl_v1_2/3: fix POP_MPLS action and some match fields

2014-07-09 Thread takahashi.minoru
The following causes an error at mod_flow_entry command - ofctl_v1_2.py * match field: metadata, mpls_label - ofctl_v1_3.py * match field: in_phy_port and the following causes an error at get_flow_stats command - ofctl_v1_2.py * action: POP_MPLS * match field: metadata, ip

Re: [Ryu-devel] Understanding Events in RYU

2014-07-09 Thread Satoshi KOBAYASHI
Hi, Digambar For your information, Eventlet which is used by Ryu patches Python threading library. Therefore Python debuggers do not work well normally. If you hope to solve this issue, you can patch the following. Python threading library will be not modified by this patch. https://github.com/os

[Ryu-devel] [PATCH] added out-filter function to BGP

2014-07-09 Thread Hiroshi Yokoi
I added out-filter function to BGP. It is possible to control the advertisement of the prefix according to neighbors. Currently this function supports only IPv4. Signed-off-by: Hiroshi Yokoi --- ryu/services/protocols/bgp/api/rtconf.py | 7 ryu/services/protocols/bgp/bgpspeaker.py

Re: [Ryu-devel] What is the best way to implement an active poll in a Ryu app?

2014-07-09 Thread Yiyang Chang
Great resources! Should put it into the Ryu documentation to let more people know it. Many Thanks! Regards, Yiyang > > To put my question simply, what is the best way to implement a > > poll-stats function in a Ryu application? > You can find example code to exactly do such: > > http://osrg.

Re: [Ryu-devel] PATCH adding FloatOpt to the config parser

2014-07-09 Thread FUJITA Tomonori
On Wed, 09 Jul 2014 09:51:23 -0400 Andrew Ragusa wrote: > This patch just adds the ability to parse Float values from a config > using oslo.config.cfg FloatOpt class > > Thanks > A.J. Ragusa > Software Engineer - Global Research Network Operations Center @ Indiana > University > > Signed-off-by

Re: [Ryu-devel] What is the best way to implement an active poll in a Ryu app?

2014-07-09 Thread FUJITA Tomonori
On Wed, 9 Jul 2014 20:27:24 -0400 (EDT) Yiyang Chang wrote: > To put my question simply, what is the best way to implement a poll-stats > function in a Ryu application? > > I am now writing an OpenFlow Controller using Ryu APIs. It works perfectly > when dealing with passive events triggered b

Re: [Ryu-devel] Understanding Events in RYU

2014-07-09 Thread FUJITA Tomonori
On Wed, 9 Jul 2014 22:36:25 +0530 Digambar Patil wrote: > I am debugging ryu code. Started with debugging switch topology > with pdb by using rest client but how to debug event code because at some > point get_switch method calls EventSwitchRequest event in do_request method. >

[Ryu-devel] What is the best way to implement an active poll in a Ryu app?

2014-07-09 Thread Yiyang Chang
Hi All, To put my question simply, what is the best way to implement a poll-stats function in a Ryu application? I am now writing an OpenFlow Controller using Ryu APIs. It works perfectly when dealing with passive events triggered by OpenFlow swithces. Now I want to add a function to let the

Re: [Ryu-devel] TTP and RYU

2014-07-09 Thread FUJITA Tomonori
Hi, On Wed, 09 Jul 2014 17:07:38 -0400 Kathy Benninger wrote: > Is there a plan to support TTP with RYU and OpenFlow 1.3? Not, I thought that it's still under discussion. What's the current status of TTP? What features Ryu need to provide in order to support TTP? --

Re: [Ryu-devel] OXM_OF_VLAN_VID and ofp_packet_in message

2014-07-09 Thread FUJITA Tomonori
On Wed, 9 Jul 2014 11:40:44 +0200 (CEST) Szymon Mentel wrote: > 7. Then I look at the Wireshark using OF13 dissector and it turns out the > there's only > OFPXMT_OFB_IN_PORT field in the match. > > It's the same for OF 1.2. Am I missing something or just OVS doesn't send > complete match > in

[Ryu-devel] TTP and RYU

2014-07-09 Thread Kathy Benninger
Hello! Is there a plan to support TTP with RYU and OpenFlow 1.3? Thanks! Kathy and Joe -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM

[Ryu-devel] Understanding Events in RYU

2014-07-09 Thread Digambar Patil
Hello, I am debugging ryu code. Started with debugging switch topology with pdb by using rest client but how to debug event code because at some point get_switch method calls EventSwitchRequest event in do_request method. But after calling this event pdb not attached to further

[Ryu-devel] PATCH adding FloatOpt to the config parser

2014-07-09 Thread Andrew Ragusa
Hi Guys This patch just adds the ability to parse Float values from a config using oslo.config.cfg FloatOpt class Thanks A.J. Ragusa Software Engineer - Global Research Network Operations Center @ Indiana University Signed-off-by: AJ Ragusa --- diff --git a/ryu/cfg.py b/ryu/cfg.py index 2495961

Re: [Ryu-devel] OXM_OF_VLAN_VID and ofp_packet_in message

2014-07-09 Thread Szymon Mentel
Hello again, Fujita, I decided to use OVS with Mininet on my own to test behavior related to my issue. Unfortunately, it didn't explained anything - I tried with OpenFlow 1.{2,3}. Below I is the scenario along with the results. Note, I utilized ryu-vm as my testbed. 1. I started Mininet: sudo