num_units: {{ unit_qty() }}
{% if os.service.bindings %}
bindings:
- internal: internal
-{% if opnfv.spaces_dict.data is defined %}
- admin: admin
-{% else %}
- admin: internal
-{% endif %}
-{% if opnfv.spaces_dict.public is defined %}
- public: public
-{% else %}
- public: internal
-{% endif %}
+ "": *oam-space
+ public: *public-space
+ admin: *admin-space
+ internal: *internal-space
+ shared-db: *internal-space
{% endif %}
+ series: {{ ubuntu.release }}
options:
- openstack-origin: "cloud:{{ ubuntu.release }}-{{ os.release }}"
- region: {{ os.region }}
+ openstack-origin: *openstack-origin
+{% if os.git_repo.origin_git %}
+ openstack-origin-git: "{{ os.git_repo.branch }}"
+{% endif %}
+ region: *openstack-region
admin-role: {{ os.admin.role }}
keystone-admin-role: {{ os.admin.role }}
- preferred-api-version: 2
+ preferred-api-version: 3
+{% if os.api.ssl %}
+ ssl_ca: *ssl_ca
+ ssl_cert: *ssl_cert
+ ssl_key: *ssl_key
+ #use-https: 'yes'
+ #https-service-endpoints: 'True'
+ os-public-hostname: *hostname_keystone_public
+ os-internal-hostname: *hostname_keystone_public
+ os-admin-hostname: *hostname_keystone_public
+{% endif %}
{% if os.network.ipv6 %}
prefer-ipv6: {{ os.network.ipv6 }}
{% endif %}
{% if os.api.worker_multiplier %}
- worker-multiplier: {{ os.api.worker_multiplier }}
+ worker-multiplier: *worker-multiplier
{% endif %}
admin-password: {{ opnfv.admin_password | default(os.admin.password) }}
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 }}
+ vip: *keystone-vip
{% endif %}
to:
{% for unit_id in to_select() %}