Frequency computation 53/94553/7
authormanuedelf <emmanuelle.delfour@orange.com>
Tue, 1 Dec 2020 19:52:33 +0000 (20:52 +0100)
committermanuedelf <emmanuelle.delfour@orange.com>
Sat, 9 Jan 2021 14:41:35 +0000 (15:41 +0100)
commit29407f5d8ece76f7e4f3c47b05362d7ae7855e90
treea00617c702224a9f670ab06515040c4bc575acf0
parentdd3a2a048df0afd2dfcf1b701dd4cc8bda76afdb
Frequency computation

- Update GridUtils with 2 methods for computing wavelength number and
frequency.
- Add unit tests for those methods
- Add nb slots constants for 100G and 400G
- Add constant for central frequency

JIRA: TRNSPRTPCE-230
Signed-off-by: manuedelf <emmanuelle.delfour@orange.com>
Change-Id: I634d715fac05c52911dfc8158b4c5f0822883065
common/src/main/java/org/opendaylight/transportpce/common/fixedflex/GridConstant.java
common/src/main/java/org/opendaylight/transportpce/common/fixedflex/GridUtils.java
common/src/test/java/org/opendaylight/transportpce/common/fixedflex/GridUtilsTest.java [new file with mode: 0644]