The designateclient.shell Module

The designateclient.shell Module

class designateclient.shell.DesignateShell[source]

Bases: cliff.app.App

CONSOLE_MESSAGE_FORMAT = '%(levelname)s: %(message)s'
DEFAULT_VERBOSE_LEVEL = 0
build_option_parser(description, version)[source]
configure_logging()[source]

Configure logging for the app

Cliff sets some defaults we don’t want so re-work it a bit

initialize_app(argv)[source]
run(argv)[source]
designateclient.shell.env(*vars, **kwargs)[source]

Search for the first defined of possibly many env vars

Returns the first environment variable defined in vars, or returns the default defined in kwargs.

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.

python-designateclient 2.7.1.dev6