Permamently delete double / wrong openflow entry from br-tun OpenvSwitch bridge

asked 2019-10-31 12:16:25 -0600

panticz gravatar image

updated 2019-10-31 12:22:14 -0600

Hi, i have a VM with ARP entries in both OpenVswitch bridges br-tun and br-int on the compute node where is it executed:

ovs-ofctl dump-flows br-int | egrep "arp.*10.20.0.34"
cookie=0x117c25cd8a3f96, duration=47029.368s, table=24, n_packets=20, n_bytes=840, priority=2,arp,in_port="qvod9cdff27-9c",arp_spa=10.20.0.34 actions=resubmit(,25)

ovs-ofctl dump-flows br-tun | egrep "arp.*10.20.0.34"
cookie=0x1597c76aa2fd74f2, duration=47015.961s, table=21, n_packets=0, n_bytes=0, priority=1,arp,dl_vlan=27,arp_tpa=10.20.0.34 actions=load:0x2-...:3e:42:af:1d,IN_PORT

The unnecassary / faulty entry can by deleted manually from br-tun with:

ovs-ofctl --strict del-flows br-tun "priority=1,arp,dl_vlan=27,arp_tpa=10.20.0.34"

but after the port is shutdown and up again the entry will by recreated again. When the VM is moved to another compute node, only the br-int entry is created, moving back to the initial host creates both again.

Any idea how to remove permamenty this br-tun entry?

Thanks Pawel

edit retag flag offensive close merge delete