Skip to content
This repository has been archived by the owner on Jun 29, 2024. It is now read-only.

vkosuri/robotframework-ncclient

Repository files navigation

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.