OpenStackClient plugin for Bare Metal service.
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: argparse.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.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.