Commit Graph
1 Commits
Author SHA1 Message Date
Audric 2e0e501ca5 test(routable): add transit-chain topology + failing routable-prefix tests
Adds an isolated 4-node chain topology (leaf → natlit → natlde → far) to
exercise the planned ROUTABLE_PREFIXES feature. TG 26305 is owned by `far`
(prefix 263) which is unreachable from `leaf` without transit; test_01
asserts forward + return audio delivery and fails until the C++ feature lands.
test_02 asserts that BLACKLIST_TGS=26307 on leaf's uplink vetoes that specific
TG while leaving 26305 unaffected.

Files added/modified:
  tests/topology.py          — ROUTABLE_REFLECTORS dict + port/secret helpers
  tests/generate_configs.py  — generate_routable_reflector_conf/docker_compose +
                               ROUTABLE_PREFIXES/BLACKLIST_TGS emission in
                               per-peer trunk loop; routable in default run
  tests/test_routable.py     — new test file (mirrors test_twin.py pattern)
  tests/docker-compose.routable.yml — generated chain compose (4 services)
2026-06-15 11:59:46 +02:00