Bug 2158: Fixed TopologyManager for edge updates. 76/12876/7
authorHideyuki Tai <Hideyuki.Tai@necam.com>
Sat, 15 Nov 2014 00:55:46 +0000 (19:55 -0500)
committerHideyuki Tai <Hideyuki.Tai@necam.com>
Tue, 23 Dec 2014 23:30:44 +0000 (18:30 -0500)
MD-SAL does not keep the order of notification of data changes. In the
result, TopologyManager sometimes receives a notification of an edge
addition before it is notified of the addition of the NodeConnector
which is the head of the edge. In such a case, TopologyManager ignores
the edge notification, and fails to create correct topology information.
This is one of the root causes of Bug 2158.
To handle this issue, this patch fixed TopologyManager to queue edge
notifications, and wait corresponding NodeConnector updates.

Change-Id: Ifeabc91d856eb9cc88ae3595d14e0a6819ec7454
Signed-off-by: Hideyuki Tai <Hideyuki.Tai@necam.com>

No differences found