Cisco NSO的Python客户端库(以前是tail-f)

pynso的Python项目详细描述


BuildPyPI1PyPI2PyPI3Documentation StatusCoverage

概述

Cisco NSO的Python客户端库(以前是tail-f)

安装

要安装,请使用pip:

$ pip install pynso

或者克隆回购协议:

$ git clone https://github.com/DimensionDataCBUSydney/pynso.git
$ python setup.py install

用法

frompprintimportpprintfrompynso.clientimportNSOClientfrompynso.datastoresimportDatastoreType# Setup a clientclient=NSOClient('10.123.92.12','admin','admin')# Get information about the APIprint('Getting API version number')pprint(client.info()['version'])# Get the information about the running datastoreprint('Getting the contents of the running datastore')pprint(client.get_datastore(DatastoreType.RUNNING))

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java使用哪种数据结构通过两个ID之一搜索对象?   为什么IIOImageException java显示   java为什么Scanner#nextInt inside for循环不断抛出异常?   类如何在Java中比较参数和对象?   雅加达ee如何在Java/JavaEE环境中实现Basecamp风格的URL?例如<username>。主机名。通用域名格式   安卓javaexeutor框架的异常处理   java JDK 1.8到JDK 1.5 Web应用部署潜在问题   多线程如何杀死java线程?   探查器如何分析在java、eclipse和junit中哪个方法消耗的时间更多?   java如何在数组数据类型的元素上添加外键约束   java在Eclipse中更改外部浏览器[Linux、GWT、Tomcat6]   如何通过函数编程计算Java中的元音?   使用json负载netty上传java文件