2
###############################################################################
4
# Configuration file maintained by Juju. Local changes may be overwritten.
5
# Restart trigger {{ restart_trigger }}
6
###############################################################################
8
verbose = {{ verbose }}
10
use_syslog = {{ use_syslog }}
11
state_path = /var/lib/neutron
12
bind_host = {{ bind_host }}
13
auth_strategy = keystone
14
notification_driver = neutron.openstack.common.notifier.rpc_notifier
15
api_workers = {{ workers }}
16
rpc_workers = {{ workers }}
18
router_distributed = {{ enable_dvr }}
22
max_l3_agents_per_router = {{ max_l3_agents_per_router }}
23
min_l3_agents_per_router = {{ min_l3_agents_per_router }}
26
{% if neutron_bind_port -%}
27
bind_port = {{ neutron_bind_port }}
33
core_plugin = {{ core_plugin }}
34
{% if service_plugins -%}
35
service_plugins = {{ service_plugins }}
37
{% if neutron_plugin in ['ovs', 'ml2', 'Calico'] -%}
38
service_plugins = router,firewall,lbaas,vpnaas,metering
43
{% if neutron_security_groups -%}
44
allow_overlapping_ips = True
45
{% if neutron_plugin == 'Calico' -%}
46
neutron_firewall_driver = neutron.agent.linux.iptables_firewall.IptablesFirewallDriver
48
neutron_firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
52
{% if neutron_plugin == 'Calico' -%}
53
dhcp_agents_per_network = 1000
56
notify_nova_on_port_status_changes = True
57
notify_nova_on_port_data_changes = True
58
nova_url = {{ nova_url }}
59
nova_region_name = {{ region }}
61
nova_admin_username = {{ admin_user }}
62
nova_admin_tenant_id = {{ admin_tenant_id }}
63
nova_admin_password = {{ admin_password }}
64
nova_admin_auth_url = {{ auth_protocol }}://{{ auth_host }}:{{ auth_port }}/v2.0
67
{% if sections and 'DEFAULT' in sections -%}
68
{% for key, value in sections['DEFAULT'] -%}
69
{{ key }} = {{ value }}
73
{% include "section-zeromq" %}
76
{% if quota_driver -%}
77
quota_driver = {{ quota_driver }}
79
quota_driver = neutron.db.quota_db.DbQuotaDriver
81
{% if neutron_security_groups -%}
82
quota_items = network,subnet,port,security_group,security_group_rule
83
quota_security_group = {{ quota_security_group }}
84
quota_security_group_rule = {{ quota_security_group_rule }}
86
quota_items = network,subnet,port
88
quota_network = {{ quota_network }}
89
quota_subnet = {{ quota_subnet }}
90
quota_port = {{ quota_port }}
91
quota_vip = {{ quota_vip }}
92
quota_pool = {{ quota_pool }}
93
quota_member = {{ quota_member }}
94
quota_health_monitors = {{ quota_health_monitors }}
95
quota_router = {{ quota_router }}
96
quota_floatingip = {{ quota_floatingip }}
99
root_helper = sudo /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf
101
{% include "section-keystone-authtoken" %}
103
{% include "parts/section-database" %}
105
{% include "section-rabbitmq-oslo" %}
108
lock_path = $state_path/lock