feat(network): expose ACL v2 policies - #40
Open
tianyuzhou95 wants to merge 2 commits into
Open
Conversation
Add backend-neutral Python types for bidirectional IPv4 traffic and DNS policies, plus a creation-time egress allowlist helper. Normalize domains, CIDRs, protocols, ranges, and priorities in the SDK and translate the model to the openYuanRong sandbox backend. Advance YuanRong and sandboxd to the matching ACL v2 implementations and prepare standalone, Helm, and Terraform nodes with the required iptables, ipset, conntrack, bridge-netfilter, or eBPF capabilities. Document runtime semantics, host requirements, and migration constraints, and cover the new public contract with SDK and deployment tests. Signed-off-by: Tianyu Zhou <albert.zty@antgroup.com>
tianyuzhou95
force-pushed
the
albert/acl-v2
branch
from
August 25, 2026 06:19
c9e7b4d to
5fb7235
Compare
Point the bundled sandboxd submodule at the ACL v2 commit rebased onto the current sandboxd main branch. This keeps the AKernel integration branch consumable after the sandboxd history rewrite while retaining the upstream checkpoint and restore changes and its runtime CI fix. Signed-off-by: Tianyu Zhou <albert.zty@antgroup.com>
tianyuzhou95
force-pushed
the
albert/acl-v2
branch
from
August 25, 2026 06:28
5fb7235 to
d5663af
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
NetworkRule,TrafficPolicy,DNSRule, andDNSPolicyvalue types plus an egress allowlist helperranges, priorities, and stateful or stateless enforcement while retaining
the existing block and DNS-deny helpers
and keep the SDK guide, maintained example, and deployment requirements in
sync
all-in-one image
Dependencies
openyuanrong-sandbox==0.10.0The Python CI jobs cannot install the unreleased
openyuanrong-sandboxversion yet. The standalone CI job likewise cannot fetch the pinned sandboxd
commit from the upstream submodule URL until inclusionAI/sandboxd#31 lands.
The coordinated source revisions were tested together as described below.
Testing
make sdk-checkwith the matching YuanRong sandbox SDK: 249 tests, Ruff,and Mypy
make deploy-script-check