[ovs-dev] [PATCH] ovn: Take advantage of OVSDB garbage collection in OVN_Northbound schema.

Aaron Rosen arosen at vmware.com
Fri Jun 26 21:35:04 UTC 2015


inline
________________________________________
From: Ben Pfaff <blp at nicira.com>
Sent: Friday, June 26, 2015 2:12 PM
To: Aaron Rosen
Cc: dev at openvswitch.org
Subject: Re: [PATCH] ovn: Take advantage of OVSDB garbage collection in OVN_Northbound schema.

On Fri, Jun 26, 2015 at 08:05:53PM +0000, Aaron Rosen wrote:
> That sounds like it would solve this problem for us :)

I think so.

> In the delete logical_port case we'd just need to delete the port
> entry and the garbage collector will automatically handle updating the
> logical_switch.ports with the current ports right?

If this proposed patch is applied, then it's the opposite: if you remove
the port from Logical_Switch.ports, then the garbage collector will
automatically delete the Logical_Port object (because there are no
remaining references to it).


arosen - in that case I think we also need something that can ""remove element X from this column
(regardless of what's currently there)" otherwise we'll have the same problem in the delete case no? 


More information about the dev mailing list