TAPI topology consolidation - step2 60/93560/6
authorGilles Thouenon <gilles.thouenon@orange.com>
Fri, 23 Oct 2020 07:56:30 +0000 (09:56 +0200)
committerGilles Thouenon <gilles.thouenon@orange.com>
Mon, 9 Nov 2020 12:25:35 +0000 (13:25 +0100)
commitdd021ba2b4bc9bd2c5ae619443dbfa7a965b7992
tree893feaace35fe6e8cb24fdfe86124718b880099f
parent73848270bf601494ec25c0de438f9e23c91b7d56
TAPI topology consolidation - step2

- integrate into T0 mulilayer TAPI topology the 100GE Transponders when
  their network ports are connected to the ROADM infra through
  xponder-input/output links
- manage the client to network port association for the 100GE
  transponder case
- adapt ConvertORTopoToTapiTopo and TapiTopologyImpl classes to add new
  UT for the 100G transponder use case
- rationalise samples of xml files to adapt portmapping and topologies
  to new test cases with 100GE transponder
- separate in a dedicated test file UT testing TAPI exceptions

JIRA: TRNSPRTPCE-344
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Co-authored-by: Christophe Betoule <christophe.betoule@orange.com>
Change-Id: I665f2e6290c5a6be1628179a54fb35218c85739b
tapi/src/main/java/org/opendaylight/transportpce/tapi/topology/ConvertORTopoToTapiTopo.java
tapi/src/main/java/org/opendaylight/transportpce/tapi/topology/TapiTopologyImpl.java
tapi/src/test/java/org/opendaylight/transportpce/tapi/topology/ConvertORTopoObjectToTapiTooObjectTest.java
tapi/src/test/java/org/opendaylight/transportpce/tapi/topology/TapiTopologyImplExceptionTest.java [new file with mode: 0644]
tapi/src/test/java/org/opendaylight/transportpce/tapi/topology/TapiTopologyImplTest.java
tapi/src/test/java/org/opendaylight/transportpce/tapi/utils/TopologyDataUtils.java
tapi/src/test/resources/openroadm-topology.xml [moved from tapi/src/test/resources/get_openroadm-topology2.xml with 85% similarity]
tapi/src/test/resources/otn-topology.xml [moved from tapi/src/test/resources/otn-topology-with-otn-links.xml with 59% similarity]
tapi/src/test/resources/portmapping.xml [moved from tapi/src/test/resources/get_portmapping.xml with 79% similarity]