Unified config handling for client libraries and programs
Go to file
Hervé Beraud aa10eb7bcb Cap jsonschema 3.2.0 as the minimal version
Previous versions of jsonschema (<3.2.0) doesn't support python 3.8 [1].
Python 3.8 is part of the victoria supported runtimes [2] so we now force
to use jsonschema version 3.2.0 to avoid issues, remove ambiguity and ensure
that everything works with python 3 in general.

[1] https://github.com/Julian/jsonschema/pull/627
[2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria

Change-Id: I8e91b4b19d6d71e052061074ad927623a2892830
2020-05-26 22:03:14 +02:00
doc Fix broken link to openstacksdk 2019-07-30 19:57:32 +02:00
os_client_config Use unittest.mock instead of third party mock 2020-03-13 13:50:53 -05:00
releasenotes Update master for stable/ussuri 2020-04-02 18:17:28 +00:00
tools Fix the conflict of urlparse between python2 and python3 2018-10-31 17:08:45 +08:00
.coveragerc Change ignore-errors to ignore_errors 2015-09-21 14:41:36 +00:00
.gitignore Updates for stestr 2017-09-14 16:57:42 -05:00
.gitreview OpenDev Migration Patch 2019-04-19 19:30:03 +00:00
.mailmap Initial Cookiecutter Commit. 2014-09-20 16:16:13 -07:00
.stestr.conf Updates for stestr 2017-09-14 16:57:42 -05:00
.zuul.yaml Stop testing python2.7 2019-10-04 14:39:19 +02:00
CONTRIBUTING.rst Workflow documentation is now in infra-manual 2014-12-05 03:30:46 +00:00
HACKING.rst Update the documentation link for doc migration 2017-08-07 15:10:42 +08:00
LICENSE Initial Cookiecutter Commit. 2014-09-20 16:16:13 -07:00
README.rst Update for opendev 2019-04-21 13:09:50 +00:00
lower-constraints.txt Cap jsonschema 3.2.0 as the minimal version 2020-05-26 22:03:14 +02:00
requirements.txt Replace guts with openstack.config 2018-04-27 08:42:17 -05:00
setup.cfg Cleanup py27 support 2020-04-17 12:04:22 +00:00
setup.py Cleanup py27 support 2020-04-17 12:04:22 +00:00
test-requirements.txt Cap jsonschema 3.2.0 as the minimal version 2020-05-26 22:03:14 +02:00
tox.ini Merge "Stop testing python2.7" 2019-10-14 21:10:09 +00:00

README.rst

os-client-config

image

Warning

os-client-config has been superceded by openstacksdk. While os-client-config will continue to exist, it is highly recommended that users transition to using openstacksdk directly.

os-client-config is a library for collecting client configuration for using an OpenStack cloud in a consistent and comprehensive manner. It will find cloud config for as few as 1 cloud and as many as you want to put in a config file. It will read environment variables and config files, and it also contains some vendor specific default values so that you don't have to know extra info to use OpenStack

  • If you have a config file, you will get the clouds listed in it
  • If you have environment variables, you will get a cloud named envvars
  • If you have neither, you will get a cloud named defaults with base defaults

Source