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
,serial
andmks
. The protocolmks
is added since Microversion2.8
Possible values:
serial
,spice
,vnc
-
--type <TYPE>
— The type of remote console. The valid values arenovnc
,spice-html5
,serial
, andwebmks
. The typewebmks
is added since Microversion2.8
Possible values:
novnc
,serial
,spice-html5
,xvpvnc