Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

IETF Network Configuration Protocol (NETCONF) Client Library

Project Description

Overview

TBD

Testing

tests/test.py script connects to network devices via NETCONF protocol using username/password or public key authentication methods.

usage: test.py [-h] -ho HOST [-po PORT] -u USERNAME
               (-p PASSWORD | -k SSH_KEY_FILE_PATH) -c COMMAND
               [--check-fingerprint] [-l LOG_LEVEL]

PyNetConf - IETF Network Configuration Protocol Client Library

examples: [note: "Y2lzY28K" is base64-encoded "cisco"]
  python3 tests/test.py -ho router -u admin -p Y2lzY28K -c "show interfaces" -l 5
  python3 tests/test.py -ho router -u admin -k ~/.ssh/id_rsa \
                        -c "show interfaces; show version" -l 5
  python3 tests/test.py --help

optional arguments:
  -h, --help            show this help message and exit
  -l LOG_LEVEL, --log-level LOG_LEVEL
                        log level (default: 0)

network connectivity arguments:
  -ho HOST, --host HOST
                        host IP or DNS Name
  -po PORT, --port PORT
                        tcp port (default: 830)

authentication arguments:
  -u USERNAME, --user USERNAME
                        username
  -p PASSWORD, --pass PASSWORD
                        base64-encoded password
  -k SSH_KEY_FILE_PATH, --key SSH_KEY_FILE_PATH
                        SSH private key file path
  --check-fingerprint   enable SSH fingerprint check

directives:
  -c COMMAND, --cmd COMMAND
                        commands

documentation:
  https://github.com/greenpau/PyNetConf
Release History

Release History

This version
History Node

1.0

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting