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
(service_uuid)¶Disable the service specified by the service UUID ID.
Parameters: | service_uuid – The UUID ID of the service to disable. |
---|
disable_log_reason
(service_uuid, reason)¶Disable the service with a reason.
Parameters: |
|
---|
enable
(service_uuid)¶Enable the service specified by the service UUID ID.
Parameters: | service_uuid – The UUID ID of the service to enable. |
---|
force_down
(service_uuid, force_down)¶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.