#openstack pike 使用 linuxbridge + vxlan
#openstack pike 集群高可用 安装部署 汇总
############################################################# openstack pike 使用 linuxbridge + vxlan#前面已部署的只使用外部网络,在其基础上,修改为xvlan + linuxbridge########################控制节点 修改MyIP=10.2.1.17 #local_ip使用#开启route openstack-config --set /etc/neutron/neutron.conf DEFAULT service_plugins routeropenstack-config --set /etc/neutron/plugins/ml2/ml2_conf.ini ml2 tenant_network_types vxlanopenstack-config --set /etc/neutron/plugins/ml2/ml2_conf.ini ml2 type_drivers flat,vlan,vxlanopenstack-config --set /etc/neutron/plugins/ml2/ml2_conf.ini ml2 mechanism_drivers linuxbridge,l2populationopenstack-config --set /etc/neutron/plugins/ml2/ml2_conf.ini ml2_type_vxlan vni_ranges 3001:4000openstack-config --set /etc/neutron/plugins/ml2/linuxbridge_agent.ini vxlan enable_vxlan trueopenstack-config --set /etc/neutron/plugins/ml2/linuxbridge_agent.ini vxlan l2_population trueopenstack-config --set /etc/neutron/plugins/ml2/linuxbridge_agent.ini vxlan local_ip $MyIPopenstack-config --set /etc/neutron/l3_agent.ini DEFAULT interface_driver linuxbridge#启用L3systemctl enable neutron-l3-agent.servicesystemctl restart neutron-l3-agent.service#服务重启systemctl restart neutron-serversystemctl restart neutron-linuxbridge-agent########################计算节点MyIP=10.2.1.17 #local_ip使用openstack-config --set /etc/neutron/plugins/ml2/linuxbridge_agent.ini vxlan enable_vxlan trueopenstack-config --set /etc/neutron/plugins/ml2/linuxbridge_agent.ini vxlan l2_population trueopenstack-config --set /etc/neutron/plugins/ml2/linuxbridge_agent.ini vxlan local_ip $MyIP#重启服务systemctl restart neutron-linuxbridge-agent############################################################