I don't think you want "--strict", since you are telling it to delete all flows 
with no matches specified at priority 0.

--Justin


On Oct 18, 2013, at 3:46 AM, "Joe Tynan" <[email protected]> wrote:

> I want to remove default flows from OVS
>  
> user1@switch1:~$ uname -a
> Linux switch1 3.8.0-19-generic #29-Ubuntu SMP Wed Apr 17 18:16:28 UTC 2013 
> x86_64 x86_64 x86_64 GNU/Linux
>  
> user1@switch1:~$ sudo ovs-vsctl show
> 7c6efa43-5bca-4a07-9aa3-1e38a1ec6834
>     Bridge "labBR1"
>         Controller "tcp:192.168.137.60:6633"
>             is_connected: true
>         Port "labBR1"
>             Interface "labBR1"
>                 type: internal
>         Port "eth2"
>             Interface "eth2"
>         Port "eth1"
>             Interface "eth1"
>     ovs_version: "1.9.0"
>  
> user1@switch1:~$ sudo ovs-ofctl dump-flows labBR1
> NXST_FLOW reply (xid=0x4):
> cookie=0x20000000000000, duration=17.607s, table=0, n_packets=18, 
> n_bytes=1726, idle_timeout=5, idle_age=1, 
> priority=0,in_port=2,vlan_tci=0x0000,dl_src=00:0c:29:47:c2:80,dl_dst=00:0c:29:3b:f2:95
>  actions=output:1
> cookie=0x20000000000000, duration=17.617s, table=0, n_packets=17, 
> n_bytes=1628, idle_timeout=5, idle_age=1, 
> priority=0,in_port=1,vlan_tci=0x0000,dl_src=00:0c:29:3b:f2:95,dl_dst=00:0c:29:47:c2:80
>  actions=output:2
>  
> I issue.
>  
> user1@switch1:~$ sudo ovs-ofctl --strict del-flows labBR1 priority=0
>  
> but the flows return ?
>  
> user1@switch1:~$ sudo ovs-ofctl dump-flows labBR1
> NXST_FLOW reply (xid=0x4):
> cookie=0x20000000000000, duration=30.127s, table=0, n_packets=31, 
> n_bytes=3000, idle_timeout=5, idle_age=1, 
> priority=0,in_port=2,vlan_tci=0x0000,dl_src=00:0c:29:47:c2:80,dl_dst=00:0c:29:3b:f2:95
>  actions=output:1
> cookie=0x20000000000000, duration=30.137s, table=0, n_packets=30, 
> n_bytes=2902, idle_timeout=5, idle_age=1, 
> priority=0,in_port=1,vlan_tci=0x0000,dl_src=00:0c:29:3b:f2:95,dl_dst=00:0c:29:47:c2:80
>  actions=output:2
>  
> what am i doing wrong ?
>  
> Regards,
> Joe.
> _______________________________________________
> discuss mailing list
> [email protected]
> http://openvswitch.org/mailman/listinfo/discuss

_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to