extra_specs parameters specify the key-value pair of a BMS flavor. For example, baremetal:extBootType specifies the boot device of the BMS. Its value can be LocalDisk (local disk) or Volume (EVS disk). If you want to check whether a flavor supports quick provisioning, you can call this API.
GET /v2.1/{project_id}/flavors/{flavor_id}/os-extra_specs
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. |
flavor_id |
Yes |
Specifies the flavor ID. You can obtain the flavor ID from the BMS console or using the Querying BMS Flavors (Native OpenStack API) API. |
Parameter |
Type |
Description |
---|---|---|
extra_specs |
Object |
Specifies the key-value pair of a BMS flavor.
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | { "extra_specs": { "capabilities:cpu_arch": "x86_64", "baremetal:disk_detail": "SAS 8T", "capabilities:hypervisor_type": "ironic", "baremetal:__support_evs": "true", "baremetal:extBootType": "LocalDisk", "capabilities:board_type": "s2m", "baremetal:net_num": "2", "baremetal:netcard_detail": "2*10GE", "baremetal:cpu_detail": "2*8coreIntel Xeon E5-2667 V43.2GHz", "resource_type": "ironic", "baremetal:memory_detail": "256GB DDR4 RAM(GB)" } } |
Returned Values |
Description |
---|---|
200 |
The request has been successfully processed. |
For details about other returned values, see Status Codes.
See Error Codes.