feat: add disruptoor support#1398
Conversation
🤖 qu0b-reviewerEverything is clean. 🫧 Summary: PR #1398 adds first-class support for the Disruptoor network-partitioning/shaping tool, including a full launcher module with a "friendly" config translator, integration into input parsing and Issues
Reviewed @ |
|
Updated the branch to use the released Validation passed: Disruptoor/Dora launched, CL health endpoints returned |
|
pari is the best boss ever |
Signed-off-by: Barnabas Busa <barnabas.busa@ethereum.org>
Summary
Adds
disruptooras anadditional_servicesoption for the ethereum-package.This wires in a disruptoor launcher that assumes Kurtosis privileged container support from kurtosis-tech/kurtosis#3091. The service is Docker-only and runs with privileged mode, host PID namespace, and a
/var/run/docker.sockbind mount so disruptoor can discover and manipulate the enclave containers.Config
Adds
disruptoor_paramswith image/resources/log settings plus three startup configuration paths:partitions: ethereum-package friendly partition config translated to disruptoor v1 stateshaping: ethereum-package friendly shaping config translated to disruptoor v1 stateconfig: raw native disruptoor v1 state escape hatchconfigis mutually exclusive withpartitionsandshaping. Empty config means no startup state is applied and the user can drive disruptoor through its HTTP API.Example:
Validation
git diff --checkgit diff --cached --checkkurtosis run --privileged/v1/stateapplied shapingPrivileged=true,PidMode=host, and/var/run/docker.sockmounted.github/tests/examples/disruptoor.yamllocally against this branch withethpandaops/disruptoor:latestand--image-download always; verified the latest image was pulled, the Disruptoor and Dora services wereRUNNING, CL health endpoints returned200, and Disruptoor logs showed partition rules installed plus shaping applied.Ready Status
Ready for merge after the required GitHub review/check gates pass.