在計算節點安裝linux
# yum install openstack-neutron-linuxbridge ebtables ipset –yvim
# vim /etc/neutron/neutron.conf網絡
27 auth_strategy = keystoneapp
571 transport_url = rabbit://openstack:123456@192.168.10.205dom
846 [keystone_authtoken]memcached
847 auth_uri = http://192.168.10.100:5000url
848 auth_url = http://192.168.10.100:35357代理
849 memcached_servers = 192.168.10.100:11211rest
850 auth_type = password日誌
851 project_domain_name = default
852 user_domain_name = default
853 project_name = service
854 username = neutron
855 password = neutron
1188 lock_path = /var/lib/neutron/tmp
# vim /etc/neutron/plugins/ml2/linuxbridge_agent.ini
1:[DEFAULT]
113:[agent]
144:[linux_bridge]
155:physical_interface_mappings = internal:band0
161:[securitygroup]
168:firewall_driver = neutron.agent.linux.iptables_firewall.IptablesFirewallDriver
173:enable_security_group = true
180:[vxlan]
188:enable_vxlan = false
# 計算節點配置
# vim /etc/nova/nova.conf
6933 [neutron]
6934 url = http://192.168.10.100:9696
6935 auth_url = http://192.168.10.100:35357
6936 auth_type = password
6937 project_domain_name = default
6938 user_domain_name = default
6939 region_name = RegionOne
6940 project_name = service
6941 username = neutron
6942 password = neutron
# 計算節點配置
# systemctl restart openstack-nova-compute.service
# 計算節點配置
# systemctl enable neutron-linuxbridge-agent.service
# systemctl start neutron-linuxbridge-agent.service
# tail -f /var/log/neutron/*.log
#控制端配置
# neutron agent-list
# openstack extension list –network