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)
To end the scale in of the given dpns output DONE/INPROGRESScom.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)
To recover the dpns which are marked for scale incom.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<ScaleinComputesStartOutput>>
scaleinComputesStart(ScaleinComputesStartInput input)
To trigger start of scale in the given dpnscom.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<ScaleinComputesTepDeleteOutput>>
scaleinComputesTepDelete(ScaleinComputesTepDeleteInput input)
To delete the tep endpoints of the scaled in dpns
-
-
-
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
To trigger start of scale in the given dpns- Specified by:
scaleinComputesStart
in interfaceCloudscalerRpcService
-
scaleinComputesRecover
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<ScaleinComputesRecoverOutput>> scaleinComputesRecover(ScaleinComputesRecoverInput input)
Description copied from interface:CloudscalerRpcService
To recover the dpns which are marked for scale in- Specified by:
scaleinComputesRecover
in interfaceCloudscalerRpcService
-
scaleinComputesEnd
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<ScaleinComputesEndOutput>> scaleinComputesEnd(ScaleinComputesEndInput input)
Description copied from interface:CloudscalerRpcService
To end the scale in of the given dpns output DONE/INPROGRESS- Specified by:
scaleinComputesEnd
in interfaceCloudscalerRpcService
-
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
To delete the tep endpoints of the scaled in dpns- Specified by:
scaleinComputesTepDelete
in interfaceCloudscalerRpcService
-
-