Skip to main content

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

Project description

Build PyPI1 PyPI2 PyPI3 Downloads

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

Installation

To install use pip:

$ pip install pynso-restconf

Or clone the repo:

$ git clone https://github.com/workfloworchestrator/pynso-restconf.git
$ pip install flit
$ flit install --deps develop --symlink

Usage

from pprint import pprint

from 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"))

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-restconf-2.1.2.tar.gz (23.4 kB view details)

Uploaded Source

Built Distribution

pynso_restconf-2.1.2-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

Details for the file pynso-restconf-2.1.2.tar.gz.

File metadata

  • Download URL: pynso-restconf-2.1.2.tar.gz
  • Upload date:
  • Size: 23.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.25.1

File hashes

Hashes for pynso-restconf-2.1.2.tar.gz
Algorithm Hash digest
SHA256 b6676b3a8aefd5f6f4a72bf09e420c4fdae323413e4d27577303c4bfa1556997
MD5 33b607d1315281cb28becc41ac5ebd07
BLAKE2b-256 05f3384a8b44a5b75448dd13c7d3268f83e45a96fa53481a0dee981078bf76bc

See more details on using hashes here.

File details

Details for the file pynso_restconf-2.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for pynso_restconf-2.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 790aa93edd1ce22467b516009fc3091914a07bb569e1f814b5d39c2445c56783
MD5 1ebea3ea3b7c6f7199e0f125dc55e179
BLAKE2b-256 75641ba1f6f3a22861c03e77a0046488fe54f947d7dd48c7f8b84c114b18acf1

See more details on using hashes here.

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