1 heat_template_version: 2016-10-14
4 OpenStack Neutron Server configured with Puppet
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.
24 Sets the number of API and RPC workers for the Neutron service. The
25 default value results in the configuration being left unset and a
26 system-dependent default will be chosen (usually the number of
27 processors). Please note that this can result in a large number of
28 processes and memory consumption on systems with a large core count. On
29 such systems it is recommended that a non-default value be selected that
30 matches the load requirements.
33 description: The password for the neutron service and db account, used by neutron agents.
36 NeutronAllowL3AgentFailover:
38 description: Allow automatic l3-agent failover
43 Whether to enable HA for virtual routers. While the default value is
44 'false', L3 HA will be automatically enabled if the number of nodes hosting
45 controller configurations and DVR is disabled.
48 description: The password for the nova service and db account, used by nova-api.
52 description: Enable Neutron DVR.
58 description: Keystone region for endpoint
59 MonitoringSubscriptionNeutronServer:
60 default: 'overcloud-neutron-server'
62 NeutronApiLoggingSource:
65 tag: openstack.neutron.api
66 path: /var/log/neutron/server.log
69 Under normal conditions, this should not be overridden manually and is
70 set at deployment time. The default value is present to allow the
71 template to be used in environments that do not override it.
78 type: ./neutron-base.yaml
80 ServiceNetMap: {get_param: ServiceNetMap}
81 DefaultPasswords: {get_param: DefaultPasswords}
82 EndpointMap: {get_param: EndpointMap}
90 - get_param: ControllerCount
93 - get_param: NeutronEnableDVR
98 description: Role data for the Neutron Server agent service.
100 service_name: neutron_api
101 monitoring_subscription: {get_param: MonitoringSubscriptionNeutronServer}
102 logging_source: {get_param: NeutronApiLoggingSource}
107 - get_attr: [NeutronBase, role_data, config_settings]
108 - neutron::server::database_connection:
111 - - {get_param: [EndpointMap, MysqlInternal, protocol]}
113 - {get_param: NeutronPassword}
115 - {get_param: [EndpointMap, MysqlInternal, host]}
117 neutron::keystone::auth::tenant: 'service'
118 neutron::keystone::auth::public_url: {get_param: [EndpointMap, NeutronPublic, uri]}
119 neutron::keystone::auth::internal_url: { get_param: [ EndpointMap, NeutronInternal, uri ] }
120 neutron::keystone::auth::admin_url: { get_param: [ EndpointMap, NeutronAdmin, uri ] }
121 neutron::keystone::auth::password: {get_param: NeutronPassword}
122 neutron::keystone::auth::region: {get_param: KeystoneRegion}
123 neutron::keystone::authtoken::auth_uri: {get_param: [EndpointMap, KeystoneInternal, uri] }
124 neutron::keystone::authtoken::auth_url: {get_param: [EndpointMap, KeystoneAdmin, uri_no_suffix]}
125 neutron::server::api_workers: {get_param: NeutronWorkers}
126 neutron::server::rpc_workers: {get_param: NeutronWorkers}
127 neutron::server::allow_automatic_l3agent_failover: {get_param: NeutronAllowL3AgentFailover}
128 neutron::server::l3_ha: {if: ["auto_enable_l3_ha", true, {get_param: NeutronL3HA}]}
129 neutron::keystone::authtoken::password: {get_param: NeutronPassword}
131 neutron::server::notifications::nova_url: { get_param: [ EndpointMap, NovaInternal, uri ] }
132 neutron::server::notifications::auth_url: { get_param: [ EndpointMap, KeystoneV3Admin, uri ] }
133 neutron::server::notifications::tenant_name: 'service'
134 neutron::server::notifications::project_name: 'service'
135 neutron::server::notifications::password: {get_param: NovaPassword}
136 neutron::keystone::authtoken::project_name: 'service'
137 neutron::server::sync_db: true
138 neutron::db::mysql::password: {get_param: NeutronPassword}
139 neutron::db::mysql::user: neutron
140 neutron::db::mysql::host: {get_param: [EndpointMap, MysqlInternal, host_nobrackets]}
141 neutron::db::mysql::dbname: ovs_neutron
142 neutron::db::mysql::allowed_hosts:
144 - "%{hiera('mysql_bind_host')}"
145 tripleo.neutron_server.firewall_rules:
146 '114 neutron server':
150 '118 neutron vxlan networks':
155 neutron::server::router_distributed: {get_param: NeutronEnableDVR}
156 # NOTE: bind IP is found in Heat replacing the network name with the local node IP
157 # for the given network; replacement examples (eg. for internal_api):
159 # internal_api_uri -> [IP]
160 # internal_api_subnet - > IP/CIDR
161 neutron::bind_host: {get_param: [ServiceNetMap, NeutronApiNetwork]}
163 include tripleo::profile::base::neutron::server