Cisco NSO(之前为tail-f)的Python客户端库
项目描述
概述
Cisco NSO(之前为tail-f)的Python客户端库
安装
使用pip安装
$ pip install pynso
或克隆仓库
$ git clone https://github.com/DimensionDataCBUSydney/pynso.git $ python setup.py install
用法
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))
关闭
pynso-1.2.0.zip的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | dc2d1e022b9cc7e7afa7c2448be7d9b3655839dea87eaec498452520033d65c6 |
|
MD5 | beab4adf025872bc4c7d2098a015f839 |
|
BLAKE2b-256 | e68b2d6232846080c8f69a65eed62f677a58c041ad74afe4279fa2008f674617 |