83 lines
2.4 KiB
Django/Jinja
83 lines
2.4 KiB
Django/Jinja
# neutron.conf
|
|
[DEFAULT]
|
|
debug = {{ neutron_logging_debug }}
|
|
|
|
use_stderr = True
|
|
use_syslog = False
|
|
|
|
bind_host = {{ network_topology["private"]["address"] }}
|
|
bind_port = {{ neutron_server_port }}
|
|
|
|
api_paste_config = /usr/share/neutron/api-paste.ini
|
|
endpoint_type = internalURL
|
|
|
|
metadata_proxy_socket = /var/lib/neutron/ccp/metadata_proxy
|
|
|
|
{% if neutron_plugin_agent == "openvswitch" %}
|
|
interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver
|
|
{% elif neutron_plugin_agent == "linuxbridge" %}
|
|
interface_driver = neutron.agent.linux.interface.BridgeInterfaceDriver
|
|
{% endif %}
|
|
|
|
{% if enable_nova_fake | bool %}
|
|
ovs_integration_bridge = br-int-{{ item }}
|
|
host = {{ ansible_hostname }}_{{ item }}
|
|
{% endif %}
|
|
|
|
allow_overlapping_ips = true
|
|
core_plugin = ml2
|
|
service_plugins = router{% if enable_neutron_lbaas | bool %},neutron_lbaas.services.loadbalancer.plugin.LoadBalancerPluginv2{% endif %}{% if enable_neutron_qos | bool %},qos{% endif %}
|
|
|
|
{% if enable_neutron_lbaas | bool %}
|
|
[service_providers]
|
|
service_provider = LOADBALANCERV2:Haproxy:neutron_lbaas.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default
|
|
{% endif %}
|
|
|
|
[nova]
|
|
auth_url = http://keystone:{{ keystone_admin_port }}
|
|
auth_type = password
|
|
project_domain_id = default
|
|
user_domain_id = default
|
|
region_name = RegionOne
|
|
project_name = service
|
|
username = {{ nova_db_username }}
|
|
password = {{ nova_db_password }}
|
|
endpoint_type = internal
|
|
|
|
[oslo_concurrency]
|
|
lock_path = /var/lib/neutron/tmp
|
|
|
|
[oslo_messaging_rabbit]
|
|
rabbit_userid = {{ rabbitmq_user }}
|
|
rabbit_password = {{ rabbitmq_password }}
|
|
rabbit_ha_queues = true
|
|
# Here we should have a list of RBMQ servers, but for now 1 is ok
|
|
# FIXME
|
|
rabbit_hosts = rabbitmq:{{ rabbitmq_port }}
|
|
|
|
[agent]
|
|
root_helper = sudo neutron-rootwrap /etc/neutron/rootwrap.conf
|
|
|
|
[database]
|
|
connection = mysql+pymysql://{{ neutron_db_username }}:{{ neutron_db_password }}@mariadb/{{ neutron_db_name }}
|
|
max_retries = -1
|
|
|
|
[keystone_authtoken]
|
|
auth_uri = http://keystone:{{ keystone_public_port }}
|
|
auth_url = http://keystone:{{ keystone_admin_port }}
|
|
auth_type = password
|
|
project_domain_id = default
|
|
user_domain_id = default
|
|
project_name = service
|
|
username = {{ neutron_db_username }}
|
|
password = {{ neutron_db_password }}
|
|
|
|
memcache_security_strategy = ENCRYPT
|
|
memcache_secret_key = {{ memcache_secret_key }}
|
|
# Here we should have a list of memcached servers, but for now 1 is ok
|
|
memcached_servers = memcached:11211
|
|
|
|
|
|
[oslo_messaging_notifications]
|
|
driver = noop
|