配置 L3 agent - 每天5分钟玩转 OpenStack(99)

简介: 上一节我们介绍了路由服务(Routing)的基本功能,今天教大家如何配置。Neutron 的路由服务是由 l3 agent 提供的。 除此之外,l3 agent 通过 iptables 提供 firewall 和 floating ip 服务。

上一节我们介绍了路由服务(Routing)的基本功能,今天教大家如何配置。

Neutron 的路由服务是由 l3 agent 提供的。 除此之外,l3 agent 通过 iptables 提供 firewall 和 floating ip 服务。

l3 agent 需要正确配置才能工作,配置文件为 /etc/neutron/l3_agent.ini,位于控制节点或网络节点上。

interface_driver 是最重要的选项,如果 mechanism driver 是 linux bridge,则:

interface_driver = neutron.agent.linux.interface.BridgeInterfaceDriver

如果选用 open vswitch,则:

interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver

l3 agent 运行在控制或网络节点上。

可以看到 l3 agnet 已经正常启动,下节我们就来创建 router。

 

blob.png

目录
相关文章
|
域名解析
OpenStack使用neutron agent-list缺少组件
OpenStack使用neutron agent-list缺少组件
223 0
OpenStack使用neutron agent-list缺少组件
|
API 数据安全/隐私保护 对象存储