]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Remove broad exception catch from periodic_sync_routers_task
authorCarl Baldwin <carl.baldwin@hp.com>
Tue, 28 Oct 2014 17:30:55 +0000 (17:30 +0000)
committerCedric Brandily <zzelle@gmail.com>
Thu, 11 Dec 2014 15:37:05 +0000 (15:37 +0000)
commit45340e5e7ddb1b1ba98d8bcf1153769b98ca0084
treef8bea9857a01307e51a44e796aaa7d3622c0ebb2
parent6f2231a7095f21e556124af3b2f3d54f284a1ef9
Remove broad exception catch from periodic_sync_routers_task

Although this change removes a broad exception from
periodic_sync_routers_task (neutron.agent.l3_agent), the
implementation still ensures if an exception --caught or uncaught --
prevents a call to the method to disable the fullsync, then the next
call to the method will perform a fullsync again.

Author:         Cedric Brandily <zzelle@gmail.com>
Co-Authored-By: Carl Baldwin <carl.baldwin@hp.com>
Change-Id: I6281886f3334100a18952578250c8154a0ed15a9
neutron/agent/l3/agent.py
neutron/tests/unit/test_l3_agent.py