[ovs-git] [openvswitch/ovs] 6e3181: ovn: Delete stale MAC_Bindings that result in Refe...
GitHub
noreply at github.com
Fri Aug 26 17:05:13 UTC 2016
Branch: refs/heads/master
Home: https://github.com/openvswitch/ovs
Commit: 6e31816f719925b5b56a14ac564d3b6194f2df68
https://github.com/openvswitch/ovs/commit/6e31816f719925b5b56a14ac564d3b6194f2df68
Author: Chandra S Vejendla <csvejend at us.ibm.com>
Date: 2016-08-26 (Fri, 26 Aug 2016)
Changed paths:
M ovn/northd/ovn-northd.c
M tests/ovn.at
Log Message:
-----------
ovn: Delete stale MAC_Bindings that result in Referential Integrity Violation
The MAC_Bindings have a strong reference to the Datapath_Binding. However the
MAC_Bindings are never deleted anywhere, and when the Datapath (associated
with a MAC_Binding) is deleted, the ovsdb-server returns Referential
Integrity Violation. This prevents newer operations initiated from the CMS
from being committed to the Southbound DB.
The patch fixes this by deleting the MAC_Binding entry when the
logical_port referred in the mac_binding entry is deleted.
Signed-off-by: Chandra Sekhar Vejendla <csvejend at us.ibm.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
More information about the git
mailing list