transportpce.git
4 years agofix lighty.io runtime problem 50/86750/1 stable/neon
guillaume.lambert [Wed, 11 Sep 2019 12:29:13 +0000 (14:29 +0200)]
fix lighty.io runtime problem

This reverts commit 00885dc9169ec375626fb584b01139226fee3d75
    "build lighty.io with ordm4.1 models deviations"

lighty.io build with deviations was fixed in this commit. Although, they
still trigger an error at runtime, that prevents the REST server from
launching correctly.

Change-Id: Ifb15e8877afcd3cf5d10f98b160b9449a2ec704a

4 years agoexplicit switch/case fallthroughs with a comment 49/86749/1
guillaume.lambert [Tue, 15 Oct 2019 09:13:28 +0000 (11:13 +0200)]
explicit switch/case fallthroughs with a comment

The maven checkstyle plugin allows to comment explicitly fallthrough in
switch/case structures so that they do not raise a warning.
https://checkstyle.sourceforge.io/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/FallThroughCheck.html

Replace the @SuppressWarnings decorator by such a comment

Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I80f45d149eef2f234ec40044ee4c7f8193df646a

4 years agodocker support for OpenROADM 2.2.1 sims 48/86748/1
guillaume.lambert [Tue, 10 Sep 2019 10:01:51 +0000 (12:01 +0200)]
docker support for OpenROADM 2.2.1 sims

- rename 1.2.1 / 2.1 docker files and scripts
- create 2.2.1 docker files  and scripts
- rationalize ports used by sims in 1.2.1 functional tests
- improve start scripts

NB: sims 2.1 implements OpenROADM device version 1.2.1

Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: Id8ad87dae4431da8aa897a0aaf494b7436fdb80f

4 years agoUpdate Fixed to flex mapping 47/86747/1
Balagangadhar Bathula [Thu, 29 Aug 2019 20:25:21 +0000 (16:25 -0400)]
Update Fixed to flex mapping

1. Updated the formula for converting the wavlength number to start,
   stop and center frequency.
2. Fix Test cases to match Common/org-openroadm-wavelength-map.txt file
   in 1.2.1 and 2.2.1 openroadm yang models.

Change-Id: Ieb4c9fd59a3af5bbee3169c7b4b0bf72c9d20c1a
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
4 years agoupgrade tox jobs to python 3.5 42/86542/1
guillaume.lambert [Sat, 21 Dec 2019 10:44:46 +0000 (11:44 +0100)]
upgrade tox jobs to python 3.5

Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: Ifb7a1cf945167d9ad2d498e45f9eb5ea9b70db1a

4 years agoupdate mvn version in releng tox jobs 36/86536/1
guillaume.lambert [Fri, 20 Dec 2019 12:48:35 +0000 (13:48 +0100)]
update mvn version in releng tox jobs

Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I3bcfba300629f7e36871cf50c75e38def82b28ca

4 years agoBump dependencies to Neon SR3 14/86514/1
guillaume.lambert [Thu, 19 Dec 2019 17:41:02 +0000 (18:41 +0100)]
Bump dependencies to Neon SR3

Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I8411e94bea62c16746e7f68ad0d0cdfa3e51e387

4 years agoBump version project to Neon SR3 13/86513/1
guillaume.lambert [Thu, 19 Dec 2019 17:35:12 +0000 (18:35 +0100)]
Bump version project to Neon SR3

Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: Ie6f01ec4b3ae7a54b39773b88062c869c3a35194

4 years agoMerge "Fix lighty.io compilation issues" into stable/neon
Guillaume Lambert [Wed, 4 Sep 2019 12:58:41 +0000 (12:58 +0000)]
Merge "Fix lighty.io compilation issues" into stable/neon

4 years agoMerge "build lighty.io with ordm4.1 models deviations" into stable/neon
Guillaume Lambert [Wed, 4 Sep 2019 12:58:34 +0000 (12:58 +0000)]
Merge "build lighty.io with ordm4.1 models deviations" into stable/neon

4 years agofix tox jobs in releng 78/84178/1
guillaume.lambert [Tue, 3 Sep 2019 15:39:58 +0000 (17:39 +0200)]
fix tox jobs in releng

- maven 3.6.0 no more available from apache repo
  upgrading to 3.6.2
- unforce success in end2end tox jobs

Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I414525d7456a3db140d8a5bd7250b070340416d1

4 years agofix jgrapht dependencies version 65/84165/3
guillaume.lambert [Tue, 3 Sep 2019 08:54:23 +0000 (10:54 +0200)]
fix jgrapht dependencies version

third party component dependencies should not use SNAPSHOT versions

Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: Ibf8823955f32c778be4753f07087cf6812e45dda

4 years agoFix lighty.io compilation issues 65/84065/1
Juraj Veverka [Thu, 1 Aug 2019 13:46:28 +0000 (15:46 +0200)]
Fix lighty.io compilation issues

remove OpenRoadm Topology 1.2.1 no more present in networkmodel bundle

Change-Id: I66f5e0aa5d7d9ab316207abecd91bf06536e2988
Signed-off-by: Juraj Veverka <juraj.veverka@pantheon.tech>
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
4 years agobuild lighty.io with ordm4.1 models deviations 64/84064/1
guillaume.lambert [Wed, 12 Jun 2019 08:27:41 +0000 (10:27 +0200)]
build lighty.io with ordm4.1 models deviations

JIRA: TRNSPRTPCE-126
JIRA: TRNSPRTPCE-127
Change-Id: I2aa6012375c0c7e571d37c1d5a197bf8ab772c9e
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
4 years agofix ServiceHandler Bug 65/83765/1
guillaume.lambert [Mon, 19 Aug 2019 09:42:20 +0000 (11:42 +0200)]
fix ServiceHandler Bug

introduced in previous commit

Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: Iea9773d9ce223de29f0f677cd833efe735918be5
(cherry picked from commit 2ef6a7a4d8d7aaac99fe8f34d25ed1d5e23cb3c7)

4 years agofix some sonar issues 90/83590/1
guillaume.lambert [Mon, 12 Aug 2019 09:20:01 +0000 (11:20 +0200)]
fix some sonar issues

identified with the following tags
- clumsy
- convention
- cwe
- misra
- unused

Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: Ie1c448e81bbf3439655fa6260bc2052350ed9aeb
(cherry picked from commit b115d446ae97ff4e7def0ad5c96beaa13191e5b0)

4 years agofix renderer Junit tests 24/83524/2
Ahmed Abbas [Thu, 8 Aug 2019 08:32:01 +0000 (10:32 +0200)]
fix renderer Junit tests

- fix UT in DeviceRendererServiceImplCreateOtsOmsTest
- fix UT in DeviceRendererServiceImplSetupTest

Change-Id: Ie146bb625f6491aa138152aeba4098c47fded8eb
Signed-off-by: Ahmed Abbas <ahmad.helmy@orange.com>
4 years agofix PCE vulnerabilities identified in sonar 23/83523/1
guillaume.lambert [Thu, 8 Aug 2019 09:44:34 +0000 (11:44 +0200)]
fix PCE vulnerabilities identified in sonar

PceConstraints ResourcePair parameters declared as public
instead of private + accessors

Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I742bed7656ea3a4d368cad437f0ddc082d6964d8

4 years agoBump mdsal to 3.0.10 98/83498/1
guillaume.lambert [Wed, 7 Aug 2019 08:05:15 +0000 (10:05 +0200)]
Bump mdsal to 3.0.10

https://git.opendaylight.org/gerrit/c/integration/distribution/+/83129

Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I9a171ee13b5e969e3a1b62bc4b8c8ce2d73d4dd5

4 years agoUpdate end-to-end functional tests 87/83487/1
Gilles Thouenon [Wed, 17 Jul 2019 10:00:53 +0000 (12:00 +0200)]
Update end-to-end functional tests

- realign functional tests for device 1.2.1 on the test suite for device
2.2.1 which is more determinist
- add oms attributes in rdm2rdm links in topo in order to take into
account hard constraints in PCE (change 82557)

JIRA: TRNSPRTPCE-109

Change-Id: I92357faa8f6e4d3ed2a38582de3f53cce154a844
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Co-authored-by: Christophe Betoule <christophe.betoule@orange.com>
4 years agoSet flex-wave data in topo for roadm-tp 86/83486/1
Gilles Thouenon [Wed, 17 Jul 2019 13:48:14 +0000 (15:48 +0200)]
Set flex-wave data in topo for roadm-tp

Add frequency and width on wavelength after service creation

JIRA: TRNSPRTPCE-109

Change-Id: Ic5cb226d0d71306e7e93e02c633a8e90092f2112
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Co-authored-by: Christophe Betoule <christophe.betoule@orange.com>
4 years agoUpdate renderer functional tests 85/83485/1
Gilles Thouenon [Wed, 17 Jul 2019 07:48:07 +0000 (09:48 +0200)]
Update renderer functional tests

To take into acount the new mapping result

JIRA: TRNSPRTPCE-109

Change-Id: I9401e7424f103b1ef3242098cd65a9466d9574da
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Co-authored-by: Christophe Betoule <christophe.betoule@orange.com>
4 years agoTopo-PortMapping functional tests 84/83484/1
Gilles Thouenon [Thu, 11 Jul 2019 11:41:50 +0000 (13:41 +0200)]
Topo-PortMapping functional tests

- simplify the existing functional test suite for device 1.2.1
- create equivalent functional test suite for device 2.2.1

JIRA: TRNSPRTPCE-109

Change-Id: I3154530b44577c95d970aca170bce22568c71180
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Co-authored-by: Christophe Betoule <christophe.betoule@orange.com>
4 years agoUpdate topology functional tests 83/83483/1
Gilles Thouenon [Tue, 9 Jul 2019 13:39:21 +0000 (15:39 +0200)]
Update topology functional tests

- realign topology functional tests for device 1.2.1 on functionnal
tests for device 2.2.1
- add new check on associated-tp for xpdr termination points

JIRA: TRNSPRTPCE-109

Change-Id: I63d39e307030ec8fb58173e7d4191eb71fe8ad4c
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Co-authored-by: Christophe Betoule <christophe.betoule@orange.com>
4 years agoUpdate portmapping functional tests 82/83482/1
Gilles Thouenon [Mon, 8 Jul 2019 14:04:58 +0000 (16:04 +0200)]
Update portmapping functional tests

Tests the new portmapping hierarchy with node-info

JIRA: TRNSPRTPCE-109

Change-Id: I6dcf4da32a55f2af7d3ea0768757a8ad52e3dc22
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Co-authored-by: Christophe Betoule <christophe.betoule@orange.com>
4 years agoBackport portmapping for device 221 to device 121 81/83481/1
Gilles Thouenon [Fri, 5 Jul 2019 09:43:57 +0000 (11:43 +0200)]
Backport portmapping for device 221 to device 121

Allows to have exactly the same treatment for 1.2.1 and 2.2.1  devices

JIRA: TRNSPRTPCE-109

Change-Id: Ied73a5bdd70de4f5f49341f67646a01df6cd2f84
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Co-authored-by: Christophe Betoule <christophe.betoule@orange.com>
4 years agoAdd node-info in portmapping structure 80/83480/1
Gilles Thouenon [Wed, 3 Jul 2019 12:52:55 +0000 (14:52 +0200)]
Add node-info in portmapping structure

- change structure of portmapping.yang to put general node info in a
new node-info container that serves to create node in different
network layers (openroadm-cli, openroadm-network, openroadm-topology)
without multiple readings inside device
- adapt code to the new portmapping structure (especially, to get the
node-version)
- remove MappingUtils from PortMappingImpl, olm and renderer unitary
tests
- remove opeenRoadmTopology121 implementation since there is no longer
any device transaction needed to built node/link in openroadm-topology
(only from portMapping)
- disable some renderer UT

JIRA: TRNSPRTPCE-109

Change-Id: Ifa475029c73cb0690ea18d9903b9dead5f0d57f1
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Co-authored-by: Christophe Betoule <christophe.betoule@orange.com>
4 years agoConsolidate portmapping 79/83479/1
Gilles Thouenon [Tue, 2 Jul 2019 13:58:33 +0000 (15:58 +0200)]
Consolidate portmapping

- creation of logical-connection-point for DEG and SRG roadm-external
ports by TransportPCE, from device configuration datas, when
configuration is relevant
- for unidirection ports, check their consistency before lcp creation,
using among other things partner-port information
- for XPDR, partner port is added in portmapping through partner-lcp.
For ROADM, partner ports are distinguished with lcp-termination (TX or
RX)

Change-Id: Ifef902281d8b5fb27c7296587aad63c634f4bf85
JIRA: TRNSPRTPCE-109
JIRA: TRNSPRTPCE-117
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Co-authored-by: Christophe Betoule <christophe.betoule@orange.com>
4 years agoConsolidate portmapping-topo for ROADM 78/83478/1
Gilles Thouenon [Fri, 28 Jun 2019 15:59:51 +0000 (17:59 +0200)]
Consolidate portmapping-topo for ROADM

- create RDM node in openroadm-topology from its portmapping data only
- change the way to create links

JIRA: TRNSPRTPCE-109

Change-Id: Ie2790fa7f13a29f6dc67e7491e86d808b29159c8
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Co-authored-by: Christophe Betoule <christophe.betoule@orange.com>
4 years agoConsolidate portmapping-topo for XPDR 77/83477/1
Gilles Thouenon [Wed, 26 Jun 2019 08:15:26 +0000 (10:15 +0200)]
Consolidate portmapping-topo for XPDR

- add port-dir, port-qual, associated-lcp in XPDR portmapping
- for XPDR, associated-lcp depends on data of device/connection-map
- create XPDR node in openroadm-topology from its portmapping data only
(no longer from device data)
- add new tpce augmentation for node tps in openroadm-topology in order
to put associated-lcp info
- add yang file for transportpce augmentation

- deactivate E2E 2.2.1 functional tests in releng
  timelimit hit and test broken by YANG deviation support pb

JIRA: TRNSPRTPCE-109

Change-Id: I8482077cd1fdc25822f668c2b75769c9df95a70a
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Co-authored-by: Christophe Betoule <christophe.betoule@orange.com>
4 years agoadd unit tests for serviceHandlerProvider class 76/83476/1
Ahmed Abbas [Tue, 30 Jul 2019 14:12:49 +0000 (16:12 +0200)]
add unit tests for serviceHandlerProvider class

- test that init method registers ServiceHandler to rpcRegistery

Change-Id: I29d8aacb1e539bd0e951f18f74b5b94b5e430f55
Signed-off-by: Ahmed Abbas <ahmad.helmy@orange.com>
4 years agoadd unit tests for DowngradeConstraints 75/83475/1
Ahmed Abbas [Thu, 25 Jul 2019 07:51:22 +0000 (09:51 +0200)]
add unit tests for DowngradeConstraints

- add UT for updateSoftConstraints method
- add UT for downgradeHardConstraints method
- add UT for convertToSoftConstraints method

Change-Id: I419385d617adb39c87807acc35ef5d0fb2147562
Signed-off-by: Ahmed Abbas <ahmad.helmy@orange.com>
4 years agofix two issues in ServiceHandlerImpl 74/83474/1
Ahmed Abbas [Wed, 24 Jul 2019 17:19:27 +0000 (19:19 +0200)]
fix two issues in ServiceHandlerImpl

- remove duplicate call to performPCE
- return false on NullPointerException in validate service creation

Change-Id: Ia87f913009f20a0e85b91cef709f555ade72b5a7
Signed-off-by: Ahmed Abbas <ahmad.helmy@orange.com>
4 years agoPCE update to support constraints 73/83473/1
shweta [Tue, 18 Jun 2019 17:12:49 +0000 (13:12 -0400)]
PCE update to support constraints

- PCE Library update
- Constraints
- restructuring of code
- add oms-attributes to the topology config files for functional tests

JIRA: TRNSPRTPCE-95

Change-Id: I711b1cf9bae4fa8c4c2029486776ebc00ed411a2
Signed-off-by: shweta <sv111y@att.com>
4 years agomodify pce module folder structure 72/83472/1
shweta [Wed, 3 Jul 2019 16:16:36 +0000 (18:16 +0200)]
modify pce module folder structure

Change-Id: Ie63730dd7c1a228aa73e65291325f36eef086b04
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
4 years agofix some javadoc warnings 71/83471/1
guillaume.lambert [Tue, 23 Jul 2019 08:46:45 +0000 (10:46 +0200)]
fix some javadoc warnings

@throw statement must be after @return

Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I753f5aa9d156fde0121e31abba12e881bd401525

4 years agoadd unit tests for ServicehandlerImpl 70/83470/1
Ahmed Abbas [Wed, 17 Jul 2019 20:19:49 +0000 (22:19 +0200)]
add unit tests for ServicehandlerImpl

- UT for serviceReroute
- UT for tempServiceCreate
- UT for tempServiceDelete

Change-Id: If132c8821390dff45a41a5cc202e98c406acaac8
Signed-off-by: Ahmed Abbas <ahmad.helmy@orange.com>
4 years agoAdd bug fixes for 2.2.1 devices 69/83469/1
Bhardwaj, Dhruv (db929a) [Thu, 6 Jun 2019 13:59:30 +0000 (09:59 -0400)]
Add bug fixes for 2.2.1 devices

1. Change calculation for mapping wavelength number to frequency
and bandwidth.
2. Add check for port qualifier to avoid NPE
3. Add conditional statement to prevent mc creation on SRG
4. Change order of mc and nmc creations
5. Modify functional tests suite rspn221 and olm accordingly

JIRA: TRNSPRTPCE-130

Change-Id: I7050f7ff1fdb8d5f2c36b98ad89cd4e363ba10c2

4 years agoserviceReconfigure and serviceRestoration UT 68/83468/1
Ahmed Abbas [Wed, 3 Jul 2019 18:10:30 +0000 (20:10 +0200)]
serviceReconfigure and serviceRestoration UT

Change-Id: I6f7ab5e1a9023d2fc475a58d364ed987e8d287e1
Signed-off-by: Ahmed Abbas <ahmad.helmy@orange.com>
4 years agoadd oms attributes to the topology functional test 67/83467/1
Ahmed Triki [Tue, 2 Jul 2019 13:30:33 +0000 (15:30 +0200)]
add oms attributes to the topology functional test

- add the oms attributes to all the ROADM-to-ROADM links
- each link contains one span with a predefined engineered spanloss

JIRA: TRNSPRTPCE-95

Change-Id: Ib8af529390871b5fd65de48c1ad61305b23a44e6
Signed-off-by: Ahmed Triki <ahmed.triki@orange.com>
4 years agoRemove code deleting node from clli network 66/83466/1
Gilles Thouenon [Tue, 2 Jul 2019 13:28:39 +0000 (15:28 +0200)]
Remove code deleting node from clli network

- it is not relevant to remove a clli-node from clli-topology.

Change-Id: Iec84b639041713c7e11f38031267c9a861110c19
JIRA: TRNSPRTPCE-115
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Co-authored-by: Christophe Betoule <christophe.betoule@orange.com>
4 years agocreate json files for GNPy functional tests 65/83465/1
Ahmed Triki [Fri, 28 Jun 2019 17:07:51 +0000 (19:07 +0200)]
create json files for GNPy functional tests

- put topology descriptions in json files
  (instead of directly in the script)
- those json files describe the clli, openroadm and openroadm network
  topologies, that are needed to generate the GNPy topology.
- These sample configs contain two transponders and three ROADMs
- The oms attributes are considered for ROADM-to-ROADM links.

JIRA: TRNSPRTPCE-131,TRNSPRTPCE-95

Change-Id: Ia06aa0db56049759ea43a2bf8603f2ede318b7f2
Signed-off-by: Ahmed Triki <ahmed.triki@orange.com>
4 years agoMinor changes in the topology extraction for GNPy 64/83464/1
Ahmed Triki [Fri, 28 Jun 2019 07:54:37 +0000 (09:54 +0200)]
Minor changes in the topology extraction for GNPy

-Compute the loss coefficient based on the length of span and
the span loss
-Fixing the AttIn to zero as this metric is not supported by T-PCE

JIRA: TRNSPRTPCE-87

Change-Id: If91fea8781c576083c306e5f115b31a0386c2ffb
Signed-off-by: Ahmed Triki <ahmed.triki@orange.com>
4 years agoGNPy functional tests 63/83463/1
Ahmed Triki [Mon, 24 Jun 2019 16:07:43 +0000 (18:07 +0200)]
GNPy functional tests

create a test python script for GNPy that performs the following steps:
- mount clli-topology, openroadm-network and openroadm-topology
- oms-attributes are added in the description of openroadm-topology
- test the gnpy-response in the output of transportpce-pce:path-
  computation-request
- unmount the topologies

modify tox.ini to add the corresponding gnpy profile (not launched in
releng) to additionally :
- retrieve the GNPy REST server docker image on dockerhub if needed
- run the docker image
- maps the container port 5000 to localhost:8008
  because 5000 is a default port already used by Jenkins
  and 8008 is an official alternate HTTP port

changes GNPy server port harcoded in project code from 5000 to 8008

JIRA: TRNSPRTPCE-131

Change-Id: I68211b31bdb65a4491f456ac78838d9f02ca8a92
Signed-off-by: Ahmed Triki <ahmed.triki@orange.com>
4 years agoadd gnpy results to pce:path-computation-request 62/83462/1
Ahmed Triki [Mon, 24 Jun 2019 15:39:48 +0000 (17:39 +0200)]
add gnpy results to pce:path-computation-request

- update transportpce-pce yang model revision
- modify the ouput of the RPC in transportpce-pce yang model
- implement the gnpy result in the pathComputationServiceImpl

JIRA: TRNSPRTPCE-49

Change-Id: I4a49cb6ee8c8cc239c805dba3a516bcfe028306e
Signed-off-by: Ahmed Triki <ahmed.triki@orange.com>
4 years agoUT for ServicehandlerImpl update 61/83461/1
Ahmed Abbas [Mon, 24 Jun 2019 13:15:43 +0000 (15:15 +0200)]
UT for ServicehandlerImpl update

UT for method serviceFeasibilityCheck

Change-Id: I7e61e48410049289f4688e1deade4725e1e7b010
Signed-off-by: Ahmed Abbas <ahmad.helmy@orange.com>
4 years agohandle OLM when spanloss > 28dB 60/83460/1
Gilles Thouenon [Wed, 12 Jun 2019 15:44:46 +0000 (17:44 +0200)]
handle OLM when spanloss > 28dB

- when calculated spanloss is out of OpenROADM range ( = ]0-28] dB),
  it is all the same set in the OTS interface.
- when the spanloss is greater than 28 dB ,
  the OLM servicePowerSetup fails and triggers the rollback of
  roadm-connection interfaces already configured by the renderer.
- Change OlmServiceStub to result value to success

NB: OpenROADM specifies that spanloss must be < 27 dB but there is 1 dB
of tolerance in the measurement accuracy.
Thus the supported range for spanloss = ]0,28] dB.

Change-Id: Ibae4357bde37ba78fc5bface060099f4bb7be0b6
JIRA: TRNSPRTPCE-90
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Co-authored-by: Christophe Betoule <christophe.betoule@orange.com>
4 years agofix ServicehandlerImpl Junit warnings 59/83459/1
guillaume.lambert [Wed, 19 Jun 2019 13:45:40 +0000 (15:45 +0200)]
fix ServicehandlerImpl Junit warnings

Change-Id: I713457cc79344f3e76395ed08b33698efd72c281
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
4 years agofix some sonar issues 58/83458/1
guillaume.lambert [Tue, 18 Jun 2019 08:33:26 +0000 (10:33 +0200)]
fix some sonar issues

JIRA: TRNSPRTPCE-133

Change-Id: Idd9ff2a296c5e9c066d3bdfcb149a9f1fffa5d22
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
4 years agoremove dead code pointed out by sonar 57/83457/1
guillaume.lambert [Tue, 18 Jun 2019 10:14:43 +0000 (12:14 +0200)]
remove dead code pointed out by sonar

JIRA: TRNSPRTPCE-133

Change-Id: Ibb9e073a7c32a524d643b337d04116eaf5111e1f
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
4 years agofix sonar clumsy issues 56/83456/1
guillaume.lambert [Tue, 18 Jun 2019 09:44:47 +0000 (11:44 +0200)]
fix sonar clumsy issues

JIRA: TRNSPRTPCE-133

Change-Id: Iec0da57ea10bf0553205ca1ffc786b76c17c01f1
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
4 years agodisable E2E tests voting 55/83455/1
guillaume.lambert [Wed, 19 Jun 2019 09:27:15 +0000 (11:27 +0200)]
disable E2E tests voting

it seems some upstreams changes broke the E2E tests.
It is likely because ordm 4.1 YANG deviations are now taken in account.

JIRA: TRNSPRTPCE-126
JIRA: TRNSPRTPCE-129

Change-Id: I359573b8559a0443a08be26045e772d2c9ab1902
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
4 years agoUT for ServicehandlerImpl 54/83454/1
Rami [Tue, 18 Jun 2019 12:37:27 +0000 (14:37 +0200)]
UT for ServicehandlerImpl

  - UT for methods create service and delete service

Change-Id: I0398dac41d4fac687dcdbe8fc7ef7cfa7f1003e9
Signed-off-by: Rami <rmohamed.ext@orange.com>
4 years agofix OlmUtils issues reported by Sonar 53/83453/1
guillaume.lambert [Mon, 17 Jun 2019 14:29:04 +0000 (16:29 +0200)]
fix OlmUtils issues reported by Sonar

JIRA: TRNSPRTPCE-112
Change-Id: Iffbfd814e2dc0ee1c80180fcf4edceb9f9cd6120
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
4 years agoenable -1 voting in topoPortmapping and E2E tests 52/83452/1
guillaume.lambert [Mon, 17 Jun 2019 09:47:47 +0000 (11:47 +0200)]
enable -1 voting in topoPortmapping and E2E tests

topoPortmapping and E2E include expected failures in some tests.
This change
 - adds a unittest.expectedFailure decorator to the tests unit expected
   to fail.
   This way the test suite will return success even if they fail.
 - enables topoPortmapping and E2E tests failure reports to Jenkins.

Change-Id: I679526af0afb01ba08b57a726ff137ff3431916d
JIRA: TRNSPRTPCE-129
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
4 years agoreenable Jenkins -1 voting in functional tests 51/83451/1
guillaume.lambert [Thu, 13 Jun 2019 08:43:29 +0000 (10:43 +0200)]
reenable Jenkins -1 voting in functional tests

Jenkins +1 voting was forced in tox macro to ease the development phase
 of functional tests.
Except topoPortmapping and E2E, all tox functional tests are now
expected to pass but they do not currently report failures to Jenkins.
This change reenables failures reports to Jenkins for those tests.

Change-Id: If305326ef6e208aa55116ccb2b88bca68d9f9f4a
JIRA: TRNSPRTPCE-129
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
4 years agoEnd-to-end functional tests with device2.2.1 50/83450/1
Gilles Thouenon [Thu, 6 Jun 2019 10:33:29 +0000 (12:33 +0200)]
End-to-end functional tests with device2.2.1

- for a much better visibility en test results, adapt sequence of tests
(creation of the topology) to force PCE to have a deterministic result
and hence alleviate to have several tests failling
- only tests 47 and 48 should fail for the non-deterministics
effect of the PCE.

JIRA: TRNSPRTPCE-113
Change-Id: Idc697c560730cbc2bf910e43f9be80b58a587348
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Co-authored-by: Christophe Betoule <christophe.betoule@orange.com>
4 years agoFix bug in FixedFlexImpl and its use by renderer 49/83449/1
Gilles Thouenon [Thu, 6 Jun 2019 10:36:53 +0000 (12:36 +0200)]
Fix bug in FixedFlexImpl and its use by renderer

Change-Id: Iafa5a0167352f5c43df44d5be64f862e8330778f
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
4 years agoexchange with GNPy to check path feasibility 14/82014/2
Ahmed Triki [Thu, 25 Apr 2019 13:38:59 +0000 (15:38 +0200)]
exchange with GNPy to check path feasibility

- add gnpy data model in api module
- add package in pce to connect to gnpy
- modify PCESendingPceRPC to support gnpy
- move test-common DataStoreContext and binding converter classes to
  transportpce-common, adapt pom files dependencies

JIRA: TRNSPRTPCE-87
Change-Id: Ia93fbe0665427530afe33b623ee9aeb3d9f121bb
Signed-off-by: Ahmed Triki <ahmed.triki@orange.com>
Co-authored-by: Esther Le Rouzic <esther.lerouzic@orange.com>
4 years agodecrease OLM timers in functional tests 48/83448/1
guillaume.lambert [Fri, 7 Jun 2019 13:22:41 +0000 (15:22 +0200)]
decrease OLM timers in functional tests

- create a custom comment to identify code pieces to modify
- in tox.ini add a custom line to modify the code before building project
- modifiy OLM funcional tests timers
- fix a tox.ini bug in ordm 2.2.1 functional tests profiles

Change-Id: I80109e6738e9424bca175b0fe3f87c75c1c00f9e
JIRA: TRNSPRTPCE-112
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
4 years agoAdd timer constants in olm 47/83447/1
Gilles Thouenon [Thu, 6 Jun 2019 10:42:45 +0000 (12:42 +0200)]
Add timer constants in olm

to ease convergence times customization.
This can speed up functional tests run against the honeynode emulator
since there is no real signal to make converge

JIRA: TRNSPRTPCE-112
Change-Id: I3222a9cf2ebd2ee11bd7a005ca0ab9309bfb9a0a
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Co-authored-by: Christophe Betoule <christophe.betoule@orange.com>
4 years agoautomate lighty.io build process 46/83446/1
guillaume.lambert [Fri, 7 Jun 2019 09:55:13 +0000 (11:55 +0200)]
automate lighty.io build process

in the lighty folder
- create a patch file to remove deviations from ordm 4.1 network models:
    org-openroadm-otn-network-topology@2018-11-30.yang
    org-openroadm-network-topology@2018-11-30.yang
    org-openroadm-network@2018-11-30.yang
- script the lighty.io build process described in the README file
    - patch ordm 4.1 network models mentionned above
    - build transportPCE with karaf
    - download and build lighty-core 10.x.x
    - build transportPCE with lighty.io
    - comment out patch and lighty-core folder clean-up
- mention the script in the README file

JIRA: TRNSPRTPCE-126
Change-Id: I6bfedb2f9424304d4f86f8ede8bc49521c3cb185
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
4 years agolighty.io initializer 45/83445/1
Juraj Veverka [Fri, 7 Jun 2019 07:22:49 +0000 (09:22 +0200)]
lighty.io initializer

JIRA: TRNSPRTPCE-126
Change-Id: I3169c24220fe64221b2633a2cb9a9e71134b0b2e
Signed-off-by: Juraj Veverka <juraj.veverka@pantheon.tech>
4 years agofix javadocs warnings 44/83444/1
guillaume.lambert [Thu, 6 Jun 2019 13:14:26 +0000 (15:14 +0200)]
fix javadocs warnings

Change-Id: I1d53db7fcb1fd93b2f0f9eb18bf10210b11ff463
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
4 years agoFix OLM bugs to make olm functional tests running 43/83443/1
Gilles Thouenon [Mon, 3 Jun 2019 14:50:59 +0000 (16:50 +0200)]
Fix OLM bugs to make olm functional tests running

JIRA: TRNSPRTPCE-106
Change-Id: I028c6caa98207c0ebfb3743e201ecdb31d3e4a75
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Co-authored-by: Christophe Betoule <christophe.betoule@orange.com>
4 years agoFix bugs to make renderer functional tests running 42/83442/1
Gilles Thouenon [Fri, 24 May 2019 08:49:23 +0000 (10:49 +0200)]
Fix bugs to make renderer functional tests running

- add management of equipment-state change for XPDR 221 devices
- disable org-openroadm-service update when using
transportpce-device-renderer:service-path rpc

JIRA: TRNSPRTPCE-105
Change-Id: Ib5de2d10c5acc3fa41dddd9ec2f19453f5fc8384
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
4 years agoIntegrate renderer & olm code to run on device221 41/83441/1
Gilles Thouenon [Thu, 2 May 2019 13:33:53 +0000 (15:33 +0200)]
Integrate renderer & olm code to run on device221

- retrieve OLM modifs from change 80051
- integrate olm for device221
- integrate pm221 management
- getPm is running on device/pm 221, but impossible to get a
'current-pm-entry' from 'current-pm-list'! Forced to take the entire
list...
- change the isUsedByXc method (placement + code for device221)
- change the interface name for roadm-connection 221
- adapt code to delete interfaces 221 (lcp-nmc / lcp-mc)
- update olm functional tests with device 121
- corrections in olm code to make olm functional tests with device
121 running

JIRA: TRNSPRTPCE-105
JIRA: TRNSPRTPCE-106
Change-Id: Ie1e36a01b9d128c168b6784fb2356f25873b6147
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Co-authored-by: Christophe Betoule <christophe.betoule@orange.com>
Co-authored-by: Dhruv Bhardwaj <db929a@att.com>
Co-authored-by: Shweta Vachhani <sv111y@att.com>
4 years agoprepare func tests for openroadm v2.2.1 support 40/83440/1
Gilles Thouenon [Tue, 21 May 2019 15:47:50 +0000 (17:47 +0200)]
prepare func tests for openroadm v2.2.1 support

add openroamd version 2.2.1 support for the following functional tests:
- portmapping
- topology
- renderer service path nominal
  - creation/deletion of interfaces and roadm-connection on devices.
  - add equipment-state in XPDRA configuration file (circcuit-pack).
- OLM

JIRA: TRNSPRTPCE-112
JIRA: TRNSPRTPCE-113
Change-Id: I746e4962e05ac9570721260a1df289f3bf974448
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Co-authored-by: Christophe Betoule <christophe.betoule@orange.com>
4 years agointroduce ordm v2.2.1 support for OLM and renderer 39/83439/1
Dhruv Bhardwaj [Thu, 23 May 2019 09:24:06 +0000 (11:24 +0200)]
introduce ordm v2.2.1 support for OLM and renderer

JIRA: TRNSPRTPCE-105
JIRA: TRNSPRTPCE-106
Change-Id: Iadf01663285253c147b720826923887e61a32b1b

4 years agoclean test environment 38/83438/1
guillaume.lambert [Wed, 29 May 2019 13:17:46 +0000 (15:17 +0200)]
clean test environment

- remove testtool traces
- remove servicehandler functional tests and associated stubs
- rationalize honeynode multiple openroadm versions support:
  move code for 2.1 and 2.2.1 versions in the same folder
  only one script to build (version passed as argument - def is 2.1)
- clean repo from tabs and dos formatted files

JIRA: TRNSPRTPCE-112
Change-Id: Id893085733cdc21bbec27062afee4df6f9763c75
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
4 years agoAdd Honeynode emulator for device221 37/83437/1
Gilles Thouenon [Tue, 21 May 2019 15:41:50 +0000 (17:41 +0200)]
Add Honeynode emulator for device221

- new version of honeynode emulator for managing org-openroadm-device
2.2.1 and org-openroadm-pm 2.2.1
- new simple configuration files for XPDR and ROADM (with bidirectionnal
ports)

Change-Id: I5c470514fdb5ffe5c33d2ebc3933b10007b6944e
JIRA: TRNSPRTPCE-101
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Co-authored-by: Christophe Betoule <christophe.betoule@orange.com>
4 years agoadd docker support for sims 36/83436/1
guillaume.lambert [Tue, 26 Mar 2019 13:51:38 +0000 (14:51 +0100)]
add docker support for sims

JIRA: TRNSPRTPCE-112
Change-Id: I0bb41a66a895a0585b5545f64801a9d84ae75b3d
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
4 years agoBump upstreams to the new Neon SR2 versions 40/82940/1
guillaume.lambert [Fri, 5 Jul 2019 12:35:25 +0000 (14:35 +0200)]
Bump upstreams to the new Neon SR2 versions

- odlparent to 4.0.11
- mdsal to 3.0.9
- yangtools to 2.1.11

https://git.opendaylight.org/gerrit/#/q/status:merged+project:integration/distribution+branch:stable/neon+topic:mri-neon-sr2

Change-Id: I21fae1d5318df253fd18cbccbf3aad08fb4e15af
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
4 years agoBump mdsal and netconf deps to Neon SR2 snapshot 84/82484/1
guillaume.lambert [Tue, 11 Jun 2019 09:40:06 +0000 (11:40 +0200)]
Bump mdsal and netconf deps to Neon SR2 snapshot

Change-Id: I2b065d035b8b0365bec77736a51988bbd6592499
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
4 years agotest topoPortMapping adapted to Honeynode 81/82281/1
guillaume.lambert [Tue, 28 May 2019 09:46:56 +0000 (11:46 +0200)]
test topoPortMapping adapted to Honeynode

Change-Id: I8cf63c7389383d630638e192fd6304a5b067f70b
JIRA: TRNSPRTPCE-68
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
4 years agotest topology adapted to Honeynode 55/82255/2
Gael [Wed, 14 Nov 2018 13:10:20 +0000 (14:10 +0100)]
test topology adapted to Honeynode

From last commit : old test with testtool is not called in tox anymore.
Tests 9 and 17 in test-topology are now completed to check termination
points (related to  PS 77801).
A config file was created to emulate node ROADMB with honeynode.
Corresponding test script was adapted. Tox was modified accordingly.

JIRA: TRNSPRTPCE-68
Change-Id: I5f1dd82be95f523d0942a582c0f156c09920e99a

4 years agoclean tests folder 80/82280/1
guillaume.lambert [Wed, 20 Mar 2019 16:12:08 +0000 (17:12 +0100)]
clean tests folder

- remove some useless files
- rationalize sample configs directory
- review sims port assignation to avoid that 2 different honeynode confs
  use the same port
- introduce some delimiters in nose tests files for Xtesting purpose

Change-Id: Ife26be63d2725f05cc8fb2dd76c439d5464d01bf
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
4 years agoIncrease ServiceHandler Junit coverage 53/82253/1
Rami [Thu, 16 May 2019 07:19:56 +0000 (09:19 +0200)]
Increase ServiceHandler Junit coverage

Increase SH UT coverage for
- ModelMappingUtils
- MappingConstraint
- ServiceDataStoreOperation
- ServiceHandlerCompliancyCheck
- ServiceHandlerTxRxcheck

Change-Id: I37449064357888ea60b4c9bc7be62054da2c9c24
Signed-off-by: Rami <rmohamed.ext@orange.com>
4 years agoBump project version to Neon SR2 52/82252/1
guillaume.lambert [Mon, 27 May 2019 13:56:18 +0000 (15:56 +0200)]
Bump project version to Neon SR2

Change-Id: If0fbb3ba8362a61368a0247c915bba19af2adb8e
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
4 years agoBump to Neon SR1 dependencies 09/81909/1
guillaume.lambert [Mon, 6 May 2019 15:44:57 +0000 (17:44 +0200)]
Bump to Neon SR1 dependencies

yangtools.yang.data.codec.gson.JSONNormalizedNodeStreamWriter
createExclusiveWriter has now 2 prototypes
JSONDataObjectConverter.java has to be adapted to avoid ambiguity

Change-Id: Icc52836dd3b34941af5eb36010acf9add5182596
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
4 years agoFix some bugs in topology tests 17/81817/1
Gilles Thouenon [Mon, 29 Apr 2019 09:49:24 +0000 (11:49 +0200)]
Fix some bugs in topology tests

Remove in some tests the manual node deletions in openroadm-network.
This action is already performed by TransportPCE when disconnecting the
topology-netconf device. Related tests should no longer report an error.

NB: test_05 in test_topoPortMapping.py still fails because of a bug in
the creation of xpdr device in the openroadm-topology.

JIRA: TRNSPRTPCE-86
Change-Id: Icf0eb7b38a2bd6f82b24a64ed32c44238fdb9087
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Co-authored-by: Christophe Betoule <christophe.betoule@orange.com>
(cherry picked from commit f49d7be5a843a3915e33cb2de4e9d5ffcb485748)

5 years agofix some warnings 82/81782/1
guillaume.lambert [Thu, 25 Apr 2019 08:44:35 +0000 (10:44 +0200)]
fix some warnings

Change-Id: I7a6e65bd7bda14e483c32cafcc9bbf5349e4d11a
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
(cherry picked from commit 5de8c8585b33bd279fe23da71a70bdf0560fa71b)

5 years agorationalize ordmodels network pom 11/81611/3
guillaume.lambert [Fri, 12 Apr 2019 15:02:01 +0000 (17:02 +0200)]
rationalize ordmodels network pom

Change-Id: I9d9c59095863a354801a38ea42473f5d2233a1ae
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
5 years agofunctional tests update for network model 4.1 75/81775/1
Gilles Thouenon [Wed, 24 Apr 2019 09:54:50 +0000 (11:54 +0200)]
functional tests update for network model 4.1

Most functional tests have become obsolete after upgrading OpenROADM
network models from version 2.1 to 4.1
Sample config topology files and urls in python scripts needed to be
updated consequently.

Change-Id: I4a4e3169f1629f31ccc10ba9b9faccb06187d47e
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Co-authored-by: Christophe Betoule <christophe.betoule.com>
Co-authored-by: guillaume.lambert <guillaume.lambert@orange.com>
5 years agoremove faulty UTs 74/81774/1
guillaume.lambert [Thu, 18 Apr 2019 09:39:38 +0000 (11:39 +0200)]
remove faulty UTs

PceManyTests and ServiceHandlerImplTest need to be updated to support
ordm 4.1 network models.
NetworkTransaction has not been migrated and has no extension.

Change-Id: I3277ca9fa936cf61b69de4272029514e029a9124
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
5 years agoUpgrade Network model from 2.1 to 4.1 10/81610/3
Gilles Thouenon [Thu, 11 Apr 2019 08:41:18 +0000 (10:41 +0200)]
Upgrade Network model from 2.1 to 4.1

- update models to migrate network models to 4.1
- adapt new yang model naming to be compliant with ODL
- integrate rfc8345 dependencies in network/pom
- adapt all the code to new models

Change-Id: Ia48271cb45590aa59956130f5d80891c4140a749
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Co-authored-by: Christophe Betoule <christophe.betoule@orange.com>
Co-authored-by: Dhruv Bhardwaj <db929a@att.com>
Co-authored-by: Shweta Vachhani <sv111y@att.com>
5 years agoclean api pom 88/81688/1
guillaume.lambert [Wed, 17 Apr 2019 14:54:11 +0000 (16:54 +0200)]
clean api pom

Change-Id: I57fc668daf8acbda5df718d1afab433663c46ab8
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
5 years agoBump to Neon SR1 dev dependencies 84/81684/1
guillaume.lambert [Wed, 17 Apr 2019 14:14:29 +0000 (16:14 +0200)]
Bump to Neon SR1 dev dependencies

Change-Id: I975487a80160c897c2f23b318bf9451c27f12b5d
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
5 years agoUnit Tests update 08/81608/1
Rami [Thu, 11 Apr 2019 15:17:32 +0000 (17:17 +0200)]
Unit Tests update

- increase the test coverage for ServiceDataStoreOperationsImpl
- remove unsed setup for ServiceDataStoreOperationsImplTest
- check if pathDescritpion is not null in mappingServicePaths method in
  ModelMappingUtils

Change-Id: Icc4dd86d609f9833891698ba521397bb246ec56a
Signed-off-by: Rami <rmohamed.ext@orange.com>
5 years agoReintroduce (ordm 2.2.1) Rdm2Rdm links in topo 07/81607/1
Gilles Thouenon [Thu, 4 Apr 2019 07:09:48 +0000 (09:09 +0200)]
Reintroduce (ordm 2.2.1) Rdm2Rdm links in topo

- complete portMapping with GE interfaces from lldp in CpToDegree
- delete mapping and node/link from topo when disconnecting device

Change-Id: I989e62523bf7a635f3b3ad2d5fa985fdabfcca4c
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Co-authored-by: Christophe Betoule <christophe.betoule@orange.com>
5 years agoCode correction to integrate 2.2.1 devices in topo 06/81606/1
Gilles Thouenon [Wed, 3 Apr 2019 14:21:11 +0000 (16:21 +0200)]
Code correction to integrate 2.2.1 devices in topo

- change several device datastores from config to operational
- reactivate node deletion/portmapping deletion

Change-Id: I3c8ee105b977d12adbebc1116545fa04185013c8
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Co-authored-by: Christophe Betoule <christophe.betoule@orange.com>
5 years agoPrepare NetworkModel to support ordm 2.2.x devices 05/81605/1
shweta [Tue, 2 Apr 2019 12:23:46 +0000 (14:23 +0200)]
Prepare NetworkModel to support ordm 2.2.x devices

Adapt topology modifications from change 80051
https://git.opendaylight.org/gerrit/#/c/80051/
They initially supported 2.2 openroadm devices and have been adapted to
support openroadm 2.2.1 devices.

Change-Id: Ia659c19b4f695d2054c0757b101d9e895108f957
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Co-authored-by: Gilles Thouenon <gilles.thouenon@orange.com>
Co-authored-by: Christophe Betoule <christophe.betoule@orange.com>
5 years agoBump project version to Neon SR1 03/81603/1
guillaume.lambert [Fri, 12 Apr 2019 12:57:32 +0000 (14:57 +0200)]
Bump project version to Neon SR1

Change-Id: Id0b274c2279e3836dc94de457461cfac87fa717a
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
5 years agoupdate docs 35/81135/3
guillaume.lambert [Sat, 23 Mar 2019 00:03:02 +0000 (01:03 +0100)]
update docs

Change-Id: I992f3b64af3763ac51b1ec47cf250bc9a7bc1080
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
5 years agoupgrade openroadm models to 2.2.1 34/81134/2
shweta [Fri, 22 Mar 2019 21:48:26 +0000 (17:48 -0400)]
upgrade openroadm models to 2.2.1

Added alarm and LLDP for 2.2.1

Change-Id: Ide21da84e6cec9c148cef3155471b8263133bf33
Signed-off-by: shweta <sv111y@att.com>
5 years agoPortMapping for device 1.2.1 and 2.2 98/81098/1
Christophe Betoule [Wed, 20 Mar 2019 16:40:15 +0000 (17:40 +0100)]
PortMapping for device 1.2.1 and 2.2

- detect openRODAM device version in NetConfTopologyListener.java
- add getNode method in PortMapping to get general node info
- disable LinkDiscovery for device 2.2 to alleviate exceptions

Change-Id: Id836a31e6a754d281acc237d46a121a0c6ae5d0e
Signed-off-by: Christophe Betoule <christophe.betoule@orange.com>
Co-authored-by: Gilles Thouenon <gilles.thouenon@orange.com>
(cherry picked from commit 34e6cc32bbda6f19e394c14904d7b78a520e1b96)

5 years agoclean some files 87/80887/1
guillaume.lambert [Fri, 15 Mar 2019 11:19:22 +0000 (12:19 +0100)]
clean some files

remove useless trailing blanks and tabs

Change-Id: I6f70ff1599025fb8cbe44a6cd22ab0a2d8730b1b
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
5 years agoMerge "fix renderer UT"
Guillaume Lambert [Fri, 15 Mar 2019 08:37:26 +0000 (08:37 +0000)]
Merge "fix renderer UT"

5 years agoMerge changes from topic 'ordm22'
Guillaume Lambert [Fri, 15 Mar 2019 08:36:30 +0000 (08:36 +0000)]
Merge changes from topic 'ordm22'

* changes:
  fix some warnings
  Fixed Issues with PCE
  Update Renderer Module
  clean yang files
  Sync Common folder

5 years agoDo not override mockito versions 58/80858/1
Robert Varga [Thu, 14 Mar 2019 15:57:01 +0000 (16:57 +0100)]
Do not override mockito versions

odlparent ships newer mockito, using that version fixes build
with JDK11.

Change-Id: I71328a9395e36f96a19ed08602f7017b97e8da8b
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>