Add more cache backend options

After using list for the cache backend option, some
options are not supported any more.

This patch added them back.

Change-Id: Ia6993425408dd7cb172752a6b8b3aeef8eb0a97a
This commit is contained in:
wangxiyuan 2017-10-25 16:27:28 +08:00
parent bcabe943fe
commit 225c5443c2
1 changed files with 6 additions and 0 deletions

View File

@ -36,9 +36,15 @@ FILE_OPTIONS = {
cfg.StrOpt('backend', default=_DEFAULT_BACKEND,
choices=['oslo_cache.memcache_pool',
'oslo_cache.dict',
'oslo_cache.mongo',
'oslo_cache.etcd3gw',
'dogpile.cache.memcached',
'dogpile.cache.pylibmc',
'dogpile.cache.bmemcached',
'dogpile.cache.dbm',
'dogpile.cache.redis',
'dogpile.cache.memory',
'dogpile.cache.memory_pickle',
'dogpile.cache.null'],
help='Cache backend module. For eventlet-based or '
'environments with hundreds of threaded servers, Memcache '