Remove network_virtual_ips hard-coded name filter
Remove the filtering of network_virtual_ips based on the hard-coded network names. The depends-on does similar filtering by using the service_net_map instead. This should allow better support for custom network names, custom ServiceNetMap and use of service_net_map_replace in network data. Related-Bug: #1946239 Depends-On: I9c5d681c266db1e5048a1be6557c20abd5a07f7b Change-Id: I1c904d2f09e4679e50713d344abdff4fd830132a
This commit is contained in:
parent
fca797a8cb
commit
9e30f281fb
@ -410,13 +410,9 @@ outputs:
|
||||
ip_address: {get_param: [NetVipMap, ctlplane]}
|
||||
index: 1
|
||||
{%- for network in networks if network.vip|default(false) and network.enabled|default(true) %}
|
||||
# External virtual ip is currently being handled separately as public_virtual_ip.
|
||||
# Likewise, optional StorageNFS virtual ip is handled separately as ganesha_vip.
|
||||
{%- if network.name != 'External' and network.name != 'StorageNFS' %}
|
||||
{{network.name_lower}}:
|
||||
ip_address: {get_param: [NetVipMap, {get_param: {{network.name}}NetName}]}
|
||||
index: {{loop.index + 1}}
|
||||
{%- endif %}
|
||||
{%- endfor %}
|
||||
cloud_names: {get_param: CloudNames}
|
||||
enable_internal_tls: {get_param: EnableInternalTLS}
|
||||
|
Loading…
Reference in New Issue
Block a user