charm-nova-compute/templates/parts/section-cinder
Billy Olsen 465617c263 Sync charm-helpers and use VolumeAPIContext
Sync in the charm-helpers to use the new VolumeAPIContext object
in order to determine the volume catalog info to use in the
configuration file.

This is simply an alternative implementation for commit 5d92bc9f.
This will separate concerns for determining internal endpoints
and determining volume api versions.

Change-Id: I91009e1f9643f818b6f97898aa5d7c43e84684ed
Related-Bug: #1733566
2018-02-08 19:07:34 -07:00

10 lines
223 B
Plaintext

{% if volume_service and volume_service == 'cinder' -%}
[cinder]
{% if use_internal_endpoints -%}
catalog_info = {{ volume_catalog_info }}
{% endif %}
{% if region -%}
os_region_name = {{ region }}
{% endif %}
{% endif -%}