novaclient.v2.services Module¶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(*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(*args, **kwargs)¶Disable the service with a reason.
| Parameters: |
|
|---|
enable(*args, **kwargs)¶Enable the service specified by the service UUID ID.
| Parameters: | service_uuid – The UUID ID of the service to enable. |
|---|
force_down(*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. |
|---|
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.