No description, website, or topics provided.
Python C++ Other
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
data Updated expired example-client.pem Feb 7, 2018
docs
jetconf
tests
utils
.gitignore
LICENSE
Makefile
README.rst
requirements.txt
run.py
setup.py

README.rst

JetConf

Author: Pavel Špírek <pavel.spirek@nic.cz>
Date: 2018-08-19

JetConf is an implementation of the RESTCONF protocol written in Python 3. Main features:

  • HTTP/2 over TLS, certificate-based authentication of clients
  • JSON data encoding
  • Per-user candidate datastores with transactions
  • Support for NACM

Requirements

JetConf requires Python 3.5 or newer:

$ sudo apt-get install python3
$ sudo apt-get install python3-pip

These requirements should be installed by running Instalation

colorlog==2.10.0
h2==3.0.1
hpack==2.3.0
hyperframe==5.0.0
pyaml==16.12.2
pytz==2016.10
PyXB==1.2.5
PyYAML==3.12
yangson==1.3.16

Installation

JetConf can be installed by PyPI:

$ python3 -m pip install jetconf

Running

Running JetConf

$ jetconf -c <path_to_config_file.yaml>

For development purposes, JetConf can also be started directly from Git repository with run.py script:

$ ./run.py -c <path_to_config_file.yaml>

Example configuration (template)

In the 'data' folder, there is an example template for configuring paths, certificates etc.

example-config.yaml

In this configuration file, you have to modify all paths to match your actual file locations.

Links