From e97dbc3c5f33c1ba97bf89310f2bd06138af938b Mon Sep 17 00:00:00 2001 From: Gilles Thouenon Date: Fri, 13 Oct 2023 14:19:33 +0200 Subject: [PATCH] Create OC path at 200Gbps and 300Gbps Allocate a valid service-path value for OC service at 200Gbps and 300Gbps. JIRA: TRNSPRTPCE-766 Signed-off-by: Gilles Thouenon Change-Id: Ib85fbce2108e52885e97ed13a6e2a77632706421 (cherry picked from commit a9a9f1d10a729739de6063a2a63cac28cec098d6) --- .../transportpce/common/service/ServiceTypes.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/common/src/main/java/org/opendaylight/transportpce/common/service/ServiceTypes.java b/common/src/main/java/org/opendaylight/transportpce/common/service/ServiceTypes.java index 368e81c13..e682484f5 100644 --- a/common/src/main/java/org/opendaylight/transportpce/common/service/ServiceTypes.java +++ b/common/src/main/java/org/opendaylight/transportpce/common/service/ServiceTypes.java @@ -30,6 +30,12 @@ public final class ServiceTypes { if (Uint32.valueOf(100).equals(serviceRate)) { return StringConstants.SERVICE_TYPE_100GE_T; } + if (Uint32.valueOf(200).equals(serviceRate)) { + return StringConstants.SERVICE_TYPE_OTUC2; + } + if (Uint32.valueOf(300).equals(serviceRate)) { + return StringConstants.SERVICE_TYPE_OTUC3; + } if (Uint32.valueOf(400).equals(serviceRate)) { return StringConstants.SERVICE_TYPE_400GE; } -- 2.36.6