commit | 1ac5798815e65a0fb5c41eb2474510bf412c6987 | [log] [tgz] |
---|---|---|
author | Andrea Campanella <andrea@opennetworking.org> | Fri Aug 30 11:08:57 2019 -0700 |
committer | Andrea Campanella <andrea@opennetworking.org> | Fri Aug 30 11:12:01 2019 -0700 |
tree | f7aa7252f16c3e11572eac87313c3e5e7a851260 | |
parent | 6ac13ff484c70a9da6633e21dcb585c682b41c2f [diff] |
Fixing modulation UI Change-Id: I9af7c3791f409de06e10b08f305610a44c98a344
diff --git a/apps/roadm/app/src/main/java/org/onosproject/roadm/RoadmManager.java b/apps/roadm/app/src/main/java/org/onosproject/roadm/RoadmManager.java index 73ea721..9a3f30a 100644 --- a/apps/roadm/app/src/main/java/org/onosproject/roadm/RoadmManager.java +++ b/apps/roadm/app/src/main/java/org/onosproject/roadm/RoadmManager.java
@@ -328,7 +328,7 @@ if (device.is(ModulationConfig.class)) { ModulationConfig<Object> modulationConfig = device.as(ModulationConfig.class); long bitRate = 0; - if (modulation.equals(ModulationScheme.DP_QPSK.name())) { + if (modulation.equalsIgnoreCase(ModulationScheme.DP_QPSK.name())) { bitRate = 100; } else { bitRate = 200;