Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (testpypi.python.org).
Help us improve Python packaging - Donate today!

netsu NetworkManager IP utilities

Project Description

Usage

Get sources:

git clone https://github.com/phoracek/netsu
cd netsu

Run checks and unit tests:

pip3 install --upgrade tox pyyaml setuptools
python3 -m tox

Install latest master release via pip:

# install uwsgi and uwsgi-plugin-python3 via your favourite package manager
pip3 install netsu netsu_plugin_nm_bridge

Install from sources:

# install uwsgi and uwsgi-plugin-python3 via your favourite package manager
python3 setup.py sdist
cd dist
pip3 install netsu_utils_nm-* netsu_utils_nm_ip-* netsu_plugin_nm_bridge-* netsu-*

Some usage examples:

# start service
systemctl enable netsu-nm
systemctl start netsud
# query for running config
netsu-ctl get running-config
# set running config
netsu-ctl set running-config \
  '{"nm_bridges": {
      "br1": {
        "stp": true,
        "ipv4": {
          "method": "manual",
          "addresses": [
            {
              "address": "192.168.1.2",
              "prefix": 24
            }
          ],
          "gateway": "192.168.1.1"
        },
        "label": "foo"
      }
    }
  }'
Release History

Release History

This version
History Node

0.0.dev45

History Node

0.0.dev44

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
netsu_utils_nm_ip-0.0.dev45.tar.gz (18.0 kB) Copy SHA256 Checksum SHA256 Source Dec 14, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting