New nova API call to mark nova-compute down
Introducing new API call for changing the new flag state for forcing nova-compute state. This is done via adding new forced_down field to the Service objects and its check in timeout affected service groups drivers. Blueprint mark-host-down APIImpact Change-Id: I39f1a84c100726f87a4dc464dd9922d66efdb53f
This commit is contained in:
@@ -50,6 +50,7 @@ REST_API_VERSION_HISTORY = """REST API Version History:
|
||||
* 2.9 - Exposes lock information in server details.
|
||||
* 2.10 - Allow admins to query, create and delete keypairs owned by any
|
||||
user.
|
||||
* 2.11 - Exposes forced_down attribute for os-services
|
||||
"""
|
||||
|
||||
# The minimum and maximum versions of the API supported
|
||||
@@ -58,7 +59,7 @@ REST_API_VERSION_HISTORY = """REST API Version History:
|
||||
# Note(cyeoh): This only applies for the v2.1 API once microversions
|
||||
# support is fully merged. It does not affect the V2 API.
|
||||
_MIN_API_VERSION = "2.1"
|
||||
_MAX_API_VERSION = "2.10"
|
||||
_MAX_API_VERSION = "2.11"
|
||||
DEFAULT_API_VERSION = _MIN_API_VERSION
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user