charm-neutron-api/templates/parts/section-nova
James Page 9e12acb3b8 Add region information to nova section
In multi-region clouds, Neutron needs to understand which Nova
region it should send notification events to, otherwise its not
able to consistently resolve the correct Nova API endpoint to
use to send port creation notifications to.

Add region_name to nova section based on configuration of charm.

Closes-Bug: 1594602

Change-Id: If4d6ba41a064bc93eaa32efcd524fea6f0891275
2016-06-24 08:35:56 +01:00

7 lines
138 B
Plaintext

[nova]
auth_section = keystone_authtoken
region_name = {{ region }}
{% if use_internal_endpoints -%}
endpoint_type = internal
{% endif %}