osc compute server remote-console create26
The API provides a unified request for creating a remote console. The user can get a URL to connect the console from this API. The URL includes the token which is used to get permission to access the console. Servers may support different console protocols. To return a remote console using a specific protocol, such as VNC, set the protocol
parameter to vnc
.
Normal response codes: 200
Error response codes: badRequest(400), unauthorized(401), forbidden(403), itemNotFound(404), conflict(409), notImplemented(501)
Usage: osc compute server remote-console create26 --protocol <PROTOCOL> --type <TYPE> <SERVER_ID>
Arguments:
<SERVER_ID>
— server_id parameter for /v2.1/servers/{server_id}/remote-consoles API
Options:
-
--protocol <PROTOCOL>
— The protocol of remote console. The valid values arevnc
,spice
,rdp
,serial
andmks
. The protocolmks
is added since Microversion2.8
. The protocolrdp
requires the Hyper-V driver which was removed in the 29.0.0 (Caracal) releasePossible values:
rdp
,serial
,spice
,vnc
-
--type <TYPE>
— The type of remote console. The valid values arenovnc
,rdp-html5
,spice-html5
,spice-direct
,serial
, andwebmks
. The typewebmks
was added in Microversion2.8
and the typespice-direct
was added in Microversion2.99
. The typerdp-html5
requires the Hyper-V driver which was removed in the 29.0.0 (Caracal) releasePossible values:
novnc
,rdp-html5
,serial
,spice-html5
,xvpvnc