This looks correct (though you actually don't need to specify the match at all 
-- it should default to matching everything).

Which flows is it not deleting, and how do you know it's not deleting them?

Can you look at the flow mod on the wire (with Wireshark and the OpenFlow 
dissector) and convince yourself that it looks correct?

-- Murphy

On Jun 20, 2013, at 7:27 PM, Anderson Sartor wrote:

> I'm trying to clear all flows from the switches, but the flows are not being 
> removed.
> I'm doing the following:
>    msg = of.ofp_flow_mod(match=of.ofp_match(),command=of.OFPFC_DELETE)
>    for connection in core.openflow._connections.values():
>       connection.send(msg)
> 
> Why is this not working?
> 
> Thanks,
> 

Reply via email to