neutron/neutron/tests/unit
zhouhenglc cfc0678caf [ovn]support read chassis update time from nb_cfg_timestamp
nb_cfg_timestamp: The timestamp when ovn-controller finishes
processing the change corresponding to nb_cfg[1]. it can better
reflect the status of chassis.

This patch updated some unit tests. ensure mock 'time.time' is
stopped after test. if not stop, may affect "timeutils.utcnow_ts"
to obtain the real time, cause test case
'test_agent_with_nb_cfg_timestamp_not_timeout' failure.

Partial-bug: #1938478
[1] https://www.ovn.org/support/dist-docs/ovn-sb.5.html

Conflicts:
  neutron/plugins/ml2/drivers/ovn/agent/neutron_agent.py
  neutron/tests/unit/plugins/ml2/drivers/ovn/mech_driver/test_mech_driver.py

Change-Id: Ia74a9404411862dc88b48c4a198d5c53f5f52704
(cherry picked from commit 9e263dcf00)
2022-06-29 13:29:26 +00:00
..
agent [ovn]support read chassis update time from nb_cfg_timestamp 2022-06-29 13:29:26 +00:00
api Pass host parameter to the get_network_info method 2022-02-01 08:28:15 +01:00
cmd Add upgrade check for extra DHCP options 2022-01-13 20:40:42 +01:00
common [OVN]Any string type dhcp options should be quoted 2022-06-15 13:42:24 +00:00
conf Merge "Add ndp proxy policy rules" 2022-02-23 03:18:12 +00:00
core_extensions Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
db Set "type=virtual" for OVN LSP with parent ports 2022-05-20 21:52:21 +00:00
debug Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
extensions Fix typos in log/error messages 2022-06-19 07:20:01 +00:00
hacking Remove "six" library 2020-07-28 16:55:52 +00:00
ipam Remove exception ``IpAddressAllocationNotFound`` 2022-03-17 06:25:30 +00:00
notifiers Use a thread local variable to store the Nova Notifier enable flag 2022-02-02 08:03:38 +00:00
objects Optimize queries for port operations 2022-06-20 15:18:03 +00:00
pecan_wsgi Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
plugins [ovn]support read chassis update time from nb_cfg_timestamp 2022-06-29 13:29:26 +00:00
privileged Add retry for privsep get_link_devices 2022-05-16 15:39:45 +02:00
quota Replace "tenant_id" with "project_id" in Quota engine 2021-09-22 08:27:10 +00:00
scheduler Fix dynamic segment allocation race condition 2021-10-07 13:20:04 +02:00
services [OVN] Handle missing acls during log removal 2022-05-17 13:34:42 +00:00
tests Merge "Replace assertItemsEqual with assertCountEqual" 2021-04-26 19:12:38 +00:00
__init__.py Don't set use_stderr to False for tests 2017-04-15 01:41:29 +00:00
_test_extension_portbindings.py Deprecate 'allow_overlapping_ips' config option 2021-10-21 10:56:33 +00:00
dummy_plugin.py Remove Neutron LBaaS 2019-09-20 07:46:06 +00:00
extension_stubs.py Consume ServicePluginBase from neutron-lib 2017-03-17 12:06:57 -06:00
fake_resources.py [ovn]Refusing to bind port to dead agent 2022-05-17 23:02:38 +00:00
test_auth.py Fix context deprecation warnings 2018-02-13 15:02:49 -05:00
test_manager.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_neutron_plugin_base_v2.py Add unit test to validate non DB base core plugin can be loaded 2017-11-15 21:21:35 +00:00
test_opts.py Provide the rpc_response_max_timeout parameter to sriov-agent 2021-06-06 23:56:14 +09:00
test_policy.py Handle properly InvalidScope exceptions to not return error 500 2022-04-20 14:51:05 +00:00
test_service.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_worker.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_wsgi.py Disable tracebacks of eventlet.wsgi.server 2022-01-11 09:33:12 +01:00
testlib_api.py Remove usage of six.text_type and six.string_type 2020-05-22 14:02:55 -04:00