neutron/neutron/tests
Yuki Nishiwaki b803195a99 Dont use dict.get() to know certain key is in dict
In CommonAgentLoop class, there is logic to detect tap device is changed
locally or not by comparing timestamp with previous.
Sometimes timestamp value could be None depending on the timing (see bug/1781129)

But current _get_devices_locally_modified logic can not detect local
change from None to something because _get_devices_locally_modified
function don't always compare if previous timestamp value was None.

In order not to miss updated device always, better not to use dict.get() to
know previous iteration have timestamp or not.

Change-Id: Ib0361ad5c281f88558e8e048cfec588b9f9b1de4
Closes-Bug: #1781129
2018-07-25 16:08:42 +09:00
..
common Avoid agents adding ports as trunk by default. 2018-05-09 14:07:27 +02:00
contrib Merge "Add support to regenerate port mac_address" 2018-06-29 23:36:14 +00:00
etc Re-order items in policy.json 2018-04-17 14:26:01 +00:00
fullstack Merge "Skip MTU check during deletion of Networks" 2018-07-03 19:47:18 +00:00
functional Merge "DVR: Self recover from the loss of 'fg' ports in FIP Namespace" 2018-06-27 14:23:57 +00:00
tempest Removing remaining Tempest bits 2018-03-26 11:41:35 -05:00
unit Dont use dict.get() to know certain key is in dict 2018-07-25 16:08:42 +09:00
var
__init__.py Avoid eventlet monkey patching for the tempest plugin 2016-04-29 22:47:24 -05:00
base.py Switch to oslo_messaging.ConfFixture.transport_url 2018-06-05 12:33:55 +10:00
fake_notifier.py FakeNotifier class 'topic' argument change to 'topics'. 2017-12-04 20:10:03 +01:00
post_mortem_debug.py Cleanup recent generalization in post mortem debugger 2014-12-04 15:28:11 +01:00
tools.py pecan.jsonify v1.3 adjustment 2018-04-18 15:37:20 +00:00