add support for moving devices into the namespace

This commit is contained in:
Robin Appelman 2026-02-14 15:59:47 +01:00
commit 3fa69dc434
11 changed files with 411 additions and 88 deletions

View file

@ -6,7 +6,8 @@ A declarative manager for Linux network namespaces.
- Fully declarative configuration
- Hot reloading of configuration
- Port forwarding into the namespace
- Port forwarding into or out of the namespace
- Moving network devices to the namespace
## Usage
@ -53,6 +54,8 @@ You can specify a different configuration path with the `--config` option.
[[namespace]]
# name of the namespace to create
name = "test"
# move existing devices into the namespace
devices = ["somelink"]
# You can define any number of port forwards to setup into the namespace
[[namespace.forward]]