Please sign in to comment.
ovn: Delete stale MAC_Bindings that result in Referential Integrity V…
…iolation 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 <email@example.com> Signed-off-by: Ben Pfaff <firstname.lastname@example.org>
- Loading branch information...
Showing with 60 additions and 0 deletions.