openstackclient package

Subpackages

Submodules

openstackclient.i18n module

openstackclient.shell module

Command-line interface to the OpenStack APIs

class openstackclient.shell.OpenStackShell

Bases: cliff.app.App

CONSOLE_MESSAGE_FORMAT = '%(levelname)s: %(name)s %(message)s'
build_option_parser(description, version)
clean_up(cmd, result, err)
configure_logging()

Configure logging for the app.

initialize_app(argv)

Global app init bits:

  • set up API versions
  • validate authentication info
  • authenticate against Identity if requested
log = <logging.Logger object at 0x7f5e14a2a610>
prepare_to_run_command(cmd)

Set up auth and API versions

run(argv)
timing_data = []
openstackclient.shell.main(argv=['-b', 'html', 'doc/source', '/build/python-openstackclient-RCsRF7/python-openstackclient-1.7.0/debian/python-openstackclient/usr/share/doc/python-openstackclient/html'])
openstackclient.shell.prompt_for_password(prompt=None)

Prompt user for a password

Prompt for a password if stdin is a tty.

Module contents

Table Of Contents

This Page