~celebdor/charms/trusty/neutron-api/liberty

« back to all changes in this revision

Viewing changes to templates/icehouse/ml2_conf.ini

  • 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:
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,local
8
12
tenant_network_types = {{ overlay_network_type }},vlan,flat,local
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 -%}