Update Fixed to flex mapping 97/84197/1
authorBalagangadhar Bathula <bb4341@att.com>
Thu, 29 Aug 2019 20:25:21 +0000 (16:25 -0400)
committerGuillaume Lambert <guillaume.lambert@orange.com>
Wed, 4 Sep 2019 12:54:13 +0000 (12:54 +0000)
commitce671d468087cc76d1c29784854dd503aeacd1f0
tree46b2ab90893fd76403bff51660ea36e5381222e3
parent3cc9ade5c8ad50b99b4b2f87385782322df3d6c4
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>
(cherry picked from commit 938fbefcf61e04c00bc409088dc741369fa845d2)
common/src/main/java/org/opendaylight/transportpce/common/fixedflex/FixedFlexImpl.java
tests/transportpce_tests/1.2.1/test_end2end.py
tests/transportpce_tests/2.2.1/test_end2end.py
tests/transportpce_tests/2.2.1/test_olm.py
tests/transportpce_tests/2.2.1/test_renderer_service_path_nominal.py