3 Star 0 Fork 0

mirrors_networktocode/jetconf

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
README.rst 1.54 KB
一键复制 编辑 原始数据 按行查看 历史
Pavel Spirek 提交于 2019-03-06 09:46 . Updated README

JetConf

Author: Pavel Špírek <[email protected]>
Date: 2025-01-29

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.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

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

Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_networktocode/jetconf.git
[email protected]:mirrors_networktocode/jetconf.git
mirrors_networktocode
jetconf
jetconf
master

搜索帮助