Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@nethost ~]# cat /etc/neutron/plugins/ml2/ml2_conf.ini
- [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
- # (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
- # (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
- # (ListOpt) Ordered list of extension driver entrypoints
- # to be loaded from the neutron.ml2.extension_drivers namespace.
- # extension_drivers =
- # Example: extension_drivers = anewextensiondriver
- type_drivers = flat,vlan
- tenant_network_types = vlan
- mechanism_drivers = openvswitch,l2population
- [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 = external
- [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 = vlan:2001:2001
- [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 =
- tunnel_id_ranges = 1:1000
- [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 =
- # (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
- [securitygroup]
- # Controls if neutron security group is enabled or not.
- # It should be false when you use nova security group.
- # enable_security_group = True
- enable_security_group = True
- enable_ipset = True
- firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
- # Use ipset to speed-up the iptables security groups. Enabling ipset support
- # requires that ipset is installed on L2 agent node.
- # enable_ipset = True
- #
- [ovs]
- local_ip = 10.0.0.2
- #enable_tunneling = True
- #bridge_mappings = vlan:br-int,external:br-ex
- #bridge_mappings = external:br-ex
- integration_bridge = br-int
- bridge_mappings = vlan:br-vlan,external:br-ex
- [agent]
- l2population = True
- #tunnel_types = gre
- ==============
- [root@study-node1 ~]# cat /etc/neutron/plugins/ml2/ml2_conf.ini
- [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
- # (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
- # (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
- # (ListOpt) Ordered list of extension driver entrypoints
- # to be loaded from the neutron.ml2.extension_drivers namespace.
- # extension_drivers =
- # Example: extension_drivers = anewextensiondriver
- type_drivers = flat,vlan
- tenant_network_types = vlan
- mechanism_drivers = openvswitch,l2population
- [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 = external
- [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 = vlan:2001:2001
- [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 =
- 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 =
- # (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
- [securitygroup]
- enable_security_group = True
- enable_ipset = True
- firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
- # Controls if neutron security group is enabled or not.
- # It should be false when you use nova security group.
- # enable_security_group = True
- [ovs]
- local_ip = 10.0.0.31
- #enable_tunneling = True
- #bridge_mappings = vlan:br-int,external:br-ex
- #bridge_mappings = vlan:br-int,external:br-ex
- #enable_tunneling = True
- #bridge_mappings = vlan:br-int,external:br-ex
- #bridge_mappings = external:br-ex
- bridge_mappings = vlan:br-vlan,external:br-ex
- integration_bridge = br-int
- [agent]
- l2population = True
- #tunnel_types = gre
- # Use ipset to speed-up the iptables security groups. Enabling ipset support
- # requires that ipset is installed on L2 agent node.
- # enable_ipset = True
- ================
- [root@study-controller ~]# cat /etc/neutron/plugins/ml2/ml2_conf.ini
- [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
- # (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
- # (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
- # (ListOpt) Ordered list of extension driver entrypoints
- # to be loaded from the neutron.ml2.extension_drivers namespace.
- # extension_drivers =
- # Example: extension_drivers = anewextensiondriver
- type_drivers = flat,vlan,gre
- tenant_network_types = vlan
- mechanism_drivers = openvswitch,l2population
- [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 = external
- [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 = vlan:2001:2001
- [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 =
- #tunnel_id_ranges = 1:1000
- [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 =
- # (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
- [securitygroup]
- # Controls if neutron security group is enabled or not.
- # It should be false when you use nova security group.
- # enable_security_group = True
- enable_security_group = True
- enable_ipset = True
- firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
- # Use ipset to speed-up the iptables security groups. Enabling ipset support
- # requires that ipset is installed on L2 agent node.
- # enable_ipset = True
- #
- [ovs]
- local_ip = 10.0.0.11
- #enable_tunneling = True
- bridge_mappings = vlan:br-vlan,external:br-ex
- #bridge_mappings = external:br-ex
- #integration_bridge = br-int
- #
- [agent]
- #tunnel_types = gre
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement