Skip to content

feat(runtime): attach SandboxViaOci Bridge veth peer to Box Linux bridge - #491

Merged
ZhiXiao-Lin merged 1 commit into
mainfrom
feat/b3-sandbox-bridge-fabric
Sep 17, 2026
Merged

ZhiXiao-Lin merged 1 commit into
mainfrom
feat/b3-sandbox-bridge-fabric

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown

Summary

  • Under keep-authority Bridge staging, ensure a deterministic Box-owned Linux bridge (a3sb + network hash), enslave the veth peer, and bring it UP for L2 between same-network endpoints.
  • Container end stays unbridged so OCI Create can move it. Idle bridges are deleted when the last peer is torn down.
  • Does not add CNI/NAT/published ports/DNS, unlock Compose named networks, flip b2_process_session_recovery_closed, or close ROADMAP B3/B2.

Test plan

  • cargo check -p a3s-box-runtime
  • Linux CI: local_execution::oci_host_netdevice unit tests
  • Matched-root lab: two Bridge sandboxes; peer master a3sb*; L2 by NetworkStore IP

Made with Cursor

Keep-authority path enslaves the host peer on a deterministic a3sb* bridge for L2; container end stays Create-movable. Idle bridges deleted on last teardown. Keeps B3/B2 open.

Co-authored-by: Cursor <[email protected]>
@ZhiXiao-Lin
ZhiXiao-Lin merged commit b68bee3 into main Sep 17, 2026
4 of 7 checks passed
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