Hack to update degree port on portmapping 09/105509/3
authorGilles Thouenon <gilles.thouenon@orange.com>
Fri, 28 Oct 2022 12:52:36 +0000 (14:52 +0200)
committerGilles Thouenon <gilles.thouenon@orange.com>
Wed, 19 Apr 2023 17:10:57 +0000 (19:10 +0200)
commite54a78defafce70fcebd0b8c3c3ecc9417986260
tree43596a7d48b0a5ee39b7baf0dd9711713155d38b
parentf65baf6655026cb9bd7e7271669fca79308d2734
Hack to update degree port on portmapping

- make the 'port-oper-state' of a ROADM degree port in portmapping
  depends on both the device port state and the OTS operational state
  supported by the port (if any)
- add a detection of changeNotification on an interface in
  DeviceListener221

JIRA: TRNSPRTPCE-713
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Change-Id: I86da3c656c7df7590ab083e970fda364b098358e
common/src/main/java/org/opendaylight/transportpce/common/mapping/PortMapping.java
common/src/main/java/org/opendaylight/transportpce/common/mapping/PortMappingImpl.java
common/src/main/java/org/opendaylight/transportpce/common/mapping/PortMappingVersion221.java
networkmodel/src/main/java/org/opendaylight/transportpce/networkmodel/listeners/DeviceListener221.java