Re: Clarification on put vs merge and createMissingParent


Robert Varga <nite@...>
 

On 28/11/2018 03:16, Vishal Thapar wrote:
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:

https://github.com/opendaylight/genius/blob/master/interfacemanager/interfacemanager-impl/src/main/java/org/opendaylight/genius/interfacemanager/renderer/ovs/utilities/InterfaceBatchHandler.java#L57
Cursory look finds nothing. The basic question is: does this happen as
the effect of the transaction which put the netvirt port?

mdsal-trace should be able to answer that question...

Regards,
Robert

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