Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vkosuri/robotframework-ncclient

[Maintainer Required] Robotframework library for NETCONF clients
https://github.com/vkosuri/robotframework-ncclient

ncclient netconf robot-framework

Last synced: about 1 month ago
JSON representation

[Maintainer Required] Robotframework library for NETCONF clients

Awesome Lists containing this project

README

        

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

[![PyPi downloads](https://img.shields.io/pypi/dm/robotframework-ncclient.svg)](https://pypi.python.org/pypi/robotframework-ncclient)
[![Latest Version](https://img.shields.io/pypi/v/robotframework-ncclient.svg)](https://pypi.python.org/pypi/robotframework-ncclient)

# NcclientLibrary

NcclientLibrary is a [Robotframework](https://github.com/robotframework/robotframework) NETCONF wrapper libraray of [ncclient](https://github.com/ncclient/ncclient)

## Installation

``` Shell
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.

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

## Example testcase

``` Robotframework
*** 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

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

Pull requests are welcome.