Class to use OpenStack official python client CLI’s with auth
username (string) – The username to authenticate with
password (string) – The password to authenticate with
tenant_name (string) – The name of the tenant to use with the client calls
uri (string) – The auth uri for the OpenStack Deployment
cli_dir (string) – The path where the python client binaries are installed. defaults to /usr/bin
insecure (boolean) – if True, –insecure is passed to python client binaries.
prefix (string) – prefix to insert before commands
user_domain_name (string) – User’s domain name
user_domain_id (string) – User’s domain ID
project_domain_name (string) – Project’s domain name
project_domain_id (string) – Project’s domain ID
identity_api_version (string) – Version of the Identity API
Base test class for testing the OpenStack client CLI interfaces.
Executes specified command for the given action.
cmd (string) – command to be executed
action (string) – string of the cli command to run
flags (string) – any optional cli flags to use
params (string) – string of any optional positional args to use
fail_ok (boolean) – boolean if True an exception is not raised when the cli return code is non-zero
merge_stderr (boolean) – boolean if True the stderr buffer is merged into stdout
cli_dir (string) – The path where the cmd can be executed
prefix (string) – prefix to insert before command
Collection of utilities for parsing CLI clients output.
Return dict with details of first item (table) found in output.
Return list of dicts with item details from cli output tables.
If with_label is True, key ‘__label’ is added to each items dict. For more about ‘label’ see OutputParser.tables().
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.