zoukankan      html  css  js  c++  java
  • openstack 部署笔记--neutron计算节点

    控制节点

    # vim /etc/neutron/neutron.conf
    [DEFAULT]
    # ...
    transport_url = rabbit://openstack:root@controller
    auth_strategy = keystone
    [keystone_authtoken]
    # ...
    auth_uri = http://controller:5000
    auth_url = http://controller:35357
    memcached_servers = controller:11211
    auth_type = password
    project_domain_name = default
    user_domain_name = default
    project_name = service
    username = neutron
    password = root
    [oslo_concurrency]
    # ...
    lock_path = /var/lib/neutron/tmp
    
    # vim /etc/neutron/plugins/ml2/linuxbridge_agent.ini
    [linux_bridge]
    physical_interface_mappings = provider:eth0
    [vxlan]
    enable_vxlan = true
    local_ip = 192.168.15.238
    l2_population = true
    [securitygroup]
    # ...
    enable_security_group = true
    firewall_driver = neutron.agent.linux.iptables_firewall.IptablesFirewallDriver
    
    # vim /etc/nova/nova.conf
    [neutron]
    # ...
    url = http://controller:9696
    auth_url = http://controller:35357
    auth_type = password
    project_domain_name = default
    user_domain_name = default
    region_name = RegionOne
    project_name = service
    username = neutron
    password = root
    
    # systemctl restart openstack-nova-compute.service
    
    # systemctl enable neutron-linuxbridge-agent.service
    # systemctl start neutron-linuxbridge-agent.service
    

    验证配置

    $ . admin-openrc
    $ openstack extension list --network
    $ openstack network agent list
    

      

     

      

  • 相关阅读:
    struts2学习笔记(二)
    struts2学习问题(一)
    struts2学习(一)
    给 ecplise 配置struts2配置环境
    Servlet的生命周期
    奇数位丢弃
    快速排序和归并排序(C语言)
    学习正则表达式及c#应用
    C#string与stringBuilder的区别
    c#之字符串函数
  • 原文地址:https://www.cnblogs.com/37yan/p/6934687.html
Copyright © 2011-2022 走看看