Fix bug in TAPI for transitional links 48/92948/1
authorGilles Thouenon <gilles.thouenon@orange.com>
Tue, 6 Oct 2020 08:58:09 +0000 (10:58 +0200)
committerGuillaume Lambert <guillaume.lambert@orange.com>
Wed, 7 Oct 2020 11:02:13 +0000 (11:02 +0000)
commit7d18afdb3379910e6a465d52da265757556d91ce
treea08c4083a1b1d9e94c3e12f0debafc9fa7da69d2
parent6bbda299f155eba3b95dd4bc6b6037dddacb7362
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
(cherry picked from commit 92025c52874815268743b848ea79e2fbe2a39ab7)
tapi/src/main/java/org/opendaylight/transportpce/tapi/topology/ConvertORTopoObjectToTapiTopoObject.java
tapi/src/test/java/org/opendaylight/transportpce/tapi/topology/TapiTopologyImplTest.java