public class ServicesServiceImpl extends BaseComputeServices implements ServicesService
BaseOpenStackService.Invocation<R>| Constructor and Description |
|---|
ServicesServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
ExtService |
disableService(String binary,
String host)
Disables a compute service.
|
ExtService |
enableService(String binary,
String host)
Enables a compute services.
|
ExtService |
forceDownService(String binary,
String host)
Forcefully shuts down a service.
|
ExtService |
forceUpService(String binary,
String host)
Forcefully brings up a service.
|
List<? extends Service> |
list()
List services info
|
List<? extends Service> |
list(Map<String,String> filteringParams)
Returns list of compute services filtered by parameters.
|
invokeAction, invokeActionWithResponsedelete, deleteWithResponse, get, getProvider, getServiceVersion, getWithResponse, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, putWithResponse, request, toList, uripublic List<? extends Service> list()
NOTE: This is an extension and not all deployments support os-services
list in interface ServicesServicepublic List<? extends Service> list(Map<String,String> filteringParams)
Author:Wang Ting/王婷
list in interface ServicesServicefilteringParams - map (name, value) of filtering parametersorg.openstack4j.api.compute.ServicesService#list(java.util.Map)public ExtService enableService(String binary, String host)
Author:Wang Ting/王婷
enableService in interface ServicesServicebinary - the name of the service binary that you want to enablehost - the host name of the service that you want to enableorg.openstack4j.api.compute.ServicesService#enableService(java.lang.String, java.lang.String)public ExtService disableService(String binary, String host)
Author:Wang Ting/王婷
disableService in interface ServicesServicebinary - the name of the service binary that you want to disablehost - the host name of the service that you want to disableorg.openstack4j.api.compute.ServicesService#disableService(java.lang.String, java.lang.String)public ExtService forceDownService(String binary, String host)
forceDownService in interface ServicesServicebinary - the name of the service binary that you want to shutdownhost - the host name of the service that you want to shutdownpublic ExtService forceUpService(String binary, String host)
forceUpService in interface ServicesServicebinary - the name of the service binary that you want to bring uphost - the host name of the service that you want to bring upCopyright © 2021. All rights reserved.