import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.olm.rev170418.ServicePowerSetupOutputBuilder;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.olm.rev170418.ServicePowerTurndownInput;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.olm.rev170418.ServicePowerTurndownOutput;
+import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.olm.rev170418.ServicePowerTurndownOutputBuilder;
import org.opendaylight.yangtools.yang.common.RpcResult;
import org.opendaylight.yangtools.yang.common.RpcResultBuilder;
@Override public ListenableFuture<RpcResult<ServicePowerTurndownOutput>> servicePowerTurndown(
ServicePowerTurndownInput input) {
- return null;
+ return RpcResultBuilder.success((new ServicePowerTurndownOutputBuilder())
+ .setResult("Success").build()).buildFuture();
}
@Override public ListenableFuture<RpcResult<CalculateSpanlossBaseOutput>> calculateSpanlossBase(
return null;
}
- @Override public ListenableFuture<RpcResult<ServicePowerResetOutput>>
- servicePowerReset(ServicePowerResetInput input) {
+ @Override public ListenableFuture<RpcResult<ServicePowerResetOutput>> servicePowerReset(
+ ServicePowerResetInput input) {
return null;
}
- @Override public ListenableFuture<RpcResult<ServicePowerSetupOutput>>
- servicePowerSetup(ServicePowerSetupInput input) {
+ @Override public ListenableFuture<RpcResult<ServicePowerSetupOutput>> servicePowerSetup(
+ ServicePowerSetupInput input) {
return RpcResultBuilder.success(new ServicePowerSetupOutputBuilder().build()).buildFuture();
}
}