Improve networkmodel util OpenRoadmOtnTopology 2/2 00/99600/2
authorguillaume.lambert <guillaume.lambert@orange.com>
Fri, 4 Feb 2022 11:30:50 +0000 (12:30 +0100)
committerGuillaume Lambert <guillaume.lambert@orange.com>
Mon, 7 Feb 2022 14:36:38 +0000 (14:36 +0000)
commita8a095df885c67493b90d6434ab47806011acaca
tree431d87ef8165a1c4d17c76344af82846e8c2a6c5
parentfc359f01ad37745ba0a1de3db4d4acaf85258534
Improve networkmodel util OpenRoadmOtnTopology 2/2

- use class Map for Service Rate / ODU type Identification
- use Long type and < or > rather than equals for bandwidth comparison
- rationalize addAugmentation and builder use

JIRA: TRNSPRTPCE-597 TRNSPRTPCE-526
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: Ibe1f0b89d63f72953e392a9cb2dffcec47c21af8
networkmodel/src/main/java/org/opendaylight/transportpce/networkmodel/util/OpenRoadmOtnTopology.java