os_client_config.
OpenStackConfig
(config_files=None, vendor_files=None, override_defaults=None, force_ipv4=None, envvar_prefix=None, secure_files=None, pw_func=None, session_constructor=None, app_name=None, app_version=None, load_yaml_config=True, load_envvars=True)¶auth_config_hook
(config)¶Allow examination of config values before loading auth plugin
OpenStackClient will override this to perform additional checks on auth_type.
get_extra_config
(key, defaults=None)¶Fetch an arbitrary extra chunk of config, laying in defaults.
Parameters: |
|
---|
get_one
(cloud=None, validate=True, argparse=None, **kwargs)¶Retrieve a single CloudRegion and merge additional options
Parameters: |
|
---|---|
Returns: | openstack.config.cloud_region.CloudRegion |
Raises: | keystoneauth1.exceptions.MissingRequiredOptions on missing required auth parameters |
get_one_cloud
(cloud=None, validate=True, argparse=None, **kwargs)¶Retrieve a single CloudRegion and merge additional options
Parameters: |
|
---|---|
Returns: | openstack.config.cloud_region.CloudRegion |
Raises: | keystoneauth1.exceptions.MissingRequiredOptions on missing required auth parameters |
get_one_cloud_osc
(cloud=None, validate=True, argparse=None, **kwargs)¶Retrieve a single CloudRegion and merge additional options
Parameters: |
|
---|---|
Raises: | keystoneauth1.exceptions.MissingRequiredOptions on missing required auth parameters |
magic_fixes
(config)¶Perform the set of magic argument fixups
option_prompt
(config, p_opt)¶Prompt user for option that requires a value
register_argparse_arguments
(parser, argv, service_keys=None)¶Register all of the common argparse options needed.
Given an argparse parser, register the keystoneauth Session arguments, the keystoneauth Auth Plugin Options and os-cloud. Also, peek in the argv to see if all of the auth plugin options should be registered or merely the ones already configured.
Parameters: |
|
---|
:raises exceptions.ConfigException if an invalid auth-type is requested
set_one_cloud
(config_file, cloud, set_config=None)¶Set a single cloud configuration.
Parameters: |
|
---|
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.