commit c1865bafb18f213be19a0b2c7bfca6e8f8e27ca1
Author: Harald Jensås <email address hidden>
Date: Wed May 29 09:34:52 2019 +0200
Fix custom network.name_lower in krb-service-principals
The lowercase network names was hardcoded to 'external',
'internal_api' and 'storage_mgmt'. Use jinja to get the
network.name_lower value from network_data.yaml instead
so that users can customize the lowercase network name.
Handle service_net_map_replace in the jinja2 logic so that
service_net_map_replace works for both default networks and
custom networks.
Enables a user either to change 'name_lower' of a network
and overriding the ServiceNetMap accordingly, as well as
user changeing 'name_lower' and use 'service_net_map_replace'
so that the default ServiceNetMap can be used.
Closes-Bug: #1830852
Change-Id: Ie9bd482782ff770d90dfc38a585237812ed81c06
(cherry picked from commit c0fcf8674d5f7c5c0cec1179fa56ef4536d5c5fb)
(cherry picked from commit f708ab7a827cc0db211b4709447f77126087347e)
Reviewed: https:/ /review. opendev. org/662041 /git.openstack. org/cgit/ openstack/ tripleo- heat-templates/ commit/ ?id=c1865bafb18 f213be19a0b2c7b fca6e8f8e27ca1
Committed: https:/
Submitter: Zuul
Branch: stable/stein
commit c1865bafb18f213 be19a0b2c7bfca6 e8f8e27ca1
Author: Harald Jensås <email address hidden>
Date: Wed May 29 09:34:52 2019 +0200
Fix custom network.name_lower in krb-service- principals
The lowercase network names was hardcoded to 'external', name_lower value from network_data.yaml instead
'internal_api' and 'storage_mgmt'. Use jinja to get the
network.
so that users can customize the lowercase network name.
Handle service_ net_map_ replace in the jinja2 logic so that net_map_ replace works for both default networks and
service_
custom networks.
Enables a user either to change 'name_lower' of a network net_map_ replace'
and overriding the ServiceNetMap accordingly, as well as
user changeing 'name_lower' and use 'service_
so that the default ServiceNetMap can be used.
Closes-Bug: #1830852 0d90dfc38a58523 7812ed81c06 c0cec1179fa56ef 4536d5c5fb) b211b4709447f77 126087347e)
Change-Id: Ie9bd482782ff77
(cherry picked from commit c0fcf8674d5f7c5
(cherry picked from commit f708ab7a827cc0d