A Python client library for Cisco NSO (previously tail-f).
Project description
A Python client library for Cisco NSO (previously tail-f)
Installation
To install use pip:
$ pip install pynso-restconf
Or clone the repo:
$ git clone https://github.com/workfloworchestrator/pynso-restconf.git $ python setup.py install
Usage
from pprint import pprint
from pynso import NSOClient
# Setup a client
client = NSOClient('10.123.92.12', 'admin', 'admin')
# Get information about the API
print('Getting API version number')
pprint(client.info())
# Get the information about the running datastore
print('Getting information about the running datastore')
pprint(client.get_datastore("running"))
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pynso-restconf-2.0.2.tar.gz
(23.8 kB
view hashes)
Built Distribution
Close
Hashes for pynso_restconf-2.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b43c6c8231bbaa25fa6ef72b9d3d13df2b2e99f34dc7e8eb69a3b84ff5b59fc5 |
|
MD5 | 91a81c883296f5e01485f91bb8715f1a |
|
BLAKE2b-256 | cf9d7eaf0a44a02931b2ad5f3074172b1e847618f0751a860bfcc266fd9f9839 |