No description
  • Python 90.9%
  • Nix 5.3%
  • Shell 3.7%
Find a file
2026-06-26 07:51:15 +00:00
.forgejo/workflows forgejo: fix pr job 2026-04-15 00:04:33 +02:00
docs docs: add ECMP route example 2026-06-26 07:51:15 +00:00
ex openrc: add machine-id dependency (related to #189) 2026-06-09 23:15:15 +02:00
ifstate ifstate: add validate action to check if config file validates to the JSON schema 2026-06-09 23:08:50 +02:00
libifstate docs: add ECMP route example 2026-06-26 07:51:15 +00:00
package debian: add libbpf1 to recommends for xdp 2026-02-06 13:24:53 +01:00
schema/2 schema: add nexthops to ignore-routes for ECMP filtering 2026-06-26 07:51:10 +00:00
scripts ethtool: accept CLI feature aliases for unique kernel feature mappings 2026-06-10 12:19:25 +02:00
.envrc nix: add devshell 2025-08-13 16:02:06 +02:00
.gitignore debian: add some initial packaging 2026-01-30 00:30:57 +01:00
CHANGELOG.md ifstate: release 2.4.1 2026-06-10 12:23:47 +02: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 MAC address handling 2026-06-06 18:21:40 +02:00
module.nix ifstate: update repository URL 2026-02-05 23:25:03 +01:00
package.nix ifstate: update repository URL 2026-02-05 23:25:03 +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...