This repository has been archived by the owner on Dec 29, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
A cross-vendor network device configuration distribution tool
License
google/ldpush
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
A cross-vendor network device configuration distribution tool
Resources
License
Code of conduct
Security policy
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published