Skip to main content

A Python client library for Cisco NSO (previously tail-f)

Project description

PyNSO
===============================

![Build](https://travis-ci.org/DimensionDataCBUSydney/pynso.svg?branch=master)
[![codecov](https://codecov.io/gh/DimensionDataCBUSydney/pynso/branch/master/graph/badge.svg)](https://codecov.io/gh/DimensionDataCBUSydney/pynso)


version number: 1.0
author: Anthony Shaw

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/DimensionDataCBUSydney/pynso.git
$ python setup.py install

Usage
-----

```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))
```

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-1.0.1.zip (9.4 kB view details)

Uploaded Source

File details

Details for the file pynso-1.0.1.zip.

File metadata

  • Download URL: pynso-1.0.1.zip
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pynso-1.0.1.zip
Algorithm Hash digest
SHA256 3d2fda9bdb2522f988a4aa10dfbd8e2898b179e6b4d9e66efddeb1cdf6ba7bbc
MD5 a33e48b2fc93ab9b91d6ec691b1937ff
BLAKE2b-256 1a483a7e7f39eba6a29f6c5b3b001066de5b23749d919e1a6e78e7dab4d958fb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page