neutron/neutron/tests/unit/agent/l3
Assaf Muller 822ad5f06b Force L3 agent to resync router it could not configure
If the L3 agent fails to configure a router, commit:
4957b5b435 changed it so
that instead of performing an expensive full sync, only that
router is reconfigured. However, it tries to reconfigure the
cached router. This is a change of behavior from the fullsync
days. The retry is more likely to succeed if the
router is retrieved from the server, instead of using
the locally cached version, in case the user or operator
fixed bad input, or if the router was retrieved in a bad
state due to a server-side race condition.

Note that this is only relevant to full syncs, as those retrieve
routers from the server and queue updates with the router object.
Incremental updates queue up updates without router objects,
so if one of those fails it would always be resynced on a
second attempt.

Related-Bug: #1494682
Change-Id: Id0565e11b3023a639589f2734488029f194e2f9d
2015-12-19 14:51:47 -05:00
..
__init__.py Move extra routes processing to router classes 2015-02-05 10:25:45 -05:00
test_agent.py Force L3 agent to resync router it could not configure 2015-12-19 14:51:47 -05:00
test_dvr_fip_ns.py Merge "Remove deprecated namespace deletion options" 2015-10-23 15:45:28 +00:00
test_dvr_local_router.py Merge "Remove deprecated use_namespaces option" 2015-11-19 14:45:43 +00:00
test_fip_rule_priority_allocator.py Preserve DVR FIP rule priority over Agent restarts 2015-08-12 15:52:19 -05:00
test_ha_router.py Merge "Remove deprecated use_namespaces option" 2015-11-19 14:45:43 +00:00
test_item_allocator.py Use assertIn and assertNotIn 2015-10-05 20:47:18 +02:00
test_legacy_router.py Delete gateway conntrack state when remove external gateway 2015-09-09 09:24:40 +08:00
test_link_local_allocator.py Preserve DVR FIP rule priority over Agent restarts 2015-08-12 15:52:19 -05:00
test_namespace_manager.py Remove deprecated use_namespaces option 2015-11-18 19:17:29 +01:00
test_router_info.py Remove deprecated use_namespaces option 2015-11-18 19:17:29 +01:00
test_router_processing_queue.py Document self.assertEqual(expected, observed) pattern 2015-10-06 01:03:53 +02:00