# ironicclient.osc.plugin module

OpenStackClient plugin for Bare Metal service.

class ironicclient.osc.plugin.ReplaceLatestVersion(option_strings, dest, nargs=None, const=None, default=None, type=None, choices=None, required=False, help=None, metavar=None, deprecated=False)

  Bases: `Action`

  Replaces latest keyword by last known version.

  OSC cannot accept the literal “latest” as a supported API version as it breaks the major version detection (OSC tries to load configuration options from setuptools entrypoint openstack.baremetal.vlatest). This action replaces “latest” with the latest known version, and sets the global OS_BAREMETAL_API_LATEST flag appropriately.

ironicclient.osc.plugin.build_option_parser(parser)

  Hook to add global options.

ironicclient.osc.plugin.make_client(instance)

  Returns a baremetal service client.

this page last updated: 2026-03-26 21:20:19

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.

found an error? report a bug