Skip to main content

Netjsonconfig is a python library that converts NetJSON DeviceConfiguration objects into real router configurations that can be installed on systems like OpenWRT or OpenWisp Firmware.

Project description

https://travis-ci.org/openwisp/netjsonconfig.svg https://coveralls.io/repos/openwisp/netjsonconfig/badge.svg Requirements Status https://badge.fury.io/py/netjsonconfig.svg https://img.shields.io/gitter/room/nwjs/nw.js.svg?style=flat-square

Netjsonconfig is part of the OpenWISP project and it’s the official configuration engine of OpenWISP 2.

http://netjsonconfig.openwisp.org/en/latest/_images/openwisp.org.svg

netjsonconfig is a python library that converts NetJSON DeviceConfiguration objects into real router configurations that can be installed on systems like OpenWRT, LEDE or OpenWisp Firmware.

Its main features are:

  • OpenWRT / LEDE support

  • OpenWisp Firmware support

  • OpenVPN support

  • Possibility to support more firmwares via custom backends

  • Based on the NetJSON RFC

  • Validation based on JSON-Schema

  • Templates: store common configurations in templates

  • Multiple template inheritance: reduce repetition to the minimum

  • File inclusion: easy inclusion of arbitrary files in configuration packages

  • Variables: reference variables in the configuration

  • Command line utility: easy to use from shell scripts or from other programming languages

Documentation | Change log | Support channels | Issue Tracker | License

Project details


Download files

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

Source Distribution

netjsonconfig-0.6.4.tar.gz (63.2 kB view details)

Uploaded Source

Built Distribution

netjsonconfig-0.6.4-py2.py3-none-any.whl (77.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file netjsonconfig-0.6.4.tar.gz.

File metadata

  • Download URL: netjsonconfig-0.6.4.tar.gz
  • Upload date:
  • Size: 63.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

File hashes

Hashes for netjsonconfig-0.6.4.tar.gz
Algorithm Hash digest
SHA256 a86d2d9f8e5526829f09f41703d5783cffe384ca9c2a440fa3e0ebc3d1d26a8a
MD5 f0fd69db40948eed01d1af01503c6778
BLAKE2b-256 457f11d12e68c2e0fd4cfa09b0a7581ddded671eb98af09dc82ca1704d88fcf6

See more details on using hashes here.

File details

Details for the file netjsonconfig-0.6.4-py2.py3-none-any.whl.

File metadata

  • Download URL: netjsonconfig-0.6.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 77.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

File hashes

Hashes for netjsonconfig-0.6.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ca8e3312f8c66c8916127350cd9fab1099882e91d02037a585249cfcad1d3d65
MD5 fd94ee11850808fd59e4903641610173
BLAKE2b-256 ca496320e71a4b431c47548d158b328ba1925c9b52df4189b6073b60350bc3ed

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page