Skip to content

goodniuniu/tratto

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tratto is a tiny framework I  built to issue commands to cisco 
routers over ssh and telnet.  I used pexpect.

Systems.py - Is a file that defines properties of different
operating systems

Connectivity.py - Is a file that defines connectivity objects
such as Session.

test.py -  Example usages of how to use Tratto.

Examples - A Directory of real-world examples of tratto
   l3toPTR.py - A script that connects to a Cisco IOS device
                issues "sho ip int br" and generates dns names
                for the given l3 interface.  This can be useful
                to generate ptr records for traceroutes. 


tratto is now a somewhat proper module, so you can import it like:
from tratto.systems import * etc...

Systems.OperatingSystems has been replaced with tratto.systems.SystemProfiles

================
20151028
Tratto is a tiny framework from akonkol.
I like it very much. So i thinks it is a good way to learn how to use script to maintain the Network.

================
20151028
##The modified is from my linux.

================
20151029
##Thinking how to avoid leak my passwork on GitHub when i want to use the same script to change.
##Add a new class HuaweiIOS in System.py
##Read the origin codes of tratto



About

Submit commands to devices using ssh/telnet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%