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

« back to all changes in this revision

Viewing changes to templates/icehouse/neutron.conf

  • Committer: Liam Young
  • Date: 2014-06-05 10:59:00 UTC
  • Revision ID: liam.young@canonical.com-20140605105900-j96iaknh0eq4cyus
Principle for Neutron API

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
###############################################################################
 
5
[DEFAULT]
 
6
state_path = /var/lib/neutron
 
7
lock_path = $state_path/lock
 
8
bind_host = 0.0.0.0
 
9
auth_strategy = keystone
 
10
notification_driver = neutron.openstack.common.notifier.rpc_notifier
 
11
 
 
12
{% if neutron_bind_port -%}
 
13
bind_port = {{ neutron_bind_port }}
 
14
{% else -%}
 
15
bind_port = 9696
 
16
{% endif -%}
 
17
 
 
18
{% if core_plugin -%}
 
19
core_plugin = {{ core_plugin }}
 
20
{% if neutron_plugin in ['ovs', 'ml2'] -%}
 
21
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
 
22
{% endif -%}
 
23
{% endif -%}
 
24
 
 
25
{% if neutron_security_groups -%}
 
26
allow_overlapping_ips = True
 
27
neutron_firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
 
28
{% endif -%}
 
29
 
 
30
{% include "parts/rabbitmq" %}
 
31
 
 
32
notify_nova_on_port_status_changes = True
 
33
notify_nova_on_port_data_changes = True
 
34
nova_url = {{ nova_url }}
 
35
nova_region_name = {{ region }}
 
36
{% if auth_host -%}
 
37
nova_admin_username = {{ admin_user }}
 
38
nova_admin_tenant_id = {{ admin_tenant_id }}
 
39
nova_admin_password = {{ admin_password }}
 
40
nova_admin_auth_url = {{ auth_protocol }}://{{ auth_host }}:{{ auth_port }}/v2.0
 
41
{% endif -%}
 
42
 
 
43
[quotas]
 
44
quota_driver = neutron.db.quota_db.DbQuotaDriver
 
45
{% if neutron_security_groups -%}
 
46
quota_items = network,subnet,port,security_group,security_group_rule
 
47
{% endif -%}
 
48
 
 
49
[agent]
 
50
root_helper = sudo /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf
 
51
 
 
52
[keystone_authtoken]
 
53
signing_dir = $state_path/keystone-signing
 
54
{% if service_host -%}
 
55
service_protocol = {{ service_protocol }}
 
56
service_host = {{ service_host }}
 
57
service_port = {{ service_port }}
 
58
auth_host = {{ auth_host }}
 
59
auth_port = {{ auth_port }}
 
60
auth_protocol =  {{ auth_protocol }}
 
61
admin_tenant_name = {{ admin_tenant_name }}
 
62
admin_user = {{ admin_user }}
 
63
admin_password = {{ admin_password }}
 
64
{% endif -%}
 
65
 
 
66
{% include "parts/section-database" %}
 
67
 
 
68
[service_providers]
 
69
service_provider=LOADBALANCER:Haproxy:neutron.services.loadbalancer.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default
 
70
service_provider=VPN:openswan:neutron.services.vpn.service_drivers.ipsec.IPsecVPNDriver:default
 
71
service_provider=FIREWALL:Iptables:neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver:default
 
 
b'\\ No newline at end of file'