neutron-dynamic-routing/neutron_dynamic_routing
Benoît Knecht 4780fe548b bgp: Gracefully handle missing last_known_router_id
When a server is deleted before its floating IP has been disassociated,
the notification doens't contain a `last_known_router_id` key, which
results in a `KeyError` exception being thrown.

This commit gracefully handles this situation by setting
`last_router_id` to `None` when `last_known_router_id` is missing.

Change-Id: If127a33cec7ce6c4d264a191df37c30decab4daa
Closes-Bug: #1795816
2019-06-14 10:30:12 +02:00
..
api Add agent_updated to BgpDrAgentNotifyApi notifier 2019-01-11 14:54:00 +01:00
cmd Drop use of neutron's eventlet utility function 2016-10-14 10:58:21 -07:00
db stop using common_db_mixin 2019-03-28 11:47:38 -06:00
extensions Fix TypeError for BgpSpeakerRescheduleError 2018-03-06 19:16:22 +09:00
policies Convert policy.json into policy-in-code 2018-12-18 21:28:51 +00:00
services bgp: Gracefully handle missing last_known_router_id 2019-06-14 10:30:12 +02:00
tests Convert CI jobs to python 3 2019-05-21 13:58:53 -05:00
__init__.py Use flake8-import-order plugin 2017-07-07 07:06:10 +00:00
_i18n.py Prepare initial sandbox for neutron-dynamic-routing 2016-04-23 04:11:57 +00:00
version.py Prepare initial sandbox for neutron-dynamic-routing 2016-04-23 04:11:57 +00:00