tractor/tests/discovery
Gud Boi 2245f09432 Own WireGuard interface lifecycles
Add `open_wg_iface()` to create, configure and remove one WireGuard
interface inside a pinned bindspace through pyroute2.

Deats,
- validate listen/dial bearer policy before kernel side effects
- configure local addresses, private key, listen port and peers
- fill an omitted dial endpoint from the selected tunnel bearer
- clean partial synchronous failures before returning to Trio
- shield owned interface creation and teardown from cancellation

Prompt-IO: ai/prompt-io/opencode/20260826T003430Z_6dd39da0_prompt_io.md

(this patch was generated in some part by `opencode` using `gpt-5.6-sol` (`openai`))
2026-08-25 22:16:15 -04:00
..
__init__.py Add `test_multiaddr.py` suite for `mk_maddr()` 2026-04-14 19:54:14 -04:00
conftest.py Mv `daemon` + `test_multi_program` to `discovery/` 2026-06-17 17:39:44 -04:00
test_address_serialization.py Emit canonical tagged addresses 2026-08-20 10:42:18 -04:00
test_bindspace.py Dispatch explicit bindspace lifecycles 2026-08-25 19:33:12 -04:00
test_multi_program.py Use `aid.uid` over manual `(name, uuid)` tuples 2026-06-27 21:38:30 -04:00
test_multiaddr.py Emit canonical tagged addresses 2026-08-20 10:42:18 -04:00
test_registrar.py Harden `test_registrar` with reap fixtures, timeouts 2026-06-17 17:39:44 -04:00
test_tpt_bind_addrs.py Emit canonical tagged addresses 2026-08-20 10:42:18 -04:00
test_tunnelled_addr.py Expose tunnel namespaces on IPC endpoints 2026-08-21 23:57:24 -04:00
test_wg_config.py Model explicit WireGuard peers 2026-08-25 20:28:28 -04:00
test_wg_iface_lifecycle.py Own WireGuard interface lifecycles 2026-08-25 22:16:15 -04:00
test_wg_inspection.py Add explicit `verify_wg_peer()` inspection 2026-08-21 23:19:17 -04:00