Home

Awesome

Please consider cloning this project from here for your own use. https://github.com/scott-carrion/robotframework-ncclient2

PyPi downloads Latest Version

NcclientLibrary

NcclientLibrary is a Robotframework NETCONF wrapper libraray of ncclient

Installation

virtualenv venv
source venv/bin/activate
pip install --upgrade pip
pip install --upgrade setuptools
pip install robotframework-ncclient

If you stuck with any errors please try to install all these packages.

sudo apt install libpq-dev python-dev libxml2-dev libxslt1-dev libldap2-dev libsasl2-dev libffi-dev

Example testcase

*** Settings ***
Library           NcclientLibrary

*** Test Cases ***
Test Login
    ${config} =    Create Dictionary    host=A.B.C.D    port=830    username=user    password=password    hostkey_verify=False
    Connect    &{config}

Update docs

python -m robot.libdoc src/NcclientLibrary/NcclientKeywords.py docs/index.html

Pull requests are welcome.