Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gcmalloc/ciscotator

A cisco configuration library for ssh and serial connection
https://github.com/gcmalloc/ciscotator

Last synced: 5 days ago
JSON representation

A cisco configuration library for ssh and serial connection

Awesome Lists containing this project

README

        

# Cisco ssh api

Wrapper around the ssh interface for cisco switches.
Simple usage:

sw = Switch(hostname, username, password)
sw.send_command('bluh')

## Support for context management

Enable context:

sw = Switch(hostname, username, password)
with sw.enable_context:
sw.send_command('reload')

Configuration context:

sw = Switch(hostname, username, password)
with sw.configuration_context:
sw.send_command('errdisable detect cause gbic-invalid')