commit | 9a618ed4b86b17a20c835f0045a55287d79c22ce | [log] [tgz] |
---|---|---|
author | Laszlo Papp <laszlo.papp@hubersuhner.com> | Tue Feb 06 12:05:13 2018 +0000 |
committer | Thomas Vachuska <tom@opennetworking.org> | Tue Feb 06 19:04:58 2018 +0000 |
tree | 165302e5b2e7f872e04dffac2adf5b1c7d729dad | |
parent | e46f09365b9d2c627031049da1595711e5b5df22 [diff] |
Fix the Calient wavelength range 1260 nm seems to be the minimum of the O-band rather than maximum. Change-Id: I9a1d0471bd2f65d964fa822e7d1e7e85376dabbc
diff --git a/drivers/optical/src/main/java/org/onosproject/driver/optical/query/CalientLambdaQuery.java b/drivers/optical/src/main/java/org/onosproject/driver/optical/query/CalientLambdaQuery.java index bcc5982..c715c98 100644 --- a/drivers/optical/src/main/java/org/onosproject/driver/optical/query/CalientLambdaQuery.java +++ b/drivers/optical/src/main/java/org/onosproject/driver/optical/query/CalientLambdaQuery.java
@@ -41,7 +41,7 @@ // Wavelength range: 1260 - 1630 nm long startSpacingMultiplier = Spectrum.U_BAND_MIN.subtract(Spectrum.CENTER_FREQUENCY).asHz() / ChannelSpacing.CHL_12P5GHZ.frequency().asHz(); - long stopSpacingMultiplier = Spectrum.O_BAND_MAX.subtract(Spectrum.CENTER_FREQUENCY).asHz() / + long stopSpacingMultiplier = Spectrum.O_BAND_MIN.subtract(Spectrum.CENTER_FREQUENCY).asHz() / ChannelSpacing.CHL_12P5GHZ.frequency().asHz(); // Only consider odd values for the multiplier (for easy mapping to fixed grid)