tractor/tests/discovery
Gud Boi 9bbf0d7808 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-29 22:00:29 -04:00
..
__init__.py Add `test_multiaddr.py` suite for `mk_maddr()` 2026-04-14 19:54:14 -04:00
conftest.py Document stable macOS UDS operation 2026-08-14 10:37:19 -04:00
test_address_serialization.py Emit canonical tagged addresses 2026-08-29 22:00:16 -04:00
test_bindspace.py Dispatch explicit bindspace lifecycles 2026-08-29 22:00:29 -04:00
test_daemon_fixture.py Move registrar probes to `discovery._api` 2026-08-14 18:43:36 -04:00
test_multi_program.py Clarify owned-child hard-reap docs 2026-08-25 15:56:38 -04:00
test_multiaddr.py Emit canonical tagged addresses 2026-08-29 22:00:16 -04:00
test_registrar.py Name every `ActorNursery` binding `an` in tests/examples 2026-08-25 19:19:28 -04:00
test_tpt_bind_addrs.py Emit canonical tagged addresses 2026-08-29 22:00:16 -04:00
test_tunnelled_addr.py Expose tunnel namespaces on IPC endpoints 2026-08-29 22:00:29 -04:00
test_wg_config.py Model explicit WireGuard peers 2026-08-29 22:00:29 -04:00
test_wg_iface_lifecycle.py Own WireGuard interface lifecycles 2026-08-29 22:00:29 -04:00
test_wg_inspection.py Add explicit `verify_wg_peer()` inspection 2026-08-29 22:00:29 -04:00