Hi All,
I have following scenarios for my network application. I install a rule R1
with a flow id F1, action output to port 2 and 4, idle timeout 60s, and
priority 1000. After few seconds, I install another rule R2 with a flow id
F1, action output to port 2 only, hard timeout less than 60s, and priority
2000.

What I was assuming that R2 should expire due to hard timeout and R1 be
there in the flow table. However, I found R1 expires and R2 persists in the
table. Can anyone explain it?

*After R1 and R2 installation:*
n_packets=9,n_bytes=882,hard_timeout=47,priority=2000,icmp,nw_src=10.0.0.3,nw_dst=10.0.0.2,icmp_type=0,icmp_code=0
actions=output:3
n_packets=10,n_bytes=980,idle_timeout=60,priority=1000,icmp,nw_src=10.0.0.3,nw_dst=10.0.0.2,icmp_type=0,icmp_code=0
actions=output:3,4
n_packets=9,n_bytes=882,hard_timeout=47,priority=2000,icmp,nw_src=10.0.0.2,nw_dst=10.0.0.3,icmp_type=8,icmp_code=0
actions=output:2
n_packets=10,n_bytes=980,idle_timeout=60,priority=1000,icmp,nw_src=10.0.0.2,nw_dst=10.0.0.3,icmp_type=8,icmp_code=0
actions=output:2,4

*After 60s R1 expires and R2 persists:*
n_packets=255,n_bytes=24990,priority=2000,icmp,nw_src=10.0.0.3,nw_dst=10.0.0.2,icmp_type=0,icmp_code=0
actions=output:3
n_packets=255,n_bytes=24990,priority=2000,icmp,nw_src=10.0.0.2,nw_dst=10.0.0.3,icmp_type=8,icmp_code=0
actions=output:2
-- 
With regards,
Quamar Niyaz
_______________________________________________
openflow-discuss mailing list
openflow-discuss@lists.stanford.edu
https://mailman.stanford.edu/mailman/listinfo/openflow-discuss

Reply via email to