wheat 发表于 2018-6-1 11:55:10

openstack kilo 配置dvr

  配置neutron-server
  编辑/etc/neutron/neutron.conf

router_distributed = True  编辑/etc/neutron/plugins/ml2/ml2_conf.ini,添加l2population

mechanism_drivers = openvswitch,l2population  配置network节点

  配置L2,编辑/etc/neutron/plugins/ml2/ml2_conf.ini

mechanism_drivers = openvswitch,l2population

...
l2_population = True
enable_distributed_routing = True
arp_responder = True  配置L3,编辑/etc/neutron/l3_agent.ini

agent_mode = dvr_snat  配置计算节点
  配置L2 agent

mechanism_drivers = openvswitch,l2population

...
l2_population = True
enable_distributed_routing = True
arp_responder = True  配置L3 agent,配置参数除agent_mode,其余和网络节点一致

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
  http://iceyao.blog.51cto.com/9426658/1594037
  http://yeasy.gitbooks.io/openstack_understand_neutron/content/dvr/scenario.html
页: [1]
查看完整版本: openstack kilo 配置dvr