Skip to content

brocade/pynos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#pynos pynos is a python library for working with Brocade devices running NOS.

##Installation

pip install pynos

##Usage The following is an example usage of pynos. Full documentation can be found here.

>>> from pprint import pprint
>>> import pynos.device
>>> conn = ('10.24.39.211', '22')
>>> auth = ('admin', 'password')
>>> dev = pynos.device.Device(conn=conn, auth=auth)
>>> dev.connection
True
>>> del dev
>>> with pynos.device.Device(conn=conn, auth=auth) as dev:
...     pprint(dev.mac_table)
[{'interface'...'mac_address'...'state'...'type'...'vlan'...}]
>>> dev.connection
False

##License pynos is released under the APACHE 2.0 license. See ./LICENSE for more information.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages