78 lines
3.3 KiB
Plaintext
78 lines
3.3 KiB
Plaintext
<%= node['openstack']['network']['custom_template_banner'] %>
|
|
[ml2]
|
|
# (ListOpt) List of network type driver entrypoints to be loaded from
|
|
# the neutron.ml2.type_drivers namespace.
|
|
#
|
|
# type_drivers = local,flat,vlan,gre,vxlan
|
|
# Example: type_drivers = flat,vlan,gre,vxlan
|
|
type_drivers = <%= node['openstack']['network']['ml2']['type_drivers'] %>
|
|
|
|
# (ListOpt) Ordered list of network_types to allocate as tenant
|
|
# networks. The default value 'local' is useful for single-box testing
|
|
# but provides no connectivity between hosts.
|
|
#
|
|
# tenant_network_types = local
|
|
# Example: tenant_network_types = vlan,gre,vxlan
|
|
tenant_network_types = <%= node['openstack']['network']['ml2']['tenant_network_types'] %>
|
|
|
|
# (ListOpt) Ordered list of networking mechanism driver entrypoints
|
|
# to be loaded from the neutron.ml2.mechanism_drivers namespace.
|
|
# mechanism_drivers =
|
|
# Example: mechanism_drivers = openvswitch,mlnx
|
|
# Example: mechanism_drivers = arista
|
|
# Example: mechanism_drivers = cisco,logger
|
|
# Example: mechanism_drivers = openvswitch,brocade
|
|
# Example: mechanism_drivers = linuxbridge,brocade
|
|
mechanism_drivers = <%= @mechanism_drivers %>
|
|
|
|
[ml2_type_flat]
|
|
# (ListOpt) List of physical_network names with which flat networks
|
|
# can be created. Use * to allow flat networks with arbitrary
|
|
# physical_network names.
|
|
#
|
|
# flat_networks =
|
|
# Example:flat_networks = physnet1,physnet2
|
|
# Example:flat_networks = *
|
|
flat_networks = <%= node['openstack']['network']['ml2']['flat_networks'] %>
|
|
|
|
[ml2_type_vlan]
|
|
# (ListOpt) List of <physical_network>[:<vlan_min>:<vlan_max>] tuples
|
|
# specifying physical_network names usable for VLAN provider and
|
|
# tenant networks, as well as ranges of VLAN tags on each
|
|
# physical_network available for allocation as tenant networks.
|
|
#
|
|
# network_vlan_ranges =
|
|
# Example: network_vlan_ranges = physnet1:1000:2999,physnet2
|
|
network_vlan_ranges = <%= node['openstack']['network']['ml2']['network_vlan_ranges'] %>
|
|
|
|
[ml2_type_gre]
|
|
# (ListOpt) Comma-separated list of <tun_min>:<tun_max> tuples enumerating ranges of GRE tunnel IDs that are available for tenant network allocation
|
|
tunnel_id_ranges = <%= node['openstack']['network']['ml2']['tunnel_id_ranges'] %>
|
|
|
|
[ml2_type_vxlan]
|
|
# (ListOpt) Comma-separated list of <vni_min>:<vni_max> tuples enumerating
|
|
# ranges of VXLAN VNI IDs that are available for tenant network allocation.
|
|
vni_ranges = <%= node['openstack']['network']['ml2']['vni_ranges'] %>
|
|
|
|
# (StrOpt) Multicast group for the VXLAN interface. When configured, will
|
|
# enable sending all broadcast traffic to this multicast group. When left
|
|
# unconfigured, will disable multicast VXLAN mode.
|
|
#
|
|
# vxlan_group =
|
|
# Example: vxlan_group = 239.1.1.1
|
|
vxlan_group = <%= node['openstack']['network']['ml2']['vxlan_group'] %>
|
|
|
|
[securitygroup]
|
|
# Controls if neutron security group is enabled or not.
|
|
# It should be false when you use nova security group.
|
|
enable_security_group = <%= node['openstack']['network']['ml2']['enable_security_group'] %>
|
|
|
|
# Use ipset to speed-up the iptables security groups. Enabling ipset support
|
|
# requires that ipset is installed on L2 agent node.
|
|
enable_ipset = <%= node['openstack']['network']['ml2']['enable_ipset'] %>
|
|
|
|
<% if node['platform_family'] == 'debian' -%>
|
|
# For ubuntu, pull in the openvswitch configuration
|
|
<%= render 'plugins/openvswitch/ovs_neutron_plugin.ini.erb' -%>
|
|
<% end -%>
|