Nmstate

A Declarative API for Host Network Management

View on GitHub

Nmstate Installation Guide

RPM based

Stable release

Nmstate is in Fedora and EPEL 7 testing, you may install it using below commands.

sudo dnf install nmstate
sudo dnf copr enable nmstate/nmstate-stable
sudo dnf install nmstate

Developer Branch

We have copr repos which automatically build whenever a patch goes into git base branch. Only for develop use.

sudo dnf copr enable nmstate/nmstate-git
sudo dnf install nmstate

PyPI/pip

Stable Release

pip --user --upgrade install nmstate

Developer Branch

git clone https://github.com/nmstate/nmstate.git
cd nmstate
pip install --user --upgrade .

setup.py

Stable Release

# Download tarball and signature from:
# https://github.com/nmstate/nmstate/releases/
gpg2 --recv-keys F7910D93CA83D77348595C0E899014C0463C12BB
gpg2 --verify ./nmstate-*.tar.gz.asc nmstate-*.tar.gz
tar xf nmstate-*.tar.gz
cd nmstate-*
python setup.py build
python setup.py install

Developer Branch

git clone https://github.com/nmstate/nmstate.git
cd nmstate
python setup.py build
python setup.py install