https://github.com/dimensiondataresearch/pynso
A Python client library for Cisco Network Services Orchestrator (NSO)
https://github.com/dimensiondataresearch/pynso
Last synced: 25 days ago
JSON representation
A Python client library for Cisco Network Services Orchestrator (NSO)
- Host: GitHub
- URL: https://github.com/dimensiondataresearch/pynso
- Owner: DimensionDataResearch
- License: apache-2.0
- Created: 2016-04-27T15:41:03.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-06-29T08:50:40.000Z (almost 7 years ago)
- Last Synced: 2025-04-18T19:39:58.995Z (about 1 month ago)
- Language: Python
- Size: 137 KB
- Stars: 17
- Watchers: 7
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- Changelog: HISTORY.rst
- License: LICENSE
Awesome Lists containing this project
README
PyNSO
=====|Build| |PyPI1| |PyPI2| |PyPI3| |Documentation Status| |Coverage|
Overview
--------A Python client library for Cisco NSO (previously tail-f)
Installation
------------To install use pip:
::
$ pip install pynso
Or clone the repo:
::
$ git clone https://github.com/DimensionDataResearch/pynso.git
$ python setup.py installUsage
-----.. code:: python
from pprint import pprint
from pynso.client import NSOClient
from pynso.datastores import DatastoreType# Setup a client
client = NSOClient('10.123.92.12', 'admin', 'admin')# Get information about the API
print('Getting API version number')
pprint(client.info()['version'])# Get the information about the running datastore
print('Getting the contents of the running datastore')
pprint(client.get_datastore(DatastoreType.RUNNING)).. |Build| image:: https://travis-ci.org/DimensionDataResearch/pynso.svg?branch=master
:target: https://travis-ci.org/DimensionDataResearch/pynso
.. |PyPI1| image:: https://img.shields.io/pypi/v/pynso.svg?maxAge=2592000
:target: https://pypi.python.org/pypi/pynso
.. |PyPI2| image:: https://img.shields.io/pypi/l/pynso.svg?maxAge=2592000
:target: https://pypi.python.org/pypi/pynso
.. |PyPI3| image:: https://img.shields.io/pypi/pyversions/pynso.svg?maxAge=2592000
:target: https://pypi.python.org/pypi/pynso
.. |Documentation Status| image:: https://readthedocs.org/projects/pynso/badge/?version=latest
:target: http://pynso.readthedocs.io/en/latest/?badge=latest
.. |Coverage| image:: https://coveralls.io/repos/github/DimensionDataResearch/pynso/badge.svg?branch=master
:target: https://coveralls.io/github/DimensionDataResearch/pynso?branch=master