Add neutron_api_bind_address default variable

This defaults to 0.0.0.0 but can be overriden in a real deployment
where we know the correct management network ip address for the
neutron api service to bind to.

Change-Id: I1c37fed8796b2a133085dc348e767b1793ab2851
This commit is contained in:
Jonathan Rosser 2019-07-11 12:35:07 +01:00
parent 23f8874237
commit ca83b65ea2
2 changed files with 2 additions and 1 deletions

View File

@ -279,6 +279,7 @@ neutron_service_user_name: neutron
neutron_service_name: neutron
neutron_service_type: network
neutron_service_description: "OpenStack Networking"
neutron_api_bind_address: 0.0.0.0
neutron_service_port: 9696
neutron_service_proto: http
neutron_service_publicuri_proto: "{{ openstack_service_publicuri_proto | default(neutron_service_proto) }}"

View File

@ -78,7 +78,7 @@ ha_network_physical_name = {{ neutron_provider_networks.network_mappings_list[0]
# API
bind_port = 9696
bind_host = 0.0.0.0
bind_host = {{ neutron_api_bind_address }}
# Workers
api_workers = {{ neutron_api_workers | default(neutron_api_threads) }}