> For the complete documentation index, see [llms.txt](https://yeasy.gitbook.io/openstack_code_neutron/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://yeasy.gitbook.io/openstack_code_neutron/neutron/agent/l3_ha_agentpy.md).

# l3\_ha\_agent.py

L3 的 HA 主要是通过 VRRP 来实现的，这里定义了两个类。

* AgentMixin
* RouterMixin

这两个类中都实现了跟 HA 相关的一些方法，供 L3 Agent 使用。
