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/8661 github. org/Juniper/ contrail- controller/ commit/ 5ae7a00c790b3d7 126decf73167c2c eeddd657a6
Committed: http://
Submitter: Zuul
Branch: master
commit 5ae7a00c790b3d7 126decf73167c2c eeddd657a6
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