forked from docs/doc-exports
Reviewed-by: Pristromskaia, Margarita <margarita.pristromskaia@t-systems.com> Co-authored-by: wanghuijuan738 <wanghuijuan738@huawei.com> Co-committed-by: wanghuijuan738 <wanghuijuan738@huawei.com>
16 KiB
16 KiB
Obtaining a Remote Login Address
Function
This API is used to obtain the address for remotely logging in to a BMS.
URL
POST /v2.1/{project_id}/servers/{server_id}/action
Table 1 lists the parameters.
Parameter |
Mandatory |
Description |
|---|---|---|
project_id |
Yes |
Specifies the project ID. For how to obtain the project ID, see Obtaining Required Information. |
server_id |
Yes |
Specifies the BMS ID. You can obtain the BMS ID from the BMS console or by calling the API Querying BMSs. |
Request Message
- Request parameters
Parameter
Mandatory
Type
Description
os-getSerialConsole
Yes
Object
Specifies the action to obtain a BMS remote login address. For details, see Table 2.
- Example request
Response Message
Returned Values
Normal values
Returned Values |
Description |
|---|---|
200 |
The request has been successfully processed. |
For details about other returned values, see Status Codes.
Error Codes
See Error Codes.
Parent topic: BMS Status Management (OpenStack Nova APIs)