Port capabilities handling in OTN topology 23/94123/3
authorChristophe Betoule <christophe.betoule@orange.com>
Wed, 25 Nov 2020 15:08:31 +0000 (16:08 +0100)
committerGilles Thouenon <gilles.thouenon@orange.com>
Sat, 12 Dec 2020 07:31:19 +0000 (07:31 +0000)
commit68fc67c6833df11a928cbf06985d0e84a04549fd
treef0cadf2f0e06571b330ff950144159dac6f53666
parent2c102152df30245d5d43013f90194d0ec5aab6ed
Port capabilities handling in OTN topology

- replace hardcoded capabilities of a termination point by the ones
coming from device port (via portmapping)
- adapt pce consequently
- adapt functional tests consequently
- adapt UT consequently

JIRA: TRNSPRTPCE-287
Signed-off-by: Christophe Betoule <christophe.betoule@orange.com>
Co-authored-by: Gilles Thouenon <gilles.thouenon@orange.com>
Change-Id: Ic38f2c5be6ad98eedbe201414a9e303895d893bb
networkmodel/src/main/java/org/opendaylight/transportpce/networkmodel/dto/OtnTopoNode.java
networkmodel/src/main/java/org/opendaylight/transportpce/networkmodel/util/OpenRoadmOtnTopology.java
networkmodel/src/test/java/org/opendaylight/transportpce/networkmodel/util/OpenRoadmOtnTopologyTest.java
tests/transportpce_tests/2.2.1/test_otn_topology.py