osc placement resource-provider trait set

Associate traits with the resource provider identified by {uuid}. All the associated traits will be replaced by the traits specified in the request body.

Normal Response Codes: 200

Error response codes: badRequest(400), itemNotFound(404), conflict(409)

Usage: osc placement resource-provider trait set [OPTIONS] <UUID>

Arguments:

  • <UUID> — uuid parameter for /resource_providers/{uuid}/traits API

Options:

  • --traits <TRAITS> — A list of traits