Current timer is 2 mins of warm up time.
The value recommended by OpenROADM device white paper is 20 seconds.
JIRA: TRNSPRTPCE-480
Signed-off-by: Vachhani, Shweta (sv111y) <sv111y@att.com>
Change-Id: I5e8ac03892e9d1c36214733967dc721f504d6542
LOG.info("Success Value is {}", setXconnPowerSuccessVal);
if (setXconnPowerSuccessVal) {
LOG.info("Roadm-connection: {} updated ", connectionNumber);
LOG.info("Success Value is {}", setXconnPowerSuccessVal);
if (setXconnPowerSuccessVal) {
LOG.info("Roadm-connection: {} updated ", connectionNumber);
- //The value recommended by the white paper is 20 seconds and not 60.
- //TODO - commented code because one vendor is not supporting
- //GainLoss with target-output-power
- Thread.sleep(OlmUtils.OLM_TIMER_1);
+ Thread.sleep(OlmUtils.OLM_TIMER_2);
crossConnect.setPowerLevel(nodeId, OpticalControlMode.GainLoss.getName(), powerValue,
connectionNumber);
crossConnect.setPowerLevel(nodeId, OpticalControlMode.GainLoss.getName(), powerValue,
connectionNumber);
+ //TODO make this timer value configurable via OSGi blueprint
+ // although the value recommended by the white paper is 20 seconds.
+ // At least one vendor product needs 60 seconds
+ // because it is not supporting GainLoss with target-output-power.
} else {
LOG.info("Set Power failed for Roadm-connection: {} on Node: {}", connectionNumber,
nodeId);
} else {
LOG.info("Set Power failed for Roadm-connection: {} on Node: {}", connectionNumber,
nodeId);