Fix bug in TAPI for transitional links 15/92915/2
authorGilles Thouenon <gilles.thouenon@orange.com>
Tue, 6 Oct 2020 08:58:09 +0000 (10:58 +0200)
committerGilles Thouenon <gilles.thouenon@orange.com>
Tue, 6 Oct 2020 12:18:24 +0000 (14:18 +0200)
commit92025c52874815268743b848ea79e2fbe2a39ab7
treee114a65798614fe1b5fa6282c07a5f3aa8beef56
parent8cd1d7add0b670a6a6bb26259230e5ceb31c6054
Fix bug in TAPI for transitional links

UUID of transitional links were identical for SPDR-SA1 and SPDR-SC1.
To solve it, we can consider the node id to create a per-device unique
UUID.

JIRA: TRNSPRTPCE-333
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Co-authored-by: Christophe Betoule <christophe.betoule@orange.com>
Change-Id: I00943607bdc553bfdaef045cb8fad03a8a80efd8
tapi/src/main/java/org/opendaylight/transportpce/tapi/topology/ConvertORTopoObjectToTapiTopoObject.java
tapi/src/test/java/org/opendaylight/transportpce/tapi/topology/TapiTopologyImplTest.java