zoukankan      html  css  js  c++  java
  • openstack pike 使用 linuxbridge + vxlan

    #openstack pike 使用 linuxbridge + vxlan

    #openstack pike 集群高可用  安装部署 汇总 http://www.cnblogs.com/elvi/p/7613861.html

    ############################################################
    # openstack pike 使用 linuxbridge + vxlan
    
    #前面已部署的只使用外部网络,在其基础上,修改为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
    ############################################################
  • 相关阅读:
    [编程题] 数组中重复的数字
    [编程题] 用两个栈实现队列
    杜教筛学习笔记
    二次剩余学习小记
    Burnside引理和Polya定理简单入门
    6553. 【GDOI2020模拟4.11】人生
    6545. 【GDOI2020模拟4.8】 Exercise
    2020.4.5学军信友队趣味网络邀请赛总结
    51 Nod 1287 加农炮(单调队列思想+二分)
    51 Nod 1070 Bash游戏v4(斐波那契博弈)
  • 原文地址:https://www.cnblogs.com/elvi/p/7834787.html
Copyright © 2011-2022 走看看