HyperV: Remove RDP console connection information API

The RDP console was only available for HyperV driver, therefore its
connection information via API ``os-console-auth-tokens`` will now return
HTTP ``400 (BadRequest)`` error.

Starting from 2.31 microversion, this API return connection info
for all other console type.

Change-Id: I94e590eb4cbe3b2d8eff7fe881f7b98af8979be2
This commit is contained in:
Ghanshyam Mann
2024-02-07 12:18:05 -08:00
committed by Ghanshyam
parent 260dbd9761
commit 3e47439a68
10 changed files with 47 additions and 56 deletions
+4 -4
View File
@@ -64,9 +64,9 @@ Show Console Connection Information
Given the console authentication token for a server, shows the related
connection information.
This method used to be available only for the ``rdp-html5`` console type before
microversion 2.31. Starting from microversion 2.31 it's available for all
console types.
Nova HyperV driver has been removed therefore requests for RDP console connection
information will always return an http 400 error. Starting from microversion 2.31
it's available for all other console types.
Normal response codes: 200
@@ -94,5 +94,5 @@ Response
**Example Show Console Authentication Token**
.. literalinclude:: ../../doc/api_samples/os-console-auth-tokens/get-console-connect-info-get-resp.json
.. literalinclude:: ../../doc/api_samples/os-console-auth-tokens/v2.31/get-console-connect-info-get-resp.json
:language: javascript