Alpine Linux

Alpine ≥ 3.13

IfState is available in the community repository since Alpine 3.13.

Manual installation

Prerequisites

IfState depends on Python3 and the following python packages:

  • pyroute2 - Python Netlink library
  • PyYAML - YAML parser and emitter for Python
  • jsonschema - An implementation of JSON Schema validation for Python
  • wgnlpy - Python netlink connector to WireGuard (optional)

PyPI

IfState is available at Python Package Index. Use pip3 for installation:

pip3 install ifstate

This will also install all dependencies if not already statisfied.