It might make sense to install the entries with the OFPFF_SEND_FLOW_REM flag 
set.  Then you should get an ofp_flow_removed message at the controller when 
the flow is removed.  You can inspect the .reason field to see why it was 
removed which might give you an idea of what to look at...

-- Murphy

On May 23, 2015, at 8:36 PM, 博威张 <zbw921...@gmail.com> wrote:

> Hi,
> 
> I set idle_time_out = 0 and hard_time_out = 0 when I send flow-modify message 
> to the controller.
> Then I dump the flows, got something like:
> 
> *** s4 
> ------------------------------------------------------------------------
> NXST_FLOW reply (xid=0x4):
>  cookie=0x0, duration=0.499s, table=0, n_packets=0, n_bytes=0, idle_age=0, 
> priority=65535,arp,in_port=2,vlan_tci=0x0000,dl_src=ca:95:02:89:af:91,dl_dst=ae:ff:49:7b:43:37,arp_spa=10.0.0.1,arp_tpa=10.0.0.7,arp_op=1
>  actions=output:3
>  cookie=0x0, duration=0.39s, table=0, n_packets=0, n_bytes=0, idle_age=0, 
> priority=65535,arp,in_port=3,vlan_tci=0x0000,dl_src=ae:ff:49:7b:43:37,dl_dst=ca:95:02:89:af:91,arp_spa=10.0.0.7,arp_tpa=10.0.0.1,arp_op=2
>  actions=output:2
>  cookie=0x0, duration=0.39s, table=0, n_packets=1, n_bytes=42, idle_age=0, 
> priority=65535,arp,in_port=2,vlan_tci=0x0000,dl_src=ca:95:02:89:af:91,dl_dst=ae:ff:49:7b:43:37,arp_spa=10.0.0.1,arp_tpa=10.0.0.7,arp_op=2
>  actions=output:3
>  cookie=0x0, duration=0.501s, table=0, n_packets=1, n_bytes=42, idle_age=0, 
> priority=65535,arp,in_port=3,vlan_tci=0x0000,dl_src=ae:ff:49:7b:43:37,dl_dst=ca:95:02:89:af:91,arp_spa=10.0.0.7,arp_tpa=10.0.0.1,arp_op=1
>  actions=output:2
> 
> But the flow still expired immediately.
> When I dump flows again, it showed nothing.
> 
> Can someone tell me how to make flows permanent?
> Thank you.
> 
> Bowei

Reply via email to