Mirror of https://codeberg.org/routerkit/ifstate
- Python 91.7%
- Nix 4.4%
- Shell 3.8%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .forgejo/workflows | ||
| docs | ||
| ex | ||
| package | ||
| schema/2 | ||
| scripts | ||
| src | ||
| tests | ||
| .envrc | ||
| .gitignore | ||
| .pre-commit-config.yaml | ||
| CHANGELOG.md | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| mkdocs.yaml | ||
| module.nix | ||
| package.nix | ||
| pyproject.toml | ||
| pytest.ini | ||
| README.md | ||
| shell.nix | ||
| sync-dev.sh | ||
| uv.lock | ||
IfState
A python tool to configure (linux) host interfaces in a declarative manner. It is a frontend for the kernel netlink protocol using pyroute2 and aims to be as powerful as the iproute2/bridge/ethtool/tc/wireguard commands.
It was written for interface configuration on lightweight software defined linux routers without using any additional network management daemon like Network-Manager or systemd-networkd.
Can be used with deployment and automation tools like ansible since it's declarative and operates idempotent.