spiegel_podman/pkg/specgen/generate
Matthew Heon 5e94c95ad0 Move to deterministic network setup order
This was implemented by containers/netavark #1369; this commit
completes the process by wiring it into Podman. We now respect
the CLI order for configured networks - if a user passes
`--net net1,net2` we guarantee that net1 will be configured
before net2.

For containers created before this patch, we don't retain enough
information to configure networks in CLI order, so we use
alphabetical order instead to still guarantee consistency.

No breaking API changes have been made, but we do add a new
field to supplement the existing map to (optionally) provide
ordering information. The Podman CLI will always pass this.
Existing applications that do not will, again, receive]
deterministic ordering based on an alphabetical sort of network
names.

This requires the latest version of Netavark to work properly.

Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2026-04-17 10:00:32 -04:00
..
kube api/compat: switch to moby/moby 2026-03-09 11:09:23 +01:00
config_common.go enable gofumpt formatter 2025-11-11 12:32:46 +01:00
config_common_test.go Fix: Improve error message for empty device modes in API requests 2025-07-31 16:24:29 +00:00
config_freebsd.go lint: reenable revive unused-parameter check 2025-10-01 10:42:08 -04:00
config_linux.go add missing O_CLOEXEC to open calls 2026-04-02 15:06:37 +02:00
config_linux_seccomp.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
config_linux_test.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
container.go Move to deterministic network setup order 2026-04-17 10:00:32 -04:00
container_create.go Merge pull request #28454 from aadi58002/main 2026-04-15 14:33:24 +02:00
container_create_test.go specgen: fix pod mount options leaking between mounts 2026-03-10 09:14:38 +01:00
namespaces.go Move to deterministic network setup order 2026-04-17 10:00:32 -04:00
namespaces_freebsd.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
namespaces_linux.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
oci.go Make most of libpod, and everything that relies on it, non-darwin 2026-02-27 22:18:36 +01:00
oci_freebsd.go Merge pull request #26445 from aaron-ang/update-ulimit 2026-01-16 08:38:00 -05:00
oci_linux.go Remove Slirp network mode constant and error on usage 2026-04-13 08:22:36 -04:00
pause_image.go Make most of libpod, and everything that relies on it, non-darwin 2026-02-27 22:18:36 +01:00
pod_create.go Remove Slirp network mode constant and error on usage 2026-04-13 08:22:36 -04:00
pod_create_test.go Remove Slirp network mode constant and error on usage 2026-04-13 08:22:36 -04:00
ports.go Make most of libpod, and everything that relies on it, non-darwin 2026-02-27 22:18:36 +01:00
ports_bench_test.go Make most of libpod, and everything that relies on it, non-darwin 2026-02-27 22:18:36 +01:00
ports_test.go Make most of libpod, and everything that relies on it, non-darwin 2026-02-27 22:18:36 +01:00
security_freebsd.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
security_linux.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
storage.go Merge pull request #28166 from mtrmac/platform-restriction 2026-03-03 10:27:57 -05:00
storage_freebsd.go Switch common, storage and image to monorepo. 2025-09-01 12:33:04 +02:00
storage_linux.go lint: reenable revive unused-parameter check 2025-10-01 10:42:08 -04:00
validate_freebsd.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
validate_linux.go pkg/specgen/generate/validate_linux.go: Remove Cgroups v1 2025-11-12 15:15:33 -05:00