码迷,mamicode.com
首页 > 其他好文 > 详细

##6.2 Neutron计算节点-- openstack pike

时间:2019-06-11 16:17:05      阅读:106      评论:0      收藏:0      [点我收藏+]

标签:transport   use   pre   oca   strategy   ml2   bit   name   ide   

##6.2 Neutron计算节点
#6.2.Neutron.compute.sh

#安装
yum install -y openstack-neutron-linuxbridge ebtables ipset

#配置
cp /etc/neutron/neutron.conf{,.bak}
echo #
[DEFAULT]
auth_strategy = keystone
transport_url = rabbit://openstack:openstack@controller

[keystone_authtoken]
auth_uri = http://controller:5000
auth_url = http://controller:35357
memcached_servers = controller:11211
auth_type = password
project_domain_id = default
user_domain_id = default
project_name = service
username = neutron
password = neutron

[oslo_concurrency]
lock_path = /var/lib/neutron/tmp
#>/etc/neutron/neutron.conf
#
echo #
[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 = neutron
#>>/etc/nova/nova.conf
#
cp /etc/neutron/plugins/ml2/linuxbridge_agent.ini{,bak}
# bond0是网卡名
echo [linux_bridge]
physical_interface_mappings = provider:bond0
[securitygroup]
enable_security_group = true
firewall_driver = neutron.agent.linux.iptables_firewall.IptablesFirewallDriver
[vxlan]     
enable_vxlan = false
# local_ip = 10.2.1.21
# l2_population = true
#>/etc/neutron/plugins/ml2/linuxbridge_agent.ini

#重启相关服务
systemctl restart openstack-nova-compute.service
#启动neutron
systemctl enable neutron-linuxbridge-agent.service
systemctl start neutron-linuxbridge-agent.service

 

##6.2 Neutron计算节点-- openstack pike

标签:transport   use   pre   oca   strategy   ml2   bit   name   ide   

原文地址:https://www.cnblogs.com/xuefy/p/11004188.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!