tree: 5a152f6ead5f5e5cb07ac904f46297f3a02f531f [path history] [tgz]
  1. CMakeLists.txt
  2. README.md
  3. docs/
  4. examples/
  5. netconf.c
  6. netconf.h
  7. rpc.c
  8. rpc.h
  9. session.c
  10. session.h
  11. setup.py.in
  12. ssh.c
  13. tls.c
python/README.md

This is work in progress. DO NOT USE for now.

Requirements

  • Python 3
  • libnetconf2

Building

From the libnetconf2 main build:

$ mkdir build; cd build $ cmake -DENABLE_PYTHON=ON .. $ make

make install

Usage

import netconf2 session = netconf2.Session('localhost', 830) del(session)

More detailed examples can be found in the example/ directory.