neutron/neutron/tests
Pierre Riteau 177956506e Normalise format of OVN agent heartbeat timestamp
A recent change [1] to show the real heartbeat timestamp from OVN agents
had a side effect of changing the timestamp format, which now includes a
timezone:

    +-------------------+----------------------------------+
    | Field             | Value                            |
    +-------------------+----------------------------------+
    | last_heartbeat_at | 2023-02-23 14:12:07.471000+00:00 |
    +-------------------+----------------------------------+

This unexpected format change causes some clients to fail to parse the
response to GET /v2.0/agents.

Normalise the format of the timestamp to remove timezone information.
Also remove the microsecond part, which was not done for OVN, but is
absent from other network agents.

[1] https://review.opendev.org/c/openstack/neutron/+/844179

Closes-Bug: #2008257
Change-Id: I75a37fb9b49a421e4524da6b56ef8362ceb6107b
(cherry picked from commit 827fbd01c3)
2023-02-27 12:42:19 +00:00
..
common [Fullstack] Wait 10 seconds to ensure that MAC address is configured 2022-12-22 15:45:05 +00:00
contrib Add "quota-check-limit" extension to OVN extension list 2021-11-26 09:50:26 +00:00
etc Convert policy.json into policy-in-code 2018-12-13 20:37:53 +00:00
fullstack Fullstack: Wait placement process fixtrue to really stop 2023-02-07 10:36:29 +00:00
functional Normalise format of OVN agent heartbeat timestamp 2023-02-27 12:42:19 +00:00
unit Normalise format of OVN agent heartbeat timestamp 2023-02-27 12:42:19 +00:00
var
__init__.py
base.py Dont raise RouterInterfaceNotFound on overlap check router ports 2022-12-07 10:18:21 +01:00
post_mortem_debug.py
tools.py Extend database to support portforwardings with port range 2022-03-15 09:10:23 -03:00