2
17
Fork
You've already forked ifstate
5
Manage host interface settings in a declarative manner https://ifstate.net
  • Python 89.5%
  • Nix 6.2%
  • Shell 4.3%
Find a file
2026年01月13日 22:34:15 +01:00
docs examples/xfrm-vrf: fix tenant2 vrf 2026年01月13日 22:34:15 +01:00
ex ex: fix liniting issues in hooks examples 2025年08月02日 13:43:20 +02:00
ifstate vrrp: fix broken verbose mode in vrrp-fifo action 2025年10月22日 22:55:19 +02:00
libifstate ifstate: release 2.2.3 2025年12月03日 16:39:58 +01:00
schema/2 ifstate: bump version to 2.2.0 2025年11月23日 22:28:31 +01:00
.envrc nix: add devshell 2025年08月13日 16:02:06 +02:00
.gitignore nix: move doc package into ifstate package using doc output 2025年08月18日 19:49:38 +02:00
CHANGELOG.md ifstate: release 2.2.3 2025年12月03日 16:39:58 +01:00
flake.lock flake.lock: Update (25.11) 2026年01月13日 20:47:00 +01:00
flake.nix flake.lock: Update (25.11) 2026年01月13日 20:47:00 +01:00
LICENSE Initial commit 2020年05月21日 23:41:08 +02:00
mkdocs.yaml docs: add outdated version hint 2025年11月10日 21:57:17 +01:00
module.nix nix: sync module with upstream nixpkgs 2025年11月24日 15:03:14 +01:00
package.nix nix: add mkdocs-macros-plugin to docs package and devshell 2026年01月13日 20:49:29 +01:00
README.md Update ifstate description. 2023年10月29日 21:17:04 +01:00
setup.py wireguard: drop wgnlpy dependency, use pyroute2's WireGuard class 2025年11月23日 03:03:31 +01:00
shell.nix nix: add mkdocs-macros-plugin to docs package and devshell 2026年01月13日 20:49:29 +01:00

IfState

PyPI version

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.

More...