service interface
novaclient.v2.services.Service(manager, info, loaded=False, resp=None)Bases: novaclient.base.Resource
Populate and bind to a manager.
| Parameters: |
|
|---|
novaclient.v2.services.ServiceManager(api)Bases: novaclient.base.ManagerWithFind
delete(service_id)Delete a service.
| Parameters: | service_id – Before microversion 2.53, this must be an integer id and may not uniquely the service in a multi-cell deployment. Starting with microversion 2.53 this must be a UUID. |
|---|
disable(obj, *args, **kwargs)Disable the service specified by the service UUID ID.
| Parameters: | service_uuid – The UUID ID of the service to disable. |
|---|
disable_log_reason(obj, *args, **kwargs)Disable the service with a reason.
| Parameters: |
|
|---|
enable(obj, *args, **kwargs)Enable the service specified by the service UUID ID.
| Parameters: | service_uuid – The UUID ID of the service to enable. |
|---|
force_down(obj, *args, **kwargs)Update the service’s forced_down field specified by the
service UUID ID.
| Parameters: |
|
|---|
list(host=None, binary=None)Get a list of services.
| Parameters: | host – destination host name. |
|---|
resource_classalias of Service
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.