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

Latest commit

 

History

History
44 lines (31 loc) · 1.32 KB

README.md

File metadata and controls

44 lines (31 loc) · 1.32 KB

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.