Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month 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 4 years ago)
- Default Branch: master
- Last Pushed: 2024-02-01T09:28:22.000Z (11 months ago)
- Last Synced: 2024-11-16T13:06:15.790Z (about 1 month ago)
- Topics: nso, restconf
- Language: Python
- Size: 5.75 MB
- Stars: 0
- Watchers: 5
- 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"))