~james-page/charms/trusty/neutron-openvswitch/lp1531102

« back to all changes in this revision

Viewing changes to templates/juno/ml2_conf.ini

Deploy from source

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# juno
 
2
###############################################################################
 
3
# [ WARNING ]
 
4
# Configuration file maintained by Juju. Local changes may be overwritten.
 
5
# Config managed by neutron-openvswitch charm
 
6
###############################################################################
 
7
[ml2]
 
8
type_drivers = gre,vxlan,vlan,flat
 
9
tenant_network_types = gre,vxlan,vlan,flat
 
10
mechanism_drivers = openvswitch,hyperv,l2population
 
11
 
 
12
[ml2_type_gre]
 
13
tunnel_id_ranges = 1:1000
 
14
 
 
15
[ml2_type_vxlan]
 
16
vni_ranges = 1001:2000
 
17
 
 
18
[ml2_type_vlan]
 
19
network_vlan_ranges = {{ vlan_ranges }}
 
20
 
 
21
[ml2_type_flat]
 
22
flat_networks = {{ network_providers }}
 
23
 
 
24
[ovs]
 
25
enable_tunneling = True
 
26
local_ip = {{ local_ip }}
 
27
bridge_mappings = {{ bridge_mappings }}
 
28
 
 
29
[agent]
 
30
tunnel_types = {{ overlay_network_type }}
 
31
l2_population = {{ l2_population }}
 
32
enable_distributed_routing = {{ distributed_routing }}
 
33
{% if veth_mtu -%}
 
34
veth_mtu = {{ veth_mtu }}
 
35
{% endif %}
 
36
 
 
37
[securitygroup]
 
38
{% if neutron_security_groups -%}
 
39
enable_security_group = True
 
40
firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
 
41
{% else -%}
 
42
enable_security_group = False
 
43
{% endif -%}