neutron/neutron/agent/metadata
Quan Tian 1257a3f203 Don't add duplicate metadata rules after router update
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
2017-03-15 17:06:09 +08:00
..
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
agent.py Spin off context module 2017-03-06 16:25:29 +00:00
driver.py Don't add duplicate metadata rules after router update 2017-03-15 17:06:09 +08:00