neutron/neutron/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 usage of six.add_metaclass 2020-05-21 14:41:18 -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 Don't register config options on imports 2022-04-13 05:49:15 +00:00
mech_sriov ml2: Use the base module to register common ml2 agent config 2022-06-24 12:58:31 +00: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 Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
helpers.py Randomize segmentation ID assignation 2021-03-24 13:56:09 +00:00
mech_agent.py ml2/mech: bind port on segment that subnet belongs 2022-09-02 12:09:20 +02:00
type_flat.py Use network segment ranges for segment allocation 2019-03-09 22:04:20 +00:00
type_geneve.py Use network segment ranges for segment allocation 2019-03-09 22:04:20 +00:00
type_gre.py Use network segment ranges for segment allocation 2019-03-09 22:04:20 +00:00
type_local.py Use network segment ranges for segment allocation 2019-03-09 22:04:20 +00:00
type_tunnel.py Add the corresponding DB context to all SQL transactions 2022-04-08 09:09:54 +00:00
type_vlan.py Fix VLAN driver tests 2021-03-16 15:43:33 +00:00
type_vxlan.py Use network segment ranges for segment allocation 2019-03-09 22:04:20 +00:00