4.5. Listing resource provider traits

GET /resource_providers/{uuid}/traits

Return a list of traits for the resource provider with the specified ID.

Source: https://docs.openstack.org/api-ref/placement/?expanded=update-resource-provider-traits-detail,list-resource-provider-traits-detail#list-resource-provider-traits

4.5.1. Request

Name In Type Description
uuid path string The uuid of a resource provider. Example

curl -ks -H 'Content-Type: application/json' -H 'OpenStack-API-Version: placement 1.32' -H 'X-Auth-Token: gAAAAA<...>' \

4.5.2. Response

Name In Type Description
traits body array A list of traits.
resource_provider_generation body integer A consistent view marker that assists with the management of concurrent resource provider updates. Status codes Success

Code Reason
200 - OK Request was successful. Error

Code Reason
404 - Not Found The requested resource could not be found. Example

  "traits": [
  "resource_provider_generation": 7936