meikkiie 发表于 2017-6-27 10:27:39

openstack 部署笔记--neutron计算节点

控制节点



# vim /etc/neutron/neutron.conf

# ...
transport_url = rabbit://openstack:root@controller
auth_strategy = keystone

# ...
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

# ...
lock_path = /var/lib/neutron/tmp



# vim /etc/neutron/plugins/ml2/linuxbridge_agent.ini

physical_interface_mappings = provider:eth0

enable_vxlan = true
local_ip = 192.168.15.238
l2_population = true

# ...
enable_security_group = true
firewall_driver = neutron.agent.linux.iptables_firewall.IptablesFirewallDriver



# vim /etc/nova/nova.conf

# ...
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
页: [1]
查看完整版本: openstack 部署笔记--neutron计算节点