openstack 部署笔记--neutron计算节点
Posted 三木燕
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了openstack 部署笔记--neutron计算节点相关的知识,希望对你有一定的参考价值。
控制节点
# vim /etc/neutron/neutron.conf [DEFAULT] # ... transport_url = rabbit://openstack:[email protected] auth_strategy = keystone [keystone_authtoken] # ... auth_uri = http://keystone.downtown8.cn:5000 auth_url = http://keystone.downtown8.cn:35357 memcached_servers = cache.downtown8.cn11211 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://neutron.downtown8.cn:9696 auth_url = http://neutron.downtown8.cn: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
以上是关于openstack 部署笔记--neutron计算节点的主要内容,如果未能解决你的问题,请参考以下文章
八:OPENSTACK Queens部署neutron服务到计算节点
OpenStack 运维 - 部署Neutron组件[T版]
OpenStack 运维 - 部署Neutron组件[T版]