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 notification 
> to the controller, or at least it wasn't being shown there.
> 
> I tryed using OFPSetAsync as shown in the example at 
> http://ryu.readthedocs.org/en/latest/ofproto_v1_3_ref.html?highlight=async#ryu.ofproto.ofproto_v1_3_parser.OFPSetAsync
>  to tell the switch to send those messages. The switch receives the SetAsync 
> message properly, but I still dont catch the event neither see it on OVS's 
> snoop.
> 
> Could you help me get a bit of insight on this topic?

I tested OFPSetAsync message on Open vSwitch too,
but OVS did not send OFPFlowRemoved message.

How about setting OFPFF_SEND_FLOW_REM flag in OFPFlowMod message like as 
follows?

    mod = parser.OFPFlowMod(datapath=datapath, match=match,
                            instructions=inst, idle_timeout=5,
                            flags=ofproto.OFPFF_SEND_FLOW_REM)

When OFPFF_SEND_FLOW_REM flag was set, OVS sent OFPFlowRemoved message in my 
test.


> 
> Thanks
> 
> 
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
> 
> 
> 
> _______________________________________________
> Ryu-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
> 

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to