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)[source]¶
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.