Skip to main content

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

Project description

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

Usage

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.2.0.zip (10.3 kB view hashes)

Uploaded Source

Supported by

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