Refactor memcached_servers

This patch aims to add a prefix for memcached_server
on each role to give the ability for deployers to
override the location of memcached cluster. I.e users
wants to create a single memcached cluster with k8s
for each service.

We also add pymemcache based on [1]

[1] https://review.opendev.org/711429

Change-Id: I1f808534cb115224c17eb82791b2178172547216
This commit is contained in:
Guilherme Steinmüller 2020-03-13 19:31:03 +00:00
parent e3780ce474
commit c474abfc59
3 changed files with 7 additions and 1 deletions

View File

@ -332,6 +332,11 @@ neutron_plugin_base:
- router
- metering
###
### Memcache override
###
neutron_memcached_servers: "{{ memcached_servers }}"
###
### ML2 Plugin Configuration
###

View File

@ -181,7 +181,7 @@ username = {{ neutron_service_user_name }}
password = {{ neutron_service_password }}
region_name = {{ keystone_service_region }}
memcached_servers = {{ memcached_servers }}
memcached_servers = {{ neutron_memcached_servers }}
token_cache_time = 300

View File

@ -33,6 +33,7 @@ neutron_pip_packages:
- neutron
- osprofiler
- PyMySQL
- pymemcache
- python-memcached
- systemd-python