Files
cbc263f6bc741734c4da11f8725e38a59c02f0e7
nova /api-ref /source
Michael Still cbc263f6bc libvirt: allow direct SPICE connections to qemu
This patch adds a new console type, "spice-direct", which provides
the connection information required to talk the native SPICE protocol
directly to qemu on the hypervisor. This is intended to be fronted
by a proxy which will handle authentication separately.
A new microversion is introduced which adds the type "spice-direct"
to the existing "spice" protocol.
An example request:
POST /servers/<uuid>/remote-consoles
{
 "remote_console": {
 "protocol": "spice",
 "type": "spice-direct"
 }
}
An example response:
{
 "remote_console": {
 "protocol": "spice",
 "type": "spice-direct",
 "url": "http://localhost:13200/nova?token=XXX";
 }
}
This token can then be used to lookup connection details for the
console using a request like this:
GET /os-console-auth-tokens/<consoletoken>
Which returns something like this:
{
 "console": {
 "instance_uuid": <uuid>,
 "host": <hypervisor>,
 "port": <a TCP port number>,
 "tls_port": <another TCP port number>,
 "internal_access_path": null
 }
}
APIImpact
Change-Id: I1e701cbabc0e2c435685e31465159eec09e3b1a0
2025年02月22日 08:25:38 +11:00
..
2023年10月02日 11:11:23 +01:00
2017年06月06日 13:34:17 +00:00
2019年07月05日 13:24:18 +09:00
2022年09月17日 17:40:52 +00:00
2024年11月27日 14:09:42 +01:00
2016年11月11日 14:01:51 -05:00
2017年03月31日 06:19:01 +00:00
2020年09月11日 14:10:32 +01:00
2019年07月22日 19:17:28 +02:00
2019年11月22日 16:09:36 +00:00
2020年01月22日 13:50:30 +00:00
2018年07月18日 22:23:45 -04:00
2017年11月28日 11:07:36 +08:00
2019年11月18日 16:25:47 +00:00
2019年07月22日 19:17:28 +02:00
2019年07月22日 19:17:28 +02:00
2016年11月11日 14:01:51 -05:00
2019年07月22日 19:17:28 +02:00
2016年11月29日 12:31:46 -05:00
2019年07月22日 19:17:28 +02:00