Update topology input files for Tapi topology UT 27/95027/2
authorGilles Thouenon <gilles.thouenon@orange.com>
Tue, 2 Feb 2021 17:36:21 +0000 (18:36 +0100)
committerGilles Thouenon <gilles.thouenon@orange.com>
Fri, 5 Feb 2021 17:37:55 +0000 (18:37 +0100)
commit6bb5391db7481775991661ae582ad9a3f6de1a77
treea5ff7fe77f1c7fdc447511fd0fb309187c431470
parentf80a8e490bfc41bdb93ea0ca3b4a619a9b61ddcf
Update topology input files for Tapi topology UT

- to take into acount Administrative and operational states present in
openroadm-topology and otn-topology, as well as flexgrid data
- fix issues in ConvertORTopoToTapiTopo.java when converting openroadm
supported interfaces to tapi supported layer protocoles (extend the
number of supported interfaces handled, use Set interface instead of
List to avoid possible duplication of entries)
- adapt UT consequently

JIRA: TRNSPRTPCE-393
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Change-Id: I4f69329734f9533eb8f1549ca08cd3dd631de597
tapi/src/main/java/org/opendaylight/transportpce/tapi/topology/ConvertORTopoToTapiTopo.java
tapi/src/test/java/org/opendaylight/transportpce/tapi/topology/ConvertORTopoObjectToTapiTooObjectTest.java
tapi/src/test/resources/openroadm-topology.xml
tapi/src/test/resources/otn-topology.xml
tapi/src/test/resources/portmapping.xml