spiegel_podman/test/apiv2/python/rest_api
Marek Simek 612c7b71b4
api: Deprecate response fields from GET /containers/{id}/json
The Docker API 1.44 deprecates the fields HairpinMode, LinkLocalIPv6Address,
LinkLocalIPv6PrefixLen, SecondaryIPAddresses, SecondaryIPv6Addresses available in
NetworkSettings when calling GET /containers/{id}/json and will be removed in a future release.
You should instead look for the default network in NetworkSettings.Networks.

The fields are removed in 1.52. Version gate SecondaryIPAddresses, SecondaryIPv6Addresses
in the handler and update test. HairpinMode, LinkLocalIPv6Address, LinkLocalIPv6PrefixLen
are not returned by the compat endpoint as the response is serialized
to the moby/moby/api structure missing these fields.

Fixes: https://redhat.atlassian.net/browse/RUN-3323

Signed-off-by: Marek Simek <msimek@redhat.com>
2026-07-08 17:31:02 +02:00
..
fixtures move the python API tests to the cache registry 2026-04-23 13:18:13 +02:00
__init__.py Break up python APIv2 tests 2021-05-18 08:39:35 -07:00
test_v2_0_0_artifact.py move the python API tests to the cache registry 2026-04-23 13:18:13 +02:00
test_v2_0_0_container.py api: Deprecate response fields from GET /containers/{id}/json 2026-07-08 17:31:02 +02:00
test_v2_0_0_image.py api: Deprecate is-automated filter and field in GET /images/search endpoint 2026-07-08 17:31:02 +02:00
test_v2_0_0_manifest.py Break up python APIv2 tests 2021-05-18 08:39:35 -07:00
test_v2_0_0_network.py Remove CNI-specific test cases 2026-01-27 16:32:38 +05:30
test_v2_0_0_pod.py Break up python APIv2 tests 2021-05-18 08:39:35 -07:00
test_v2_0_0_system.py Add missing security options to /info response 2023-04-16 18:27:16 +02:00
test_v2_0_0_volume.py volume prune: match Docker default and add --all 2026-03-19 13:40:45 +01:00
v1_test_rest_v1_0_0.py Fix documentation of use of tcp connections 2022-08-23 16:12:08 -04:00