2 # (ListOpt) List of network type driver entrypoints to be loaded from
3 # the neutron.ml2.type_drivers namespace.
5 # type_drivers = local,flat,vlan,gre,vxlan
6 # Example: type_drivers = flat,vlan,gre,vxlan
7 type_drivers = {{ NEUTRON_TYPE_DRIVERS |join(",") }}
9 # (ListOpt) Ordered list of network_types to allocate as tenant
10 # networks. The default value 'local' is useful for single-box testing
11 # but provides no connectivity between hosts.
13 # tenant_network_types = local
14 # Example: tenant_network_types = vlan,gre,vxlan
15 tenant_network_types = {{ NEUTRON_TENANT_NETWORK_TYPES |join(",") }}
17 # (ListOpt) Ordered list of networking mechanism driver entrypoints
18 # to be loaded from the neutron.ml2.mechanism_drivers namespace.
20 # Example: mechanism_drivers = openvswitch,mlnx
21 # Example: mechanism_drivers = arista
22 # Example: mechanism_drivers = cisco,logger
23 # Example: mechanism_drivers = openvswitch,brocade
24 # Example: mechanism_drivers = linuxbridge,brocade
25 mechanism_drivers = {{ NEUTRON_MECHANISM_DRIVERS |join(",") }}
28 # (ListOpt) List of physical_network names with which flat networks
29 # can be created. Use * to allow flat networks with arbitrary
30 # physical_network names.
32 flat_networks = external
33 # Example:flat_networks = physnet1,physnet2
34 # Example:flat_networks = *
37 # (ListOpt) List of <physical_network>[:<vlan_min>:<vlan_max>] tuples
38 # specifying physical_network names usable for VLAN provider and
39 # tenant networks, as well as ranges of VLAN tags on each
40 # physical_network available for allocation as tenant networks.
43 # Example: network_vlan_ranges = physnet1:1000:2999,physnet2
46 # (ListOpt) Comma-separated list of <tun_min>:<tun_max> tuples enumerating ranges of GRE tunnel IDs that are available for tenant network allocation
47 tunnel_id_ranges = 1:1000
50 # (ListOpt) Comma-separated list of <vni_min>:<vni_max> tuples enumerating
51 # ranges of VXLAN VNI IDs that are available for tenant network allocation.
53 vni_ranges = 1001:4095
55 # (StrOpt) Multicast group for the VXLAN interface. When configured, will
56 # enable sending all broadcast traffic to this multicast group. When left
57 # unconfigured, will disable multicast VXLAN mode.
59 vxlan_group = 239.1.1.1
60 # Example: vxlan_group = 239.1.1.1
63 # Controls if neutron security group is enabled or not.
64 # It should be false when you use nova security group.
65 # enable_security_group = True
66 firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
67 enable_security_group = True
70 connection = mysql://neutron:{{ NEUTRON_DBPASS }}@{{ db_host }}/neutron?charset=utf8
73 local_ip = {{ internal_ip }}
74 {% if 'openvswitch' in NEUTRON_MECHANISM_DRIVERS %}
75 integration_bridge = br-int
76 tunnel_bridge = br-tun
77 tunnel_id_ranges = 1001:4095
78 tunnel_type = {{ NEUTRON_TUNNEL_TYPES |join(",") }}
79 bridge_mappings = {{ neutron_ovs_bridge_mappings | default("external:br-ex") }}
83 root_helper = sudo neutron-rootwrap /etc/neutron/rootwrap.conf
84 tunnel_types = {{ NEUTRON_TUNNEL_TYPES |join(",") }}
85 {% if 'vxlan' in NEUTRON_TUNNEL_TYPES %}
91 {% if 'opendaylight' in NEUTRON_MECHANISM_DRIVERS %}
92 network_vlan_ranges = 1001:4095
93 tunnel_id_ranges = 1001:4095
94 tun_peer_patch_port = patch-int
95 int_peer_patch_port = patch-tun
96 tenant_network_type = vxlan
97 tunnel_bridge = br-tun
98 integration_bridge = br-int
99 controllers = 10.1.0.15:8080:admin:admin
103 {% if 'opendaylight' in NEUTRON_MECHANISM_DRIVERS %}
104 username = {{ odl_username }}
105 password = {{ odl_password }}
106 url = http://{{ controller }}:{{ odl_api_port }}/controller/nb/v2/neutron