https://github.com/workfloworchestrator/pynso-restconf
Python client for NSO based on the RESTCONF api
https://github.com/workfloworchestrator/pynso-restconf
nso restconf
Last synced: 5 months ago
JSON representation
Python client for NSO based on the RESTCONF api
- Host: GitHub
- URL: https://github.com/workfloworchestrator/pynso-restconf
- Owner: workfloworchestrator
- License: apache-2.0
- Created: 2020-10-08T12:24:58.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-02-01T09:28:22.000Z (over 1 year ago)
- Last Synced: 2025-04-18T10:29:13.607Z (6 months ago)
- Topics: nso, restconf
- Language: Python
- Size: 5.75 MB
- Stars: 0
- Watchers: 4
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.html
- Changelog: HISTORY.rst
- License: LICENSE
Awesome Lists containing this project
README
A Python client library for Cisco NSO (previously tail-f)
Installation
To install use pip:
$ pip install pynso-restconfOr clone the repo:
$ git clone https://github.com/workfloworchestrator/pynso-restconf.git
$ python setup.py installUsage
from pprint import pprintfrom 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"))