Skip to content

orca trait

Placement traits (OSC-parity top-level).

The reference below is generated from the live CLI by mkdocs-click. It always reflects the version installed.

orca trait

Placement traits — OSC parity.

Usage:

orca trait [OPTIONS] COMMAND [ARGS]...

Options:

Name Type Description Default
--help boolean Show this message and exit. False

Subcommands

  • create: Create a custom trait (must start with CUSTOM_).
  • delete: Delete a custom trait.
  • list: List traits.
  • show: Show a trait (existence check — Placement traits have no body).

orca trait create

Create a custom trait (must start with CUSTOM_).

Usage:

orca trait create [OPTIONS] NAME

Options:

Name Type Description Default
--help boolean Show this message and exit. False

orca trait delete

Delete a custom trait.

Usage:

orca trait delete [OPTIONS] NAME

Options:

Name Type Description Default
--yes, -y boolean Skip confirmation. False
--help boolean Show this message and exit. False

orca trait list

List traits.

Usage:

orca trait list [OPTIONS]

Options:

Name Type Description Default
--name text Filter traits by name prefix. None
--associated boolean Only traits associated with a resource provider. False
--noindent boolean Disable JSON indentation. False
--max-width integer Maximum table width (0 = unlimited). None
--fit-width boolean Fit table to terminal width. False
--column, -c text Column to include (repeatable). Shows all if omitted. Sentinel.UNSET
--format, -f choice (table | json | value) Output format. table
--help boolean Show this message and exit. False

orca trait show

Show a trait (existence check — Placement traits have no body).

Equivalent to openstack trait show. Raises OrcaCLIError if the trait does not exist.

Usage:

orca trait show [OPTIONS] NAME

Options:

Name Type Description Default
--help boolean Show this message and exit. False