TAPI topology consolidation - step2 99/93699/1
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 16:06:07 +0000 (17:06 +0100)
commitd68f21ba371246f1749bb61e629e26d79bf17187
treef5011c3a3edc4a5b18d2377e6cd8dd264f421ee7
parent60be2f9eca6d48db9efd1db876d846c60fddc2b6
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]