Consolidate the APIs for getting consoles
A new API is added with microversion 2.6:
POST /servers/<uuid>/remote-consoles
{
  "remote_console": {
    "protocol": ["vnc"|"rdp"|"serial"|"spice"],
    "type": ["novnc"|"xpvnc"|"rdp-html5"|"spice-html5"|"serial"]
  }
}
which supports all protocols and types for remote consoles.
Implements: blueprint consolidate-console-api
APIImpact
Change-Id: I175a778cede8fbeee9c47a502ab7a98f6d73c074
			
			
This commit is contained in:
		@@ -44,6 +44,7 @@ REST_API_VERSION_HISTORY = """REST API Version History:
 | 
			
		||||
            Exposes delete_on_termination for os-extended-volumes
 | 
			
		||||
    * 2.4 - Exposes reserved field in os-fixed-ips.
 | 
			
		||||
    * 2.5 - Allow server search option ip6 for non-admin
 | 
			
		||||
    * 2.6 - Consolidate the APIs for getting remote consoles
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
# The minimum and maximum versions of the API supported
 | 
			
		||||
@@ -52,7 +53,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.5"
 | 
			
		||||
_MAX_API_VERSION = "2.6"
 | 
			
		||||
DEFAULT_API_VERSION = _MIN_API_VERSION
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user