Hello Joe,

I have one question: what is this controller?

    Bridge "labBR1"

        Controller "tcp:192.168.137.60:6633"

  is_connected: true

Is it an Openflow controller?
My guess is that the traffic on you "switch1" generates packet-in messages and those get sent to the controller which in return replies with these flows that you think to be default (although they are not).

Try removing the controller then see if the flows get deleted.


Hope this helps,
Andrei


On 10/18/2013 01:46 PM, Joe Tynan 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

--
Andrei Andone

SOFTVISION
Email: [email protected] <mailto:[email protected]> | Web: www.softvision.ro <http://www.softvision.ro>

The content of this communication is classified as SOFTVISION Confidential and Proprietary Information.

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

Reply via email to