Merge "Create OC path at 200Gbps and 300Gbps"
authorGilles Thouenon <gilles.thouenon@orange.com>
Sun, 15 Oct 2023 17:54:36 +0000 (17:54 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Sun, 15 Oct 2023 17:54:36 +0000 (17:54 +0000)
common/src/main/java/org/opendaylight/transportpce/common/service/ServiceTypes.java

index 368e81c13397db7929638a2c7235ecb88945b582..e682484f5666d98151b2e9eea3dfebfb71aea65d 100644 (file)
@@ -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;
                 }