~openstack-charmers-archive/charms/trusty/neutron-api/trunk

« back to all changes in this revision

Viewing changes to templates/icehouse/neutron.conf

  • Committer: James Page
  • Date: 2015-10-22 13:21:43 UTC
  • Revision ID: james.page@ubuntu.com-20151022132143-ebqyi89fzb36wozg
Tags: 15.10
15.10 Charm release

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
 
28
28
{% if core_plugin -%}
29
29
core_plugin = {{ core_plugin }}
30
 
{% if neutron_plugin in ['ovs', 'ml2'] -%}
 
30
{% if service_plugins -%}
 
31
service_plugins = {{ service_plugins }}
 
32
{% else -%}
 
33
{% if neutron_plugin in ['ovs', 'ml2', 'Calico'] -%}
31
34
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
32
35
{% endif -%}
33
36
{% endif -%}
 
37
{% endif -%}
34
38
 
35
39
{% if neutron_security_groups -%}
36
40
allow_overlapping_ips = True
 
41
{% if neutron_plugin == 'Calico' -%}
 
42
neutron_firewall_driver = neutron.agent.linux.iptables_firewall.IptablesFirewallDriver
 
43
{% else -%}
37
44
neutron_firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
38
45
{% endif -%}
 
46
{% endif -%}
 
47
 
 
48
{% if neutron_plugin == 'Calico' -%}
 
49
dhcp_agents_per_network = 1000
 
50
{% endif -%}
39
51
 
40
52
{% include "parts/rabbitmq" %}
41
53
 
50
62
nova_admin_auth_url = {{ auth_protocol }}://{{ auth_host }}:{{ auth_port }}/v2.0
51
63
{% endif -%}
52
64
 
 
65
{% if sections and 'DEFAULT' in sections -%}
 
66
{% for key, value in sections['DEFAULT'] -%}
 
67
{{ key }} = {{ value }}
 
68
{% endfor -%}
 
69
{% endif %}
 
70
 
53
71
[quotas]
 
72
{% if quota_driver -%}
 
73
quota_driver = {{ quota_driver }}
 
74
{% else -%}
54
75
quota_driver = neutron.db.quota_db.DbQuotaDriver
 
76
{% endif -%}
55
77
{% if neutron_security_groups -%}
56
78
quota_items = network,subnet,port,security_group,security_group_rule
57
79
quota_security_group = {{ quota_security_group }}