Re: Clarification on put vs merge and createMissingParent


Vishal Thapar <vthapar@...>
 

Just to clarify, netvirt and genius code are adding two different terminationPoints/ports. TerminationPoint is what a port is called in network-topology model. So they both are adding two different entries to keyed list, but the code from netvirt ends up overwriting the existing one if Genius adds it first.

This is the method that eventually does write from Genius:


Regards,
Vishal.


On Wed, Nov 28, 2018 at 3:28 AM Robert Varga <nite@...> wrote:
On 27/11/2018 22:01, Tim Rozet wrote:
> I think the genius interface add happens here:
> https://github.com/opendaylight/genius/blob/master/interfacemanager/interfacemanager-impl/src/main/java/org/opendaylight/genius/interfacemanager/renderer/ovs/confighelpers/OvsInterfaceConfigAddHelper.java#L175

That does not look like the place -- it is not related to
TerminationPoints at all...

Is there a big picture of who does what in the datastore somewhere?

Regards,
Robert

Join z.archive.ovsdb-dev@lists.opendaylight.org to automatically receive all group messages.