Hi,

On 2016年11月23日 03:35, Gabriel do Amaral Almeida wrote:
> Hello, everyone.
>
> I have an application that sets every match+action rule along a route between
> two hosts when the first switch sends a OFPPacketIn, but, for some reason, I
> get another OFPPacketIn from the second switch. After the second switch along
> the route gets a PacketOut action, the packet goes through the route as it
> should be (with no more packet ins).
>
> Not sure if relevant, but the second switch has a OFPActionSetField +
> OFPActionOutput action.
> actions=[self.datapaths[2].ofproto_parser.OFPActionSetField(ip_dscp = dscp +
> 1), self.datapaths[2].ofproto_parser.OFPActionOutput(out_port)]
>
> My question is: how long does it take for these match+action rules to become
> established within a switch after the control app sends a FlowMod?

I guess it is depending strongly on the switch implementation.
In case of Open vSwitch, there might be 5 seconds delay at max, because the
flow caches have the hard timeout of 5 seconds according to the following post.
   https://www.mail-archive.com/[email protected]/msg09919.html

Thanks,
Iwase

>
> Thank you.
>
> Gabriel Almeida
> Undergraduate Student
> Universidade Federal do Rio Grande do Sul
> Brazil
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Ryu-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>

------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to