Skip to content

test: Extract a common "netns service" base class #1265

@wkz

Description

@wkz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions