osc_lib.shell Moduleosc_lib.shell Module¶Command-line interface to the OpenStack APIs
osc_lib.shell.OpenStackShell(description=None, version=None, command_manager=None, stdin=None, stdout=None, stderr=None, interactive_app_factory=None, deferred_help=False)¶Bases: cliff.app.App
CONSOLE_MESSAGE_FORMAT = ‘%(levelname)s: %(name)s %(message)s’¶build_option_parser(description, version)¶clean_up(cmd, result, err)¶close_profile()¶configure_logging()¶Configure logging for the app.
init_profile()¶initialize_app(argv)¶Global app init bits:
interact()¶log = <logging.Logger object>¶prepare_to_run_command(cmd)¶Set up auth and API versions
run(argv)¶run_subcommand(argv)¶timing_data = []¶osc_lib.shell.main(argv=None)¶osc_lib.shell.prompt_for_password(prompt=None)¶Prompt user for a password
Prompt for a password if stdin is a tty.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.