Initial OR-TAPI mapping: Topology 14/95014/27
authorJavier Errea <errea@eurecom.fr>
Wed, 3 Feb 2021 11:17:21 +0000 (12:17 +0100)
committerGuillaume Lambert <guillaume.lambert@orange.com>
Fri, 30 Apr 2021 09:20:45 +0000 (09:20 +0000)
commitfb4518248d42b89992a227c94fde2fe9d6fe4df5
tree8d9b83bf5722dcdf24df9f0d3289a160769c467d
parentb741c42f03e5393ef7154fbb1f9c214525eee1da
Initial OR-TAPI mapping: Topology

- Creation of T0 - Full Multi-layer topology
- Mapping OR topology to Full TAPI topology on feature install
- Store Full TAPI Topology in T-API context
- ConvertORTopoToTapiFullTopo.java used by the new mapping
- Modification of TAPI node creation: added E_ODU and I_ODU
- Mapping logic from Figure 6-9 of tapi-reference guide
- Added "mandatory" fields to tapi nodes and topology
- Removed CheckTP for OTN nodes. As it was forcing to do
  the OR-TAPI mapping only to the OTN nodes associated
  with XPDR links

JIRA: TRNSPRTPCE-384
Change-Id: I0d69242cc586c01d4a55c936be60a372176885be
Signed-off-by: errea <errea@eurecom.fr>
tapi/src/main/java/org/opendaylight/transportpce/tapi/impl/TapiProvider.java
tapi/src/main/java/org/opendaylight/transportpce/tapi/topology/ConvertORTopoToTapiFullTopo.java [new file with mode: 0644]
tapi/src/main/java/org/opendaylight/transportpce/tapi/topology/TapiTopologyImpl.java
tapi/src/main/java/org/opendaylight/transportpce/tapi/topology/TopologyUtils.java
tapi/src/main/java/org/opendaylight/transportpce/tapi/utils/TapiContext.java
tapi/src/main/java/org/opendaylight/transportpce/tapi/utils/TapiInitialORMapping.java [new file with mode: 0644]
tapi/src/test/java/org/opendaylight/transportpce/tapi/topology/TapiTopologyImplExceptionTest.java
tapi/src/test/java/org/opendaylight/transportpce/tapi/topology/TapiTopologyImplTest.java
tapi/src/test/java/org/opendaylight/transportpce/tapi/utils/TapiTopologyDataUtils.java
tapi/src/test/resources/openroadm-network.xml [new file with mode: 0644]