diff --git a/defaults/main.yml b/defaults/main.yml index 939f07b5..1b58339a 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -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) }}" diff --git a/templates/neutron.conf.j2 b/templates/neutron.conf.j2 index 7e272351..79c17b7d 100644 --- a/templates/neutron.conf.j2 +++ b/templates/neutron.conf.j2 @@ -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) }}