commit | da91ea964dbe8f9192188b9c9cc8e200a54b59ac | [log] [tgz] |
---|---|---|
author | alessio <alessio.giorgetti@gmail.com> | Fri Jul 19 18:38:54 2019 +0200 |
committer | Andrea Campanella <andrea@opennetworking.org> | Mon Jul 22 12:03:54 2019 +0000 |
tree | c3654f7ee09275b3a3315b49379395e9bd9c2c20 | |
parent | b7dfb5bd2505ca0a2bb812121e3f27171617247f [diff] |
Driver for Lumentum ROADM-20 - bugfix after testing session. Change-Id: If4fac31387f89ce1c9a378db29d3fcff391620f2
diff --git a/drivers/lumentum/src/main/java/org/onosproject/drivers/lumentum/LumentumRoadmLambdaQuery.java b/drivers/lumentum/src/main/java/org/onosproject/drivers/lumentum/LumentumRoadmLambdaQuery.java index 53fdc63..21374c2 100644 --- a/drivers/lumentum/src/main/java/org/onosproject/drivers/lumentum/LumentumRoadmLambdaQuery.java +++ b/drivers/lumentum/src/main/java/org/onosproject/drivers/lumentum/LumentumRoadmLambdaQuery.java
@@ -59,7 +59,7 @@ DeviceService deviceService = this.handler().get(DeviceService.class); Port port = deviceService.getPort(data().deviceId(), portNumber); - if (port.type() == Port.Type.FIBER) { + if ((port.type() == Port.Type.FIBER) || (port.type() == Port.Type.OMS)) { //Complete set of 50GHz OchSignal int startMultiplier50 = (int) (START_CENTER_FREQ_50.subtract(Spectrum.CENTER_FREQUENCY).asHz()