openstack kilo 配置dvr
配置neutron-server编辑/etc/neutron/neutron.conf
1
2
router_distributed = True
编辑/etc/neutron/plugins/ml2/ml2_conf.ini,添加l2population
1
2
mechanism_drivers = openvswitch,l2population
配置network节点
配置L2,编辑/etc/neutron/plugins/ml2/ml2_conf.ini
1
2
3
4
5
6
mechanism_drivers = openvswitch,l2population
...
l2_population = True
enable_distributed_routing = True
配置L3,编辑/etc/neutron/l3_agent.ini
1
agent_mode = dvr_snat
配置计算节点
配置L2 agent
1
2
3
4
5
6
mechanism_drivers = openvswitch,l2population
...
l2_population = True
enable_distributed_routing = True
配置L3 agent,配置参数除agent_mode,其余和网络节点一致
1
2
agent_mode = dvr
配置metadata
配置方式和network一致,在我的环境中,由dhcp提供metadata,就没有在计算节点上再配置metadata 服务
参考链接
https://wiki.openstack.org/wiki/Neutron/DVR/HowTo
http://docs.openstack.org/networking-guide/scenario_dvr_ovs.html
页:
[1]