On Jun 21, 2013, at 6:42 AM, Anderson Sartor wrote:

> I tried without the ofp_match, only with command=.... However, i got the same 
> result.
> 
> From another email of this mailing list:
> " ... clear1 = of.ofp_flow_mod(match=of.ofp_match(),command=of.OFPFC_DELETE)
>    clear2 = of.ofp_flow_mod(match=of.ofp_match(),command=of.OFPFC_DELETE)
>    clear1.match.tp_src =80
>    clear1.match.tp_dst = 25521
>    clear2.match.tp_src = 1234
>    clear2.match.tp_src = 8765
>    for switch in core.openflow._connections.values():
>      switch.send(clear1)
>      switch.send(clear2)
> In this case all flow entries are deleted disregarding my match fields( even 
> delete ARP flow entry..)..."

In this case, this match is illegal.  You can't specify transport ports without 
specifying IP, etc.

> In my case, ARP msgs are received only after the flow's hard_timeout was 
> reached, not after the flows were removed by ofpfc_delete. This implies that 
> the flows are not being properly removed, am I correct?

I don't know your application, so I can't say.

What switch are you using?

Can you post a trace of the controller/switch communication (e.g., captured 
with openflow.debug)?

-- Murphy

Reply via email to