Skip to content

Restructure cvdalloc to use nftables + Test cvdalloc using the host sandbox - #2878

Draft
dxapd wants to merge 7 commits into
google:mainfrom
dxapd:nftables-cvdalloc-1
Draft

Restructure cvdalloc to use nftables + Test cvdalloc using the host sandbox#2878
dxapd wants to merge 7 commits into
google:mainfrom
dxapd:nftables-cvdalloc-1

Conversation

@dxapd

@dxapd dxapd commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

This is a huge PR, but thankfully it has two mostly separate logical pieces.

First, the changes to cvdalloc itself. In the process of migrating cvdalloc to use nftables, I thought it would be good to restructure it to enforce rule cleanup using RAII.

Second, sandboxed testing for cvdalloc. This is building on #2959 to do snapshot-based diff testing of the host's state during cvdalloc runs, so we can more accurately test that cvdalloc makes the right changes to the state of the host system.

These live in separate folders, so they can be reviewed (mostly) separately, but I think they should go in together.

@dxapd dxapd added the kokoro:force-run Trigger a presubmit build unconditionally. label Jul 21, 2026
@GoogleCuttlefishTesterBot GoogleCuttlefishTesterBot removed the kokoro:force-run Trigger a presubmit build unconditionally. label Jul 21, 2026
@dxapd
dxapd force-pushed the nftables-cvdalloc-1 branch from fab4f34 to 73880b5 Compare July 21, 2026 22:02
@dxapd dxapd added the kokoro:force-run Trigger a presubmit build unconditionally. label Jul 21, 2026
@GoogleCuttlefishTesterBot GoogleCuttlefishTesterBot removed the kokoro:force-run Trigger a presubmit build unconditionally. label Jul 21, 2026
@dxapd
dxapd force-pushed the nftables-cvdalloc-1 branch from 73880b5 to f53819a Compare August 5, 2026 23:47
@dxapd dxapd added the kokoro:force-run Trigger a presubmit build unconditionally. label Aug 5, 2026
@GoogleCuttlefishTesterBot GoogleCuttlefishTesterBot removed the kokoro:force-run Trigger a presubmit build unconditionally. label Aug 5, 2026
@dxapd
dxapd force-pushed the nftables-cvdalloc-1 branch 2 times, most recently from aeb023a to e09be53 Compare August 20, 2026 21:36
@dxapd
dxapd force-pushed the nftables-cvdalloc-1 branch from d6b7b65 to 6bce8cb Compare August 25, 2026 04:40
@dxapd dxapd changed the title cvdalloc nftables Restructure cvdalloc to use nftables + Test cvdalloc using the host sandbox Aug 25, 2026
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.

2 participants