The ironicclient.v1.shell Module

The ironicclient.v1.shell Module

ironicclient.v1.shell.enhance_parser(parser, subparsers, cmd_mapper)[source]

Enhance parser with API version specific options.

Take a basic (nonversioned) parser and enhance it with commands and options specific for this version of API.

Parameters:
  • parser – top level parser
  • subparsers – top level parser’s subparsers collection where subcommands will go
Creative Commons Attribution 3.0 License

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