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/8663 github. org/Juniper/ contrail- controller/ commit/ c61ea4b719433ba 25468e715101ebe eb69321609
Committed: http://
Submitter: Zuul
Branch: R2.0
commit c61ea4b719433ba 25468e715101ebe eb69321609
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