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
39 A hash of policies to configure for Octavia API.
40 e.g. { octavia-context_is_admin: { key: context_is_admin, value: 'role:admin' } }
47 type: ./octavia-base.yaml
49 ServiceNetMap: {get_param: ServiceNetMap}
50 DefaultPasswords: {get_param: DefaultPasswords}
51 EndpointMap: {get_param: EndpointMap}
55 description: Role data for the Octavia API service.
57 service_name: octavia_api
58 monitoring_subscription: {get_param: MonitoringSubscriptionOctaviaApi}
59 logging_source: {get_param: OctaviaApiLoggingSource}
64 - get_attr: [OctaviaBase, role_data, config_settings]
65 - octavia::keystone::authtoken::auth_uri: {get_param: [EndpointMap, KeystoneInternal, uri] }
66 octavia::policy::policies: {get_param: OctaviaApiPolicies}
67 octavia::db::database_connection:
70 - - {get_param: [EndpointMap, MysqlInternal, protocol]}
72 - {get_param: OctaviaPassword}
74 - {get_param: [EndpointMap, MysqlInternal, host]}
76 - '?read_default_file=/etc/my.cnf.d/tripleo.cnf&read_default_group=tripleo'
77 octavia::keystone::authtoken::auth_url: {get_param: [EndpointMap, KeystoneInternal, uri_no_suffix]}
78 octavia::keystone::authtoken::project_name: 'service'
79 octavia::keystone::authtoken::password: {get_param: OctaviaPassword}
80 octavia::api::sync_db: true
81 tripleo.octavia_api.firewall_rules:
86 octavia::api::host: {get_param: [ServiceNetMap, OctaviaApiNetwork]}
87 neutron::server::service_providers: ['LOADBALANCERV2:Octavia:neutron_lbaas.drivers.octavia.driver.OctaviaDriver:default']
89 include tripleo::profile::base::octavia::api
90 service_config_settings:
92 octavia::keystone::auth::tenant: 'service'
93 octavia::keystone::auth::public_url: {get_param: [EndpointMap, OctaviaPublic, uri]}
94 octavia::keystone::auth::internal_url: { get_param: [ EndpointMap, OctaviaInternal, uri ] }
95 octavia::keystone::auth::admin_url: { get_param: [ EndpointMap, OctaviaAdmin, uri ] }
96 octavia::keystone::auth::password: {get_param: OctaviaPassword}
97 octavia::keystone::auth::region: {get_param: KeystoneRegion}
99 octavia::db::mysql::password: {get_param: OctaviaPassword}
100 octavia::db::mysql::user: octavia
101 octavia::db::mysql::host: {get_param: [EndpointMap, MysqlInternal, host_nobrackets]}
102 octavia::db::mysql::dbname: octavia
103 octavia::db::mysql::allowed_hosts:
105 - "%{hiera('mysql_bind_host')}"