Add protection on Xponder-in/out link creation 30/95130/3
authorChristophe Betoule <christophe.betoule@orange.com>
Thu, 11 Feb 2021 09:30:00 +0000 (10:30 +0100)
committerGilles Thouenon <gilles.thouenon@orange.com>
Tue, 16 Feb 2021 19:57:02 +0000 (20:57 +0100)
commitd48474417b7498e4b1ca09dc61fa008cdd9ca95a
treef62744c6fb055d185d1eb20777e02f3b7f475dcc
parent952583aa9f0de2de04f230291a5989413591a7b7
Add protection on Xponder-in/out link creation

- avoid NPE when attempting to create an xponder-in/out link terminating
on an unexisting TP
- remove unnecessary log message

JIRA: TRNSPRTPCE-397
Signed-off-by: Christophe Betoule <christophe.betoule@orange.com>
Co-authored-by: Gilles Thouenon <gilles.thouenon@orange.com>
Change-Id: I0f5ce99078872a487dfcd28f9f29f522c329079c
networkmodel/src/main/java/org/opendaylight/transportpce/networkmodel/NetworkUtilsImpl.java
networkmodel/src/main/java/org/opendaylight/transportpce/networkmodel/Rdm2XpdrLink.java