infix icon indicating copy to clipboard operation
infix copied to clipboard

test: Extract a common "netns service" base class

Open wkz opened this issue 1 month ago • 0 comments

Description

We have a bunch of things that create processes that run inside a netns (DHCP servers, tcpdump instances etc.)

These share a bunch of behavior:

  • Creates and manages a subprocess (with proper termination semantics etc.)
  • Should be usable as context managers
  • Should be usable with explicit .start()/.stop() methods
  • ...maybe more?

It would be good if we had a common implementation for this.

Additional Information

No response

General Information

Anyone can help out by sponsoring development of new features or contributing pull requests. Please use this issue for discussions related to the feature.

wkz avatar Nov 18 '25 09:11 wkz