OLM bug correction in rpc span-loss-current 80/77180/1
authorGilles Thouenon <gilles.thouenon@orange.com>
Fri, 19 Oct 2018 15:27:45 +0000 (17:27 +0200)
committerguillaume.lambert <guillaume.lambert@orange.com>
Mon, 22 Oct 2018 15:07:57 +0000 (17:07 +0200)
commita3b392eb5a1fe451ac504583be578000a8ff3b5f
tree6dbd750080fae2f22d74185afa613c4f01b0db4a
parentb22090019df1a603688c4fc4731cb9131cd45a1f
OLM bug correction in rpc span-loss-current

- remove internal class which defined ROADM links
- bug correction in calculateSpanlossBase and calculateSpanlossCurrent
methods of OlmPowerServiceImpl class
- adapt olm yang model to return the list of roadm links with their
associated spanloss

Change-Id: I4c9477d873aad17791347a803b0d7f67f202ca0e
JIRA: TRNSPRTPCE-47
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Co-authored-by: Christophe Betoule <christophe.betoule@orange.com>
api/src/main/yang/olm@2017-04-18.yang
olm/src/main/java/org/opendaylight/transportpce/olm/power/PowerMgmt.java
olm/src/main/java/org/opendaylight/transportpce/olm/service/OlmPowerServiceImpl.java
olm/src/main/java/org/opendaylight/transportpce/olm/spanloss/RoadmLinks.java [deleted file]