Frequency computation 33/94233/6
authormanuedelf <emmanuelle.delfour@orange.com>
Tue, 1 Dec 2020 19:52:33 +0000 (20:52 +0100)
committermanuedelf <emmanuelle.delfour@orange.com>
Fri, 18 Dec 2020 14:02:00 +0000 (15:02 +0100)
commit12b8d4803fc04b658fb2bf8ae63230eb7bde95e7
tree02c56b0b76b6ab7c616de893a03e0acab8297d9b
parent837ee83e5a88e6f13779eb97ad6ade4c30c3b670
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]