-
Notifications
You must be signed in to change notification settings - Fork 0
Automatically exported from code.google.com/p/ldpush
License
dagmartin/ldpush
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A cross-vendor configuration distribution tool. This is useful for pushing ACLs or other pieces of configuration to network elements. It can also be used to send commands to a list of devices and gather the results. Install ------- To run this tool you will need to install several modules not part of the Python standard library, all of which should be easily installable via pip, easy_install, or distribution package: pexpect paramiko progressbar gflags Examples -------- Push the configurations in /tmp/foo and /tmp/bar to two devices, 192.168.192.1 and router1.foo.com. Push cannot guess what vendor is in use, but you could change the default vendor flag at the top if you only use one vendor. This example forces the use of the username 'dude' rather than your own. ./push.py --targets 192.168.192.1,router1.foo.com --vendor ios --user dude \ /tmp/foo /tmp/bar Send a 'show version' command to the list of devices. Output will be sprayed to STDOUT. Target names must be resolvable on your machine. ./push.py --targets r1,r2,r3,r4 --vendor ios --command 'show version' Use filenames to determine the name of the target device. The string file name must be resolvable. ./push.py --devices_from_filenames --vendor ios devicefiles/*
About
Automatically exported from code.google.com/p/ldpush
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published