Add table name of the nodes (of the link) to create the key for links in the
link-table.
There can be cases where we add a link between 2 nodes with the same name. This
causes a problem for links with metadata. While adding the link between midnode
and second, we find the link between first and midnode leading to an assert.
Fix is to use the table-name of both the nodes of the link while creating the
link's key.
Reviewed: https:/ /review. opencontrail. org/8664 github. org/Juniper/ contrail- controller/ commit/ 15be7ac4506cd46 c61d129d8594625 b03f4b72c7
Committed: http://
Submitter: Zuul
Branch: R1.10
commit 15be7ac4506cd46 c61d129d8594625 b03f4b72c7
Author: Tapan Karwa <email address hidden>
Date: Thu Mar 26 12:25:33 2015 -0700
Add table name of the nodes (of the link) to create the key for links in the
link-table.
There can be cases where we add a link between 2 nodes with the same name. This
causes a problem for links with metadata. While adding the link between midnode
and second, we find the link between first and midnode leading to an assert.
Fix is to use the table-name of both the nodes of the link while creating the
link's key.
Change-Id: Ibbaeff7845b74d a56abe1488dced2 4f131d75377
Closes-Bug:1434342