An oslo.config enabled dogpile.cache.
Go to file
Takashi Kajinami f1950fdaa9 Fail if tls_enabled is True but backend does not support it
The tls_enabled option works properly only for the following backends.
 - oslo_cache.memcache_pool
 - dogpile.cache.bmemcache
 - dogpile.cache.pymemcache

Currently the tls options are all ignored in case a different backend
is used, but this does not allow users to notice that TLS is not
enabled contrary to their expectations.

This introduces the validation to ensure an appropriate backend is used
when tls is enabled.

NOTE:
The oslo_cache.memcache_pool bakcend supports tls_enabled only when
sasl_enabled is true, which can be fixed separately.

Change-Id: Ib967bf8cb21fb97fff94a6d6cb5983374e4798eb
2024-02-01 02:34:03 +09:00
doc Remove unnecessary unicode prefixes 2022-04-19 15:07:53 +08:00
oslo_cache Fail if tls_enabled is True but backend does not support it 2024-02-01 02:34:03 +09:00
playbooks/tests/functional Refactoring functional tests based on standard usages 2020-05-28 14:34:47 +02:00
releasenotes Add a new option to enforce the OpenSSL FIPS mode 2024-01-23 10:55:17 +01:00
tools Avoid tox_install.sh for constraints support 2019-05-04 07:02:41 +02:00
.coveragerc Fix wrong path in coveragerc 2023-12-19 20:48:55 +09:00
.gitignore Adding functional tests 2020-05-14 14:45:12 +02:00
.gitreview OpenDev Migration Patch 2019-04-19 19:29:50 +00:00
.mailmap Initial commit from oslo cookiecutter template 2015-04-15 11:22:01 -05:00
.pre-commit-config.yaml pre-commit: Integrate bandit 2024-01-30 13:41:34 +09:00
.stestr.conf Adding functional tests 2020-05-14 14:45:12 +02:00
.zuul.yaml Moves supported python runtimes from version 3.8 to 3.10 2023-04-10 12:57:38 +09:00
CONTRIBUTING.rst Align contributing doc with oslo's policy 2020-05-04 18:18:10 +02:00
HACKING.rst update the doc URLs 2017-07-11 21:51:41 +08:00
LICENSE Initial commit from oslo cookiecutter template 2015-04-15 11:22:01 -05:00
README.rst Replace git.openstack.org URLs with opendev.org URLs. 2019-05-09 09:15:16 +02:00
bindep.txt Add Memcached functional tests to gate 2020-08-20 14:41:47 +02:00
requirements.txt Bump hacking 2024-01-16 22:25:37 +09:00
setup.cfg Update python classifier in setup.cfg 2024-01-11 15:36:11 -08:00
setup.py Cleanup py27 support 2022-12-31 15:32:06 +08:00
test-requirements.txt pre-commit: Integrate bandit 2024-01-30 13:41:34 +09:00
tox.ini pre-commit: Integrate bandit 2024-01-30 13:41:34 +09:00

README.rst

Team and repository tags

image

oslo.cache

Latest Version

Downloads

oslo.cache aims to provide a generic caching mechanism for OpenStack projects by wrapping the dogpile.cache library. The dogpile.cache library provides support memoization, key value storage and interfaces to common caching backends such as Memcached.