| 1 |
|
| 2 |
accelerator_request_uuid: |
| 3 |
description: | |
| 4 |
The UUID of one accelerator request. |
| 5 |
in: path |
| 6 |
required: true |
| 7 |
type: string |
| 8 |
attribute_request_uuid: |
| 9 |
description: | |
| 10 |
The UUID of the attribute. |
| 11 |
in: path |
| 12 |
required: true |
| 13 |
type: string |
| 14 |
deployable_uuid: |
| 15 |
description: | |
| 16 |
The UUID of the deployable. |
| 17 |
This must be a valid UUID otherwise API will return 400. |
| 18 |
in: path |
| 19 |
required: true |
| 20 |
type: string |
| 21 |
device_profile_name_or_uuid: |
| 22 |
description: | |
| 23 |
The name or uuid of the device_profile for your accelerator request. |
| 24 |
in: path |
| 25 |
required: true |
| 26 |
type: string |
| 27 |
min_version: 2.2 |
| 28 |
-H "OpenStack-API-Version: 2.2" |
| 29 |
device_profile_uuid_v_21: |
| 30 |
description: | |
| 31 |
The uuid of the device_profile for your accelerator request. |
| 32 |
This must be a valid uuid otherwise api will return 400. |
| 33 |
in: path |
| 34 |
required: true |
| 35 |
type: string |
| 36 |
device_uuid: |
| 37 |
description: | |
| 38 |
The UUID of the device. |
| 39 |
This must be a valid UUID otherwise API will return 400. |
| 40 |
in: path |
| 41 |
required: true |
| 42 |
type: string |
| 43 |
|
| 44 |
attribute_request_depid: |
| 45 |
description: | |
| 46 |
ID of deployable associated with the attribute. |
| 47 |
in: query |
| 48 |
required: true |
| 49 |
type: integer |
| 50 |
device_filters: |
| 51 |
description: | |
| 52 |
A list of filter of ``FilterType`` to get device list by filter. |
| 53 |
in: query |
| 54 |
required: false |
| 55 |
type: array |
| 56 |
device_type: |
| 57 |
description: | |
| 58 |
The type of the device. |
| 59 |
in: query |
| 60 |
required: false |
| 61 |
type: string |
| 62 |
device_vendor: |
| 63 |
description: | |
| 64 |
The vendor ID of the device. |
| 65 |
in: query |
| 66 |
required: false |
| 67 |
type: string |
| 68 |
filters: |
| 69 |
description: | |
| 70 |
A list of FilterType(in json string format). |
| 71 |
in: query |
| 72 |
required: false |
| 73 |
type: string |
| 74 |
hostname: |
| 75 |
description: | |
| 76 |
The hostname of a compute node where the device locates. |
| 77 |
in: query |
| 78 |
required: false |
| 79 |
type: string |
| 80 |
|
| 81 |
|
| 82 |
attribute_deployable_id_req: |
| 83 |
description: | |
| 84 |
ID of deployable associated with the attribute. |
| 85 |
in: body |
| 86 |
required: true |
| 87 |
type: integer |
| 88 |
attribute_deployable_id_resp: |
| 89 |
description: | |
| 90 |
ID of deployable associated with the attribute. |
| 91 |
in: body |
| 92 |
required: true |
| 93 |
type: integer |
| 94 |
attribute_id_resp: |
| 95 |
description: | |
| 96 |
ID of the attribute. |
| 97 |
in: body |
| 98 |
required: true |
| 99 |
type: integer |
| 100 |
attribute_key_req: |
| 101 |
description: | |
| 102 |
The key of the attribute. |
| 103 |
in: body |
| 104 |
required: true |
| 105 |
type: string |
| 106 |
attribute_key_resp: |
| 107 |
description: | |
| 108 |
The key of the attribute. |
| 109 |
in: body |
| 110 |
required: true |
| 111 |
type: string |
| 112 |
attribute_uuid_resp: |
| 113 |
description: | |
| 114 |
The UUID of the attribute. |
| 115 |
in: body |
| 116 |
required: true |
| 117 |
type: string |
| 118 |
attribute_value_req: |
| 119 |
description: | |
| 120 |
The value of the attribute. |
| 121 |
in: body |
| 122 |
required: true |
| 123 |
type: string |
| 124 |
attribute_value_resp: |
| 125 |
description: | |
| 126 |
The value of the attribute. |
| 127 |
in: body |
| 128 |
required: true |
| 129 |
type: string |
| 130 |
attributes: |
| 131 |
description: | |
| 132 |
A list of ``attributes`` objects. |
| 133 |
in: body |
| 134 |
required: true |
| 135 |
type: array |
| 136 |
created: |
| 137 |
description: | |
| 138 |
The date and time when the resource was created. The date and time |
| 139 |
stamp format is `ISO 8601 <https://en.wikipedia.org/wiki/ISO_8601>`_ |
| 140 |
|
| 141 |
:: |
| 142 |
|
| 143 |
CCYY-MM-DDThh:mm:ss±hh:mm |
| 144 |
|
| 145 |
For example, ``2015-08-27T09:49:58-05:00``. The ``±hh:mm`` |
| 146 |
value, if included, is the time zone as an offset from UTC. In |
| 147 |
the previous example, the offset value is ``-05:00``. |
| 148 |
in: body |
| 149 |
required: true |
| 150 |
type: string |
| 151 |
deployable_attributes_list: |
| 152 |
description: | |
| 153 |
A list of dictionaries (in json string format) representing attributes of |
| 154 |
the deployable. |
| 155 |
in: body |
| 156 |
required: true |
| 157 |
type: string |
| 158 |
deployable_bitstream_id: |
| 159 |
description: | |
| 160 |
The UUID of the bitstream corresponding to the deployable. |
| 161 |
in: body |
| 162 |
required: true |
| 163 |
type: string |
| 164 |
deployable_device_id: |
| 165 |
description: | |
| 166 |
ID of device associated with the deployable. |
| 167 |
in: body |
| 168 |
required: true |
| 169 |
type: integer |
| 170 |
deployable_driver_name: |
| 171 |
description: | |
| 172 |
Name of the driver reported. |
| 173 |
in: body |
| 174 |
required: true |
| 175 |
type: string |
| 176 |
deployable_name: |
| 177 |
description: | |
| 178 |
Name of the deployable. |
| 179 |
in: body |
| 180 |
required: true |
| 181 |
type: string |
| 182 |
deployable_num_accelerators: |
| 183 |
description: | |
| 184 |
Number of accelerators spawned by this deployable. |
| 185 |
in: body |
| 186 |
required: true |
| 187 |
type: integer |
| 188 |
deployable_parent_id: |
| 189 |
description: | |
| 190 |
The parent_id refers to the id of the deployable's parent node. |
| 191 |
in: body |
| 192 |
required: true |
| 193 |
type: string |
| 194 |
deployable_root_id: |
| 195 |
description: | |
| 196 |
The root_id refers to the id of the deployable's root to |
| 197 |
for nested tree. |
| 198 |
in: body |
| 199 |
required: true |
| 200 |
type: string |
| 201 |
deployable_rp_uuid: |
| 202 |
description: | |
| 203 |
UUID of the resource provider corresponding to this deployable. |
| 204 |
in: body |
| 205 |
required: true |
| 206 |
type: string |
| 207 |
deployable_uuid_resp: |
| 208 |
description: | |
| 209 |
The UUID of the deployable. |
| 210 |
in: body |
| 211 |
required: true |
| 212 |
type: string |
| 213 |
deployables: |
| 214 |
description: | |
| 215 |
This is a list of dictionaries, with each dictionary representing |
| 216 |
a deployable object. |
| 217 |
in: body |
| 218 |
required: true |
| 219 |
type: array |
| 220 |
device_model_resp: |
| 221 |
description: | |
| 222 |
The model of the device. |
| 223 |
in: body |
| 224 |
required: true |
| 225 |
type: string |
| 226 |
device_prof_description_req: |
| 227 |
description: | |
| 228 |
A free form description of the device profile. Limited to 255 characters |
| 229 |
in length. |
| 230 |
type: string |
| 231 |
in: body |
| 232 |
required: false |
| 233 |
device_prof_groups_req: |
| 234 |
description: | |
| 235 |
This is a list of dictionaries to describe requested accelerator resource |
| 236 |
by users, where users use keys to describe the resource_classes or traits |
| 237 |
and values to indicate its quantity or property. This is intentionally |
| 238 |
similar to extra_specs in nova flavor, and uses the same keywords for |
| 239 |
resources and traits. The key-value pair can either be a resource/trait |
| 240 |
or a Cyborg property. Cyborg property is of the form |
| 241 |
"accel:<key>": "<value>". The valid key-value pairs can be found |
| 242 |
`below <https://opendev.org/openstack/cyborg-specs/src/branch/master/specs/train/implemented/device-profiles.rst#valid-accel-keys>`_. |
| 243 |
in: body |
| 244 |
required: true |
| 245 |
type: a list of dictionaries |
| 246 |
device_prof_groups_resp: |
| 247 |
description: | |
| 248 |
This is a list of dictionaries to describe returned accelerator resource |
| 249 |
by users, where users use keys to describe the resource_classes or traits |
| 250 |
and values to indicate its quantity or property. This is intentionally |
| 251 |
similar to extra_specs in nova flavor, and uses the same keywords for |
| 252 |
resources and traits. The key-value pair can either be a resource/trait |
| 253 |
or a Cyborg property. Cyborg property is of the form |
| 254 |
"accel:<key>": "<value>". The valid key-value pairs can be found |
| 255 |
`below <https://opendev.org/openstack/cyborg-specs/src/branch/master/specs/train/implemented/device-profiles.rst#valid-accel-keys>`_. |
| 256 |
in: body |
| 257 |
required: true |
| 258 |
type: a list of dictionaries |
| 259 |
device_prof_name_req: |
| 260 |
description: | |
| 261 |
The display name of a device profile. |
| 262 |
in: body |
| 263 |
required: true |
| 264 |
type: string |
| 265 |
device_prof_name_resp: |
| 266 |
description: | |
| 267 |
The display name of a device profile. |
| 268 |
in: body |
| 269 |
required: true |
| 270 |
type: string |
| 271 |
device_profile: |
| 272 |
description: | |
| 273 |
A list of ``device profile`` objects. |
| 274 |
in: body |
| 275 |
required: true |
| 276 |
type: array |
| 277 |
device_profile_description_resp: |
| 278 |
description: | |
| 279 |
The display description of a device profile. |
| 280 |
in: body |
| 281 |
required: true |
| 282 |
type: string |
| 283 |
device_profile_name: |
| 284 |
description: | |
| 285 |
The display name of a device profile. |
| 286 |
in: body |
| 287 |
required: true |
| 288 |
type: string |
| 289 |
device_profile_uuid_resp: |
| 290 |
description: | |
| 291 |
The uuid of the device_profile. |
| 292 |
in: body |
| 293 |
required: true |
| 294 |
type: string |
| 295 |
device_profiles: |
| 296 |
description: | |
| 297 |
A list of ``device profiles`` objects. |
| 298 |
in: body |
| 299 |
required: true |
| 300 |
type: array |
| 301 |
device_rp_uuid_bind_unbind_req: |
| 302 |
description: | |
| 303 |
UUID of the target accelerator (resource provider) for bind or unbind of |
| 304 |
one accelerator request. |
| 305 |
in: body |
| 306 |
required: true |
| 307 |
type: string |
| 308 |
device_status_resp: |
| 309 |
description: | |
| 310 |
The status of device. One of maintaining or enabled. |
| 311 |
in: body |
| 312 |
required: true |
| 313 |
type: string |
| 314 |
device_std_board_info_resp: |
| 315 |
description: | |
| 316 |
The standard board information of the device. |
| 317 |
in: body |
| 318 |
required: true |
| 319 |
type: string |
| 320 |
device_type_resp: |
| 321 |
description: | |
| 322 |
Type of the device. |
| 323 |
in: body |
| 324 |
required: true |
| 325 |
type: string |
| 326 |
device_uuid_resp: |
| 327 |
description: | |
| 328 |
The UUID of the device. |
| 329 |
in: body |
| 330 |
required: true |
| 331 |
type: string |
| 332 |
device_vendor_board_info_resp: |
| 333 |
description: | |
| 334 |
The vendor board information of the device. |
| 335 |
in: body |
| 336 |
required: true |
| 337 |
type: string |
| 338 |
device_vendor_resp: |
| 339 |
description: | |
| 340 |
The vendor of the device. |
| 341 |
in: body |
| 342 |
required: true |
| 343 |
type: string |
| 344 |
devices: |
| 345 |
description: | |
| 346 |
A list of ``devices`` objects. |
| 347 |
in: body |
| 348 |
required: true |
| 349 |
type: array |
| 350 |
hostname_bind_unbind_req: |
| 351 |
description: | |
| 352 |
The name of the target host for bind or unbind of one accelerator request. |
| 353 |
in: body |
| 354 |
required: true |
| 355 |
type: string |
| 356 |
hostname_resp: |
| 357 |
description: | |
| 358 |
The host name of the device. |
| 359 |
in: body |
| 360 |
required: true |
| 361 |
type: string |
| 362 |
instance_project_id_bind_unbind_req: |
| 363 |
description: | |
| 364 |
Project id of the target instance for bind or unbind of one accelerator request. |
| 365 |
in: body |
| 366 |
required: false |
| 367 |
type: string |
| 368 |
min_version: 2.1 |
| 369 |
instance_uuid_bind_unbind_req: |
| 370 |
description: | |
| 371 |
UUID of the target instance for bind or unbind of one accelerator request. |
| 372 |
in: body |
| 373 |
required: true |
| 374 |
type: string |
| 375 |
links: |
| 376 |
description: | |
| 377 |
Links to the resources in question. |
| 378 |
in: body |
| 379 |
required: true |
| 380 |
type: array |
| 381 |
updated: |
| 382 |
description: | |
| 383 |
The date and time when the resource was updated. The date and time |
| 384 |
stamp format is `ISO 8601 <https://en.wikipedia.org/wiki/ISO_8601>`_ |
| 385 |
|
| 386 |
:: |
| 387 |
|
| 388 |
CCYY-MM-DDThh:mm:ss±hh:mm |
| 389 |
|
| 390 |
For example, ``2015-08-27T09:49:58-05:00``. The ``±hh:mm`` |
| 391 |
value, if included, is the time zone as an offset from UTC. In |
| 392 |
the previous example, the offset value is ``-05:00``. |
| 393 |
in: body |
| 394 |
required: true |
| 395 |
type: string |