This repository has been archived by the owner on Feb 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 34
/
neutron.conf
105 lines (82 loc) · 2.39 KB
/
neutron.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
## NB: Unpolished config file
## This config file was taken directly from the upstream repo, and tweaked just enough to work.
## It has been enabled for passthrough configuration support.
[DEFAULT]
{{#neutron.verbose}}
# Print more verbose output (set logging level to INFO instead
# of default WARNING level). (boolean value)
verbose={{neutron.verbose}}
{{/neutron.verbose}}
{{#neutron.debug}}
# Print debugging output (set logging level to DEBUG instead
# of default WARNING level). (boolean value)
debug={{neutron.debug}}
{{/neutron.debug}}
allow_automatic_l3agent_failover = True
lock_path = /var/run/neutron/lock
auth_strategy = keystone
allow_overlapping_ips = False
core_plugin = neutron.plugins.ml2.plugin.Ml2Plugin
service_plugins = neutron.services.l3_router.l3_router_plugin.L3RouterPlugin
nova_url = http://{{nova.host}}:8774/v2
nova_admin_auth_url = http://{{keystone.host}}:35357/v2.0
nova_admin_tenant_name = service
nova_admin_password = {{nova.service-password}}
nova_admin_username = nova
{{#rabbit}}
rpc_backend = neutron.openstack.common.rpc.impl_kombu
rabbit_password={{password}}
{{#rabbit.host}}
rabbit_host={{.}}
{{/rabbit.host}}
{{^rabbit.host}}
rabbit_hosts={{rabbit.nodes}}
rabbit_ha_queues=true
{{/rabbit.host}}
{{/rabbit}}
{{#qpid}}
qpid_hostname = {{host}}
qpid_username = {{username}}
qpid_password = {{password}}
rpc_backend = neutron.openstack.common.rpc.impl_qpid
{{/qpid}}
{{#haproxy}}
{{#stunnel.connect_host}}
bind_host = {{stunnel.connect_host}}
{{/stunnel.connect_host}}
{{^stunnel.connect_host}}
bind_host = {{local-ipv4}}
{{/stunnel.connect_host}}
{{/haproxy}}
bind_port = 9696
api_paste_config = api-paste.ini
control_exchange = neutron
notification_driver = neutron.openstack.common.notifier.rpc_notifier
notification_topics = notifications
dhcp_agents_per_network = 2
[QUOTAS]
quota_driver = neutron.db.quota_db.DbQuotaDriver
[DEFAULT_SERVICETYPE]
[SECURITYGROUP]
[AGENT]
root_helper = sudo /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf
[keystone_authtoken]
admin_tenant_name = service
admin_user = neutron
admin_password = {{neutron.service-password}}
identity_uri=http://{{keystone.host}}:35357
signing_dir = /mnt/state/var/lib/neutron/keystone-signing
auth_uri = http://{{keystone.host}}:5000/v2.0
{{#neutron}}
{{#config}}
[{{{section}}}]
{{#values}}
{{#comment}}
# {{{.}}}
{{/comment}}
{{#option}}
{{{option}}} = {{{value}}}
{{/option}}
{{/values}}
{{/config}}
{{/neutron}}