Fix circuit-pack equipment state on XPDR 51/74651/5
authorGilles Thouenon <gilles.thouenon@orange.com>
Thu, 26 Jul 2018 10:08:32 +0000 (12:08 +0200)
committerMartial COULIBALY <martial.coulibaly@gfi.fr>
Fri, 3 Aug 2018 23:07:39 +0000 (01:07 +0200)
commit810038f95e82b0564c11ad5ba0f3f2813bc04a48
tree130b38024a24be9f5b463c8a89794486ffcc8e57
parent17ed4b007aeaca9c1c88c49f70c70d2195f9cf5b
Fix circuit-pack equipment state on XPDR

Change the equipment state of circuit-packs supporting ETH and OCH
interfaces of XPDR node to "not-reserved-inuse" after creation and to
"not-reserved-available" after deletion.

JIRA: TRNSPRTPCE-28
Change-Id: Id662d1ef664f8283ca4ae7cd25a7f874351fdd7a
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Co-authored-by: Christophe Betoule <christophe.betoule@orange.com>
common/src/main/java/org/opendaylight/transportpce/common/mapping/PortMapping.java
common/src/main/java/org/opendaylight/transportpce/common/openroadminterfaces/OpenRoadmInterfaces.java
common/src/main/java/org/opendaylight/transportpce/common/openroadminterfaces/OpenRoadmInterfacesImpl.java
renderer/src/main/java/org/opendaylight/transportpce/renderer/openroadminterface/OpenRoadmInterfaceFactory.java
renderer/src/test/java/org/opendaylight/transportpce/renderer/provisiondevice/DeviceRendererServiceImplTest.java
renderer/src/test/java/org/opendaylight/transportpce/renderer/provisiondevice/RendererServiceOperationsImplTest.java