Class CloudscalerRpcServiceImpl
- java.lang.Object
-
- org.opendaylight.genius.cloudscaler.rpcservice.CloudscalerRpcServiceImpl
-
- All Implemented Interfaces:
CloudscalerRpcService
,org.opendaylight.yangtools.yang.binding.RpcService
@Singleton public class CloudscalerRpcServiceImpl extends java.lang.Object implements CloudscalerRpcService
-
-
Field Summary
Fields Modifier and Type Field Description static com.google.common.util.concurrent.FutureCallback<java.lang.Void>
DEFAULT_CALLBACK
-
Constructor Summary
Constructors Constructor Description CloudscalerRpcServiceImpl(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, ComputeNodeManager computeNodeManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<ScaleinComputesEndOutput>>
scaleinComputesEnd(ScaleinComputesEndInput input)
Invokescalein-computes-end
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<ScaleinComputesEndOutput>>
scaleinComputesEnd2(ScaleinComputesEndInput input)
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<ScaleinComputesRecoverOutput>>
scaleinComputesRecover(ScaleinComputesRecoverInput input)
Invokescalein-computes-recover
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<ScaleinComputesStartOutput>>
scaleinComputesStart(ScaleinComputesStartInput input)
Invokescalein-computes-start
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<ScaleinComputesTepDeleteOutput>>
scaleinComputesTepDelete(ScaleinComputesTepDeleteInput input)
Invokescalein-computes-tep-delete
RPC.
-
-
-
Constructor Detail
-
CloudscalerRpcServiceImpl
@Inject public CloudscalerRpcServiceImpl(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, ComputeNodeManager computeNodeManager)
-
-
Method Detail
-
scaleinComputesStart
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<ScaleinComputesStartOutput>> scaleinComputesStart(ScaleinComputesStartInput input)
Description copied from interface:CloudscalerRpcService
Invokescalein-computes-start
RPC.To trigger start of scale in the given dpns
- Specified by:
scaleinComputesStart
in interfaceCloudscalerRpcService
- Parameters:
input
- ofscalein-computes-start
- Returns:
- output of
scalein-computes-start
-
scaleinComputesRecover
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<ScaleinComputesRecoverOutput>> scaleinComputesRecover(ScaleinComputesRecoverInput input)
Description copied from interface:CloudscalerRpcService
Invokescalein-computes-recover
RPC.To recover the dpns which are marked for scale in
- Specified by:
scaleinComputesRecover
in interfaceCloudscalerRpcService
- Parameters:
input
- ofscalein-computes-recover
- Returns:
- output of
scalein-computes-recover
-
scaleinComputesEnd
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<ScaleinComputesEndOutput>> scaleinComputesEnd(ScaleinComputesEndInput input)
Description copied from interface:CloudscalerRpcService
Invokescalein-computes-end
RPC.To end the scale in of the given dpns output DONE/INPROGRESS
- Specified by:
scaleinComputesEnd
in interfaceCloudscalerRpcService
- Parameters:
input
- ofscalein-computes-end
- Returns:
- output of
scalein-computes-end
-
scaleinComputesEnd2
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<ScaleinComputesEndOutput>> scaleinComputesEnd2(ScaleinComputesEndInput input)
-
scaleinComputesTepDelete
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<ScaleinComputesTepDeleteOutput>> scaleinComputesTepDelete(ScaleinComputesTepDeleteInput input)
Description copied from interface:CloudscalerRpcService
Invokescalein-computes-tep-delete
RPC.To delete the tep endpoints of the scaled in dpns
- Specified by:
scaleinComputesTepDelete
in interfaceCloudscalerRpcService
- Parameters:
input
- ofscalein-computes-tep-delete
- Returns:
- output of
scalein-computes-tep-delete
-
-