this change is needed for congress. It will works on admin interfaces.
Signed-off-by: David Blaisonneau <david.blaisonneau@orange.com>
options:
{% if os.ha.mode == 'ha' %}
vip: {{ opnfv.vip.ceilometer }}
+{% endif %}
+{% if os.beta.public_api %}
+ os-public-hostname: api.{{ opnfv.domain }}
{% endif %}
to:
{% for unit_id in to_select() %}
charm: "local:{{ ubuntu.release }}/cinder"
num_units: {{ unit_qty() }}
options:
+{% if os.beta.public_api %}
+ os-public-hostname: api.{{ opnfv.domain }}
+{% endif %}
block-device: None
glance-api-version: 2
{% if os.ha.mode == 'ha' %}
options:
{% if os.ha.mode == 'ha' %}
vip: {{ opnfv.vip.glance }}
+{% endif %}
+{% if os.beta.public_api %}
+ os-public-hostname: api.{{ opnfv.domain }}
{% endif %}
to:
{% for unit_id in to_select() %}
options:
{% if os.ha.mode == 'ha' %}
vip: {{ opnfv.vip.heat }}
+{% endif %}
+{% if os.beta.public_api %}
+ os-public-hostname: api.{{ opnfv.domain }}
{% endif %}
to:
{% for unit_id in to_select() %}
admin-token: {{ os.admin.name }}
{% if os.ha.mode == 'ha' %}
vip: {{ opnfv.vip.keystone }}
+{% endif %}
+{% if os.beta.public_api %}
+ os-public-hostname: api.{{ opnfv.domain }}
{% endif %}
to:
{% for unit_id in to_select() %}
{% endif %}
{% if os.ha.mode == 'ha' %}
vip: {{ opnfv.vip.neutron }}
+{% endif %}
+{% if os.beta.public_api %}
+ os-public-hostname: api.{{ opnfv.domain }}
{% endif %}
to:
{% for unit_id in to_select() %}
network-manager: Neutron
{% if os.ha.mode == 'ha' %}
vip: {{ opnfv.vip.nova }}
+{% endif %}
+{% if os.beta.public_api %}
+ os-public-hostname: api.{{ opnfv.domain }}
{% endif %}
to:
{% for unit_id in to_select() %}
keystone-admin-role: {{ os.admin.role }}
{% if os.beta.public_api %}
use-internal-endpoints: true
-{% if opnfv.domain is defined %}
- os-public-hostname: api.{{ opnfv.domain }}
-{% endif %}
{% endif %}