Improve networkmodel util OpenRoadmOtnTopology 2/2 68/99668/1
authorguillaume.lambert <guillaume.lambert@orange.com>
Fri, 4 Feb 2022 11:30:50 +0000 (12:30 +0100)
committerGilles Thouenon <gilles.thouenon@orange.com>
Wed, 9 Feb 2022 08:38:04 +0000 (09:38 +0100)
commitbe0df46ad31daf47cf892a04c700a46a16f0266e
treed3174d8620e30efe7388d73d1d4e824ff2fc7d8a
parent4e771bfb716fde8c0056ffea4b39ede14a8072b3
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