- /**
- * This method does an edit-config on roadm connection subtree for a given
- * connection number in order to set power level for use by the optical
- * power control.
- *
- * @param mode
- * Optical control modelcan be off, power or gainLoss.
- * @param value
- * Power value in DBm.
- * @param connectionNumber
- * Name of the cross connect.
- * @return true/false based on status of operation.
- */
- public boolean setPowerLevel(OpticalControlMode mode, PowerDBm value, String connectionNumber) {
- if (connectionNumber == null && this.connectionNumber != null) {
- connectionNumber = this.connectionNumber;
- }
- return setPowerLevel(mode, value);
- }