openstack 使用 linuxbridge + vxlan
阿新 • • 發佈:2017-11-14
重啟 linu inter 控制 plugins ml2 cnblogs out neutron
#openstack 使用 linuxbridge + vxlan
#openstack pike 集群高可用 安裝部署 匯總 http://www.cnblogs.com/elvi/p/7613861.html
############################################################ # openstack 使用 linuxbridge + vxlan #vxlan-linuxbridge.txt.sh #前面已部署的只使用外部網絡,在其基礎上,修改為xvlan + linuxbridge ####################### #控制節點 修改 MyIP=10.2.1.17 #local_ip使用 #開啟route openstack-config --set /etc/neutron/neutron.conf DEFAULT service_plugins router openstack-config --set /etc/neutron/plugins/ml2/ml2_conf.ini ml2 tenant_network_types vxlan openstack-config --set /etc/neutron/plugins/ml2/ml2_conf.ini ml2 type_drivers flat,vlan,vxlan openstack-config --set /etc/neutron/plugins/ml2/ml2_conf.ini ml2 mechanism_drivers linuxbridge,l2population openstack-config --set /etc/neutron/plugins/ml2/ml2_conf.ini ml2_type_vxlan vni_ranges 3001:4000 openstack-config --set /etc/neutron/plugins/ml2/linuxbridge_agent.ini vxlan enable_vxlan true openstack-config --set /etc/neutron/plugins/ml2/linuxbridge_agent.ini vxlan l2_population true openstack-config --set /etc/neutron/plugins/ml2/linuxbridge_agent.ini vxlan local_ip $MyIP openstack-config --set /etc/neutron/l3_agent.ini DEFAULT interface_driver linuxbridge #啟用L3 systemctl enable neutron-l3-agent.service systemctl restart neutron-l3-agent.service #服務重啟 systemctl restart neutron-server systemctl restart neutron-linuxbridge-agent ####################### #計算節點 MyIP=10.2.1.17 #local_ip使用 openstack-config --set /etc/neutron/plugins/ml2/linuxbridge_agent.ini vxlan enable_vxlan true openstack-config --set /etc/neutron/plugins/ml2/linuxbridge_agent.ini vxlan l2_population true openstack-config --set /etc/neutron/plugins/ml2/linuxbridge_agent.ini vxlan local_ip $MyIP #重啟服務 systemctl restart neutron-linuxbridge-agent ############################################################
openstack 使用 linuxbridge + vxlan