Fix jinja2 for VipSubnetMapDefaults redis and ovs_dbs
The current jinja2 code results in the same value no matter what is in _service_nets so it really has no effect. We can just as well hard-code the values, which is what this change does. Change-Id: I2b212bec170cc93c40f81050d11f696275d8b1ea
This commit is contained in:
parent
cada48fc30
commit
b842a58e2b
|
@ -132,9 +132,8 @@ parameters:
|
|||
{%- for network in networks if network.vip|default(false) %}
|
||||
{{network.name}}: {{network.name_lower}}_subnet
|
||||
{%- endfor %}
|
||||
# FIXME(hjensas): This will return the same value no matter what ...
|
||||
redis: {{ _service_nets.get('internal_api', 'internal_api') }}_subnet
|
||||
ovn_dbs: {{ _service_nets.get('internal_api', 'internal_api') }}_subnet
|
||||
redis: internal_api_subnet
|
||||
ovn_dbs: internal_api_subnet
|
||||
type: json
|
||||
|
||||
# We define mappings to work around names that break when doing the
|
||||
|
|
Loading…
Reference in New Issue