]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Avoid full_sync in l3_agent for router updates
authorSudhakar Babu Gariganti <sudhakar-babu.gariganti@hp.com>
Wed, 16 Sep 2015 10:23:57 +0000 (15:53 +0530)
committerSudhakar Babu Gariganti <sudhakar-babu.gariganti@hp.com>
Mon, 7 Dec 2015 08:49:24 +0000 (14:19 +0530)
commit4957b5b43521a61873a041fe3e8989ed399903d9
treee5fb9933c0c247d7580d337e99f042b6aa673bff
parente3a531a1fa681d7a4aa169b9420f22f068691cbd
Avoid full_sync in l3_agent for router updates

While processing a router update in _process_router_update method,
if an exception occurs, we try to do a full_sync.

We only need to re-sync the router whose update failed.

Addressed a TODO in the same method, which falls in similar lines.

Change-Id: I7c43a508adf46d8524f1cc48b83f1e1c276a2de0
Closes-Bug: #1494682
neutron/agent/l3/agent.py
neutron/tests/unit/agent/l3/test_agent.py