1257a3f203
For a HA router, when it's updated, the l3 agents which are standby always call the after_router_added method, then duplicate metadata rules are added to iptables table. Althrough these rules will not be applied to system because of the _weed_out_duplicates method, they will grow linearly with router update operations. Because these metadata rules are added once router is added to the agent and will not be cleaned until router is removed, calling the add_rule method in after_router_updated is a waste. This patch removes adding metadata rules in after_router_updated. Change-Id: I6650f1071499ed6cabd936bb0fb36b32a4b60bca Closes-Bug: #1658460 |
||
---|---|---|
.. | ||
__init__.py | ||
agent.py | ||
driver.py |