Merge "Set ganesha_vip when no StoragetNFS network" into stable/victoria
This commit is contained in:
commit
92b72e3362
|
@ -20,6 +20,11 @@
|
|||
{% if network == 'StorageNFS' %}
|
||||
{% set _ = vip_data.__setitem__('ganesha_vip', (net_vip_map[networks['StorageNFS']['name_lower']])) %}
|
||||
{% endif %}
|
||||
{% if not vip_data.ganesha_vip is defined %}
|
||||
{% if 'External' in enabled_networks %}
|
||||
{% set _ = vip_data.__setitem__('ganesha_vip', (net_vip_map[networks['External']['name_lower']])) %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% if network == 'StorageDashboard' %}
|
||||
{% set _ = vip_data.__setitem__('ceph_dashboard_vip', (net_vip_map[networks['StorageDashboard']['name_lower']])) %}
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue