Files
openstacksdk/releasenotes/notes/compute-add-validate-console-auth-token-999b790aec83de85.yaml
Michael Still 446c47ad74 Add support for spice-direct console types.
This patch adds support for Nova microversion 2.99 which exposes the new
spice-direct console type and the pre-existing /os-console-auth-token/ API.

+----------+----------------------------------------------------------+
| Field    | Value                                                    |
+----------+----------------------------------------------------------+
| protocol | spice                                                    |
| type     | spice-direct                                             |
| url      | http://127.0.0.1:13002/nova?token=f78009fb-41ad-...      |
+----------+----------------------------------------------------------+

+----------------------+--------------------------------------+
| Field                | Value                                |
+----------------------+--------------------------------------+
| host                 | 127.0.0.1                            |
| instance_uuid        | f2477018-aa93-...                    |
| internal_access_path | None                                 |
| port                 | 5900                                 |
| tls_port             | 5901                                 |
+----------------------+--------------------------------------+

Change-Id: I97e3415ec3110374cf95d244cd75bcdf6c5e7871
2025-04-03 20:36:31 +11:00

14 lines
645 B
YAML

---
features:
- |
Add the ``validate_console_auth_token`` method to the Compute proxy. This
method uses the pre-existing ``os-console-auth-tokens`` OpenStack Compute
API to validate a console access token as produced by
``get_console_url``. In addition, the method returns hypervisor connection
information for the console (hypervisor IP and port numbers), as this call
is generally used by the console proxies which users connect to.
By default, callers of this method must have ``admin`` access to the
OpenStack Compute API due to the privileged nature of the hypervisor
connection information returned.