API change for verifying the scheduler when live migrating
After modifying the evacuate action, we now add a new microversion change for modifying the live-migrate call so that the scheduler is called when the admin user provides an hostname unless the force field is provided. APIImpact Implements: blueprint check-destination-on-migrations-newton Change-Id: I212cbb44f46d7cb36b5d8c74a79065d38fc526d8
This commit is contained in:
@@ -77,6 +77,8 @@ REST_API_VERSION_HISTORY = """REST API Version History:
|
||||
* 2.28 - Changes compute_node.cpu_info from string to object
|
||||
* 2.29 - Add a force flag in evacuate request body and change the
|
||||
behaviour for the host flag by calling the scheduler.
|
||||
* 2.30 - Add a force flag in live-migrate request body and change the
|
||||
behaviour for the host flag by calling the scheduler.
|
||||
"""
|
||||
|
||||
# The minimum and maximum versions of the API supported
|
||||
@@ -85,7 +87,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.29"
|
||||
_MAX_API_VERSION = "2.30"
|
||||
DEFAULT_API_VERSION = _MIN_API_VERSION
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user