Sounds good, thanks Ben!
________________________________________
From: Ben Pfaff <b...@nicira.com>
Sent: Friday, June 26, 2015 2:50 PM
To: Aaron Rosen
Cc: dev@openvswitch.org
Subject: Re: [PATCH] ovn: Take advantage of OVSDB garbage collection in 
OVN_Northbound schema.

On Fri, Jun 26, 2015 at 09:35:04PM +0000, Aaron Rosen wrote:
> > 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?

Well, yes, I would provide that feature too, it uses the same mechanism.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to