neutron/neutron/tests/unit/plugins/ml2/drivers
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
..
agent Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
l2pop ovs: make vlanmanager to handle more vlan mapping per network 2022-09-01 14:48:08 +02:00
linuxbridge Implement experimental features framework 2022-06-30 17:59:49 -05:00
macvtap [OVN] Check new added segments in OVN mech driver 2021-11-23 16:21:37 +00:00
mech_sriov Change set_device_rate calls according to new signature 2022-04-08 09:51:34 +02:00
openvswitch Disable in-band management for bridges before setting up controllers 2022-10-18 07:03:14 +00:00
ovn Normalise format of OVN agent heartbeat timestamp 2023-02-27 12:42:19 +00:00
__init__.py
base_type_tunnel.py Remove "six" library 2020-07-28 16:55:52 +00: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 Fix remaining typos in comments and tests 2022-07-06 21:20:27 +05:30
mech_faulty_agent.py Exit on failure to load mechanism drivers 2017-04-11 09:56:08 -05:00
mechanism_logger.py Add diff log on mech_logger 2022-01-25 14:12:58 +01:00
mechanism_test.py Add "bound_drivers" information to port "vif_details" 2022-01-27 04:16:45 +00:00
test_helpers.py Fix VLAN driver tests 2021-03-16 15:43:33 +00:00
test_type_flat.py remove neutron.common.exceptions 2019-02-01 14:35:00 -07:00
test_type_geneve.py Use network segment ranges for segment allocation 2019-03-09 22:04:20 +00:00
test_type_gre.py Use network segment ranges for segment allocation 2019-03-09 22:04:20 +00:00
test_type_local.py use plugin constants from neutron-lib 2017-10-16 09:32:20 -06:00
test_type_vlan.py VLAN "allocate_partially_specified_segment" can return any physnet 2021-06-03 16:01:39 +00:00
test_type_vxlan.py Use network segment ranges for segment allocation 2019-03-09 22:04:20 +00:00