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/8662 github. org/Juniper/ contrail- controller/ commit/ b03cba36f7196ae 5dfe29a54f84ab7 722b4c317b
Committed: http://
Submitter: Zuul
Branch: R2.1
commit b03cba36f7196ae 5dfe29a54f84ab7 722b4c317b
Author: Tapan Karwa <email address hidden>
Date: Thu Mar 26 11:36:08 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