osc placement resource-class create

Create a new resource class. The new class must be a custom resource class, prefixed with CUSTOM_ and distinct from the standard resource classes.

Normal Response Codes: 201

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

A 400 BadRequest response code will be returned if the resource class does not have prefix CUSTOM_.

A 409 Conflict response code will be returned if another resource class exists with the provided name.

Usage: osc placement resource-class create --name <NAME>

Options:

  • --name <NAME> — The name of one resource class