neutron/neutron/tests/unit/plugins/ml2/drivers
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
..
agent Dont use dict.get() to know certain key is in dict 2018-07-25 16:08:42 +09:00
l2pop Don't skip DVR port while neutron-openvswitch-agent is restared. 2018-06-05 01:07:40 +00:00
linuxbridge [Linuxbridge] Handle properly too big VXLAN MTU values 2018-04-24 12:16:43 +02:00
macvtap use common agent topics from neutron-lib 2018-03-13 11:35:50 -06:00
mech_sriov Merge "SR-IOV agent should specify host when requesting devices info" 2018-04-06 22:33:08 +00:00
openvswitch Merge "of_interface: Implement bundled() method" 2018-05-11 18:39:24 +00:00
__init__.py Reorganize unit test tree 2015-04-06 23:28:31 +00:00
base_type_tunnel.py use plugin constants from neutron-lib 2017-10-16 09:32:20 -06:00
ext_test.py Revert "Revert "objects: get, update and delete converted to Subnet OVO usage"" 2017-12-01 16:45:50 +07:00
mech_fake_agent.py use plugin constants from neutron-lib 2017-10-16 09:32:20 -06:00
mech_faulty_agent.py Exit on failure to load mechanism drivers 2017-04-11 09:56:08 -05:00
mechanism_logger.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
mechanism_test.py Fix all pep8 E129 errors 2018-05-03 13:44:04 +09:00
test_helpers.py Spin off context module 2017-03-06 16:25:29 +00:00
test_type_flat.py use plugin constants from neutron-lib 2017-10-16 09:32:20 -06:00
test_type_geneve.py use plugin constants from neutron-lib 2017-10-16 09:32:20 -06:00
test_type_gre.py use plugin constants from neutron-lib 2017-10-16 09:32:20 -06:00
test_type_local.py use plugin constants from neutron-lib 2017-10-16 09:32:20 -06:00
test_type_vlan.py use plugin common utils from neutron-lib 2018-04-17 12:06:28 -06:00
test_type_vxlan.py use plugin constants from neutron-lib 2017-10-16 09:32:20 -06:00