[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.
Reviewed: https:/ /review. opendev. org/c/openstack /neutron/ +/869349 /opendev. org/openstack/ neutron/ commit/ d34afc5c13b0251 c51f8c493b33190 0a46737512
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/wallaby
commit d34afc5c13b0251 c51f8c493b33190 0a46737512
Author: zhouhenglc <email address hidden>
Date: Thu Jul 29 15:49:39 2021 +0800
[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 utcnow_ ts" agent_with_ nb_cfg_ timestamp_ not_timeout' failure.
stopped after test. if not stop, may affect "timeutils.
to obtain the real time, cause test case
'test_
Partial-bug: #1938478 /www.ovn. org/support/ dist-docs/ ovn-sb. 5.html
[1] https:/
Conflicts: plugins/ ml2/drivers/ ovn/agent/ neutron_ agent.py tests/unit/ plugins/ ml2/drivers/ ovn/mech_ driver/ test_mech_ driver. py tests/unit/ agent/l2/ extensions/ dhcp/test_ ipv6.py
neutron/
neutron/
neutron/
Change-Id: Ia74a9404411862 dc88b48c4a198d5 c53f5f52704 102a54f5e681bcf 09931f3a72) c002fc56a878275 a94dc11b94) d121ead816018ca 6efcc78f56)
(cherry picked from commit 9e263dcf00b7ddc
(cherry picked from commit cfc0678caf39a5e
(cherry picked from commit 538712635cdccb5