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

« back to all changes in this revision

Viewing changes to templates/icehouse/ml2_conf.ini

  • Committer: James Page
  • Date: 2015-09-04 11:03:14 UTC
  • mfrom: (39.7.35 trunk)
  • Revision ID: james.page@ubuntu.com-20150904110314-1iym0vseisumy5d0
[project-calico,r=james-page] Add support for Calico plugin

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
# Configuration file maintained by Juju. Local changes may be overwritten.  
5
5
###############################################################################
6
6
[ml2]
 
7
{% if neutron_plugin == 'Calico' -%}
 
8
type_drivers = local,flat
 
9
mechanism_drivers = calico
 
10
{% else -%}
7
11
type_drivers = {{ overlay_network_type }},vlan,flat
8
12
tenant_network_types = {{ overlay_network_type }},vlan,flat
9
13
mechanism_drivers = openvswitch,hyperv,l2population
26
30
 
27
31
[agent]
28
32
tunnel_types = {{ overlay_network_type }}
 
33
{% endif -%}
29
34
 
30
35
[securitygroup]
31
36
{% if neutron_security_groups -%}
32
37
enable_security_group = True
 
38
{% if neutron_plugin == 'Calico' -%}
 
39
firewall_driver = neutron.agent.linux.iptables_firewall.IptablesFirewallDriver
 
40
{% else -%}
33
41
firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
 
42
{% endif -%}
34
43
{% else -%}
35
44
enable_security_group = False
36
45
{% endif -%}