~registry/charms/trusty/neutron-api/next

« back to all changes in this revision

Viewing changes to templates/juno/neutron.conf

Deploy from source

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
###############################################################################
 
2
# [ WARNING ]
 
3
# Configuration file maintained by Juju. Local changes may be overwritten.
 
4
## Restart trigger {{ restart_trigger }}
 
5
###############################################################################
 
6
[DEFAULT]
 
7
verbose = {{ verbose }}
 
8
debug = {{ debug }}
 
9
use_syslog = {{ use_syslog }}
 
10
state_path = /var/lib/neutron
 
11
lock_path = $state_path/lock
 
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 }}
 
17
 
 
18
router_distributed = {{ enable_dvr }}
 
19
 
 
20
l3_ha = {{ l3_ha }}
 
21
{% if l3_ha -%}
 
22
max_l3_agents_per_router = {{ max_l3_agents_per_router }}
 
23
min_l3_agents_per_router = {{ min_l3_agents_per_router }}
 
24
{% endif -%}
 
25
 
 
26
{% if neutron_bind_port -%}
 
27
bind_port = {{ neutron_bind_port }}
 
28
{% else -%}
 
29
bind_port = 9696
 
30
{% endif -%}
 
31
 
 
32
{% if core_plugin -%}
 
33
core_plugin = {{ core_plugin }}
 
34
{% if neutron_plugin in ['ovs', 'ml2'] -%}
 
35
service_plugins = neutron.services.l3_router.l3_router_plugin.L3RouterPlugin,neutron.services.firewall.fwaas_plugin.FirewallPlugin,neutron.services.loadbalancer.plugin.LoadBalancerPlugin,neutron.services.vpn.plugin.VPNDriverPlugin,neutron.services.metering.metering_plugin.MeteringPlugin
 
36
{% endif -%}
 
37
{% endif -%}
 
38
 
 
39
{% if neutron_security_groups -%}
 
40
allow_overlapping_ips = True
 
41
neutron_firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
 
42
{% endif -%}
 
43
 
 
44
{% include "parts/rabbitmq" %}
 
45
 
 
46
notify_nova_on_port_status_changes = True
 
47
notify_nova_on_port_data_changes = True
 
48
nova_url = {{ nova_url }}
 
49
nova_region_name = {{ region }}
 
50
{% if auth_host -%}
 
51
nova_admin_username = {{ admin_user }}
 
52
nova_admin_tenant_id = {{ admin_tenant_id }}
 
53
nova_admin_password = {{ admin_password }}
 
54
nova_admin_auth_url = {{ auth_protocol }}://{{ auth_host }}:{{ auth_port }}/v2.0
 
55
{% endif -%}
 
56
 
 
57
[quotas]
 
58
quota_driver = neutron.db.quota_db.DbQuotaDriver
 
59
{% if neutron_security_groups -%}
 
60
quota_items = network,subnet,port,security_group,security_group_rule
 
61
{% endif -%}
 
62
 
 
63
[agent]
 
64
root_helper = sudo /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf
 
65
 
 
66
[keystone_authtoken]
 
67
signing_dir = {{ signing_dir }}
 
68
{% if service_host -%}
 
69
service_protocol = {{ service_protocol }}
 
70
service_host = {{ service_host }}
 
71
service_port = {{ service_port }}
 
72
auth_host = {{ auth_host }}
 
73
auth_port = {{ auth_port }}
 
74
auth_protocol =  {{ auth_protocol }}
 
75
admin_tenant_name = {{ admin_tenant_name }}
 
76
admin_user = {{ admin_user }}
 
77
admin_password = {{ admin_password }}
 
78
{% endif -%}
 
79
 
 
80
{% include "parts/section-database" %}
 
81
 
 
82
[service_providers]
 
83
service_provider=LOADBALANCER:Haproxy:neutron.services.loadbalancer.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default
 
84
service_provider=VPN:openswan:neutron.services.vpn.service_drivers.ipsec.IPsecVPNDriver:default
 
85
service_provider=FIREWALL:Iptables:neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver:default