1 heat_template_version: ocata
4 OpenStack Octavia API service.
9 description: Mapping of service_name -> network name. Typically set
10 via parameter_defaults in the resource registry. This
11 mapping overrides those in ServiceNetMapDefaults.
18 description: Mapping of service endpoint -> protocol. Typically set
19 via parameter_defaults in the resource registry.
22 description: The password for the Octavia's database account.
28 description: Keystone region for endpoint
29 MonitoringSubscriptionOctaviaApi:
30 default: 'overcloud-octavia-api'
32 OctaviaApiLoggingSource:
35 tag: openstack.octavia.api
36 path: /var/log/octavia/api.log
41 type: ./octavia-base.yaml
43 ServiceNetMap: {get_param: ServiceNetMap}
44 DefaultPasswords: {get_param: DefaultPasswords}
45 EndpointMap: {get_param: EndpointMap}
49 description: Role data for the Octavia API service.
51 service_name: octavia_api
52 monitoring_subscription: {get_param: MonitoringSubscriptionOctaviaApi}
53 logging_source: {get_param: OctaviaApiLoggingSource}
58 - get_attr: [OctaviaBase, role_data, config_settings]
59 - octavia::keystone::authtoken::auth_uri: {get_param: [EndpointMap, KeystoneInternal, uri] }
60 octavia::db::database_connection:
63 - - {get_param: [EndpointMap, MysqlInternal, protocol]}
65 - {get_param: OctaviaPassword}
67 - {get_param: [EndpointMap, MysqlInternal, host]}
70 - "%{hiera('tripleo::profile::base::database::mysql::client_bind_address')}"
71 octavia::keystone::authtoken::auth_url: {get_param: [EndpointMap, KeystoneAdmin, uri_no_suffix]}
72 octavia::keystone::authtoken::project_name: 'service'
73 octavia::api::sync_db: true
74 tripleo.octavia_api.firewall_rules:
79 octavia::host: {get_param: [ServiceNetMap, OctaviaApiNetwork]}
81 include tripleo::profile::base::octavia::api
82 service_config_settings:
84 octavia::keystone::auth::tenant: 'service'
85 octavia::keystone::auth::public_url: {get_param: [EndpointMap, OctaviaPublic, uri]}
86 octavia::keystone::auth::internal_url: { get_param: [ EndpointMap, OctaviaInternal, uri ] }
87 octavia::keystone::auth::admin_url: { get_param: [ EndpointMap, OctaviaAdmin, uri ] }
88 octavia::keystone::auth::password: {get_param: OctaviaPassword}
89 octavia::keystone::auth::region: {get_param: KeystoneRegion}
91 octavia::db::mysql::password: {get_param: OctaviaPassword}
92 octavia::db::mysql::user: octavia
93 octavia::db::mysql::host: {get_param: [EndpointMap, MysqlInternal, host_nobrackets]}
94 octavia::db::mysql::dbname: octavia
95 octavia::db::mysql::allowed_hosts:
97 - "%{hiera('mysql_bind_host')}"