TAPI topology consolidation 98/93698/1
authorGilles Thouenon <gilles.thouenon@orange.com>
Tue, 20 Oct 2020 16:07:49 +0000 (18:07 +0200)
committerGilles Thouenon <gilles.thouenon@orange.com>
Mon, 9 Nov 2020 16:05:55 +0000 (17:05 +0100)
commit60be2f9eca6d48db9efd1db876d846c60fddc2b6
tree6d8dc65881ab2b7e627b68cc33dd33e7e8590e1e
parentdb30281cedc06d452c1e678948dca6d3f2c1239f
TAPI topology consolidation

Modify TAPI topology implementation to give an abstraction of
otn-topology for otn nodes whose network ports are connected to ROADM
through xponder-input/output links. Moreover, abstracts also the ROADM
infrastructure through a Photonic TAPI node. As for xponder-input/output
links, they are represented in by OMS links in the T0 multilayer TAPI
topology.
- add new method in ConvertORTopoToTapiTopo to create the ROADM
  infrastructure abstraction
- add new method in ConvertORTopoToTapiTopo to create OMS links
- create and manage a TapiTopologyException
- refacto TapiTopologyImpl to improve datastore readings
- refacto and improve UT for TapiTopologyImpl and
  ConvertORTopoToTapiTopo classes
- new samples of xml files to adapt portmapping and topologies to new
  TAPI topology code and test cases
- disable TAPI functional tests in tox

JIRA: TRNSPRTPCE-341
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Co-authored-by: Christophe Betoule <christophe.betoule@orange.com>
Change-Id: I38904051cc3e183eda2586de7a104e46d56e39c8
13 files changed:
tapi/src/main/java/org/opendaylight/transportpce/tapi/topology/ConvertORTopoToTapiTopo.java [moved from tapi/src/main/java/org/opendaylight/transportpce/tapi/topology/ConvertORTopoObjectToTapiTopoObject.java with 73% similarity]
tapi/src/main/java/org/opendaylight/transportpce/tapi/topology/TapiTopologyException.java [new file with mode: 0644]
tapi/src/main/java/org/opendaylight/transportpce/tapi/topology/TapiTopologyImpl.java
tapi/src/test/java/org/opendaylight/transportpce/tapi/topology/ConvertORTopoObjectToTapiTooObjectTest.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/get_openroadm-topology2.xml [moved from tapi/src/test/resources/openroadm-topology2.xml with 88% similarity]
tapi/src/test/resources/get_portmapping.xml [new file with mode: 0644]
tapi/src/test/resources/openroadm-topology.xml [deleted file]
tapi/src/test/resources/otn-topology-with-otn-links.xml
tapi/src/test/resources/otn-topology.xml [deleted file]
tapi/src/test/resources/portmapping-example.xml [deleted file]
tox.ini