Created
September 23, 2014 20:32
ml2 conf for neutron on icehouse
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file autogenerated by Chef | |
# Do not edit, changes will be overwritten | |
[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 = vxlan | |
# (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 = vxlan | |
# (ListOpt) Ordered list of networking mechanism driver entrypoints | |
# to be loaded from the neutron.ml2.mechanism_drivers namespace. | |
# mechanism_drivers = | |
# Example: mechanism_drivers = arista | |
# Example: mechanism_drivers = cisco,logger | |
mechanism_drivers = openvswitch | |
[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 = | |
[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 = | |
[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 = | |
[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 = 1:1000 | |
# (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 = | |
[securitygroup] | |
# Controls if neutron security group is enabled or not. | |
# It should be false when you use nova security group. | |
enable_security_group = true | |
# As of icehouse, neutron with gre or vxlan requires that the ml2_conf.ini | |
# have OVS-related config as well, and that the same config be in the ml2 conf | |
# and the openvswitch config at /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini | |
# and at /etc/neutron/plugins/ml2/ml2_conf.ini | |
firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver | |
[ovs] | |
local_ip = 192.168.94.32 | |
enable_tunneling = true | |
tunnel_type = vxlan | |
[agent] | |
tunnel_types = vxlan | |
root_helper = sudo /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment