Bug corrections in topo and portmapping modules 31/72731/11
authorGilles Thouenon <gilles.thouenon@orange.com>
Wed, 6 Jun 2018 14:21:42 +0000 (16:21 +0200)
committerguillaume.lambert <guillaume.lambert@orange.com>
Tue, 19 Jun 2018 13:12:37 +0000 (15:12 +0200)
commit4add679985ebcb40a2263b6a0897f5b9291ec461
treebc992bfead69d47b77976214cf793d2e95f72477
parentd1b0cda406546ed995190f9fdbbfe11b58b1bbdc
Bug corrections in topo and portmapping modules

- insert if not found, the SRG number into the logical connection
point name during the portmapping creation.
- add the CP as one of the  termination points of the SRG
- put the right node type value of the XPONDER
- take into account the ROADMs found by the lldp even if the previous
declared ones are missing

Change-Id: I9da179dada5a23c764da3fdb3f74ccd493e9dc4e
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Co-authored-by: Christophe Betoule <christophe.betoule@orange.com>
Co-authored-by: Martial COULIBALY <martial.coulibaly@gfi.fr>
common/src/main/java/org/opendaylight/transportpce/common/mapping/PortMappingImpl.java
networkmodel/src/main/java/org/opendaylight/transportpce/networkmodel/R2RLinkDiscovery.java
networkmodel/src/main/java/org/opendaylight/transportpce/networkmodel/util/OpenRoadmNetwork.java
networkmodel/src/main/java/org/opendaylight/transportpce/networkmodel/util/OpenRoadmTopology.java