Skip to content

Detect Podman netavark management bridges - #3277

Open
orrious wants to merge 3 commits into
srl-labs:mainfrom
orrious:feature/podman-netavark-mgmt-bridge
Open

Detect Podman netavark management bridges#3277
orrious wants to merge 3 commits into
srl-labs:mainfrom
orrious:feature/podman-netavark-mgmt-bridge

Conversation

@orrious

@orrious orrious commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Summary

Detect the actual Linux bridge backing a Podman netavark management network instead of assuming Docker's generated br-<id> naming convention.

  • read netavark's network_interface field from the raw network inspect response
  • fall back to Podman's libpod network endpoint when the compatibility response omits that field
  • retain Docker bridge-name handling as the final fallback
  • preserve current behavior for non-bridge Docker networks
  • document the fix in the release notes

Validation

  • Linux Go 1.26.5: go test ./runtime/docker

@orrious
orrious force-pushed the feature/podman-netavark-mgmt-bridge branch from 3bbb5e3 to ccf195f Compare July 29, 2026 00:19
@orrious

orrious commented Jul 29, 2026

Copy link
Copy Markdown
Contributor Author

Rebased this branch onto current main, added the missing release-note entry, and force-pushed the updated head.

Current head: ccf195fef

Validation completed on the real lab runners:

  • x86 runner: go test ./runtime/docker passed
  • ARM runner: go test ./runtime/docker passed

@orrious
orrious force-pushed the feature/podman-netavark-mgmt-bridge branch from ccf195f to fc9e115 Compare August 5, 2026 13:15
@orrious
orrious force-pushed the feature/podman-netavark-mgmt-bridge branch from fc9e115 to 13fadfc Compare August 25, 2026 17:57
@orrious
orrious force-pushed the feature/podman-netavark-mgmt-bridge branch from 13fadfc to 5078b26 Compare August 27, 2026 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant