# Modifying the/etc/neutron/plugin.ini file (network node) [Ml2]type_drivers = flat,vlan,vxlan,gretenant_network_types = flatmechanism_drivers =openvswitch[ml2_type_flat]flat_networks = default[ovs] enable_tunneling = falseintegration_bridge = br-intbridge_mappings =default:br-flat[ Securitygroup]firewall_driver = neutron.agent.linux.iptables_firewall. ovshybridiptablesfirewalldriverenable_security_group = trueenable_ipset = true# Modify/ Etc/neutron/plugin.ini file (compute node) [ml2]type_drivers = flat,vlan,vxlan,gretenant_network_types = flatmechanism_drivers =openvswitch[ml2_type_flat]flat_networks = default[ovs]enable_ tunneling = falseintegration_bridge = br-intbridge_mappings =default:br-flat[ Securitygroup]firewall_driver = neutron.agent.linux.iptables_firewall. Ovshybridiptablesfirewalldriverenable_security_group = trueenable_ipset = true# Modifying network configuration (network nodes and compute nodes) [[email protected] ~]# cat /etc/sysconfig/network-scripts/ ifcfg-br-datadevice=br-flatbootproto=staticonboot=yesnm_controlled=noipaddr=192.168.1.120netmask= 255.255.255.0gateway=192.168.1.1type=ovsbridgedevicetype=ovs[[email protected] ~]# cat / Etc/sysconfig/network-scripts/ifcfg-eth0device=eth0onboot=yesnm_controlled=notype=ovsportdevicetype=ovsovs_ bridge=br-flatovs-vsctl add-br br-flat (Network node and compute node) ovs-vsctl add-br br-intovs-vsctl add-port br-flat eth0service neutron-openvswitch-agent restart
Reference Links: http://www.server-world.info/en/note?os=CentOS_7&p=openstack_kilo&f=15
This article is from the "The-way-to-cloud" blog, make sure to keep this source http://iceyao.blog.51cto.com/9426658/1678945
Neutron-flat mode