Author: | Pavel Špírek <[email protected]> |
---|---|
Date: | 2024-12-27 |
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
JetConf requires Python 3.6 or newer:
$ sudo apt-get install python3 $ sudo apt-get install python3-pip
These requirements should be installed by running Instalation
colorlog h2==3.0.1 pytz PyYAML yangson
JetConf can be installed by PyPI:
$ python3 -m pip install jetconf
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>
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.