nanog mailing list archives

Re: Multi-Vendor Configuration Pusher


From: Christopher Morrow <morrowc.lists () gmail com>
Date: Tue, 15 Jul 2014 10:07:54 -0400

On Mon, Jul 14, 2014 at 9:18 AM, Ryan Shea <ryanshea () google com> wrote:
I have a chunk of code for a multi-vendor configuration push tool under the
Apache 2.0
license. Some of you may be interested.

https://code.google.com/p/ldpush/


(as a contributor and user externally of this code)
excellent :)

This is an easily extensible framework on top of paramiko and pexpect in
Python for distributing configuration to (or running commands on) devices.
Currently we have the following vendor targets:

  * aruba
  * brocade
  * cisconx
  * ciscoxr
  * hp (procurve)
  * ios
  * junos
  * generic ssh

I have a thin wrapper around these vendor implementations which allows for
threaded pushes and a couple small operational conveniences, but would
appreciate any feedback <https://code.google.com/p/ldpush/issues/list> and
testing. Please treat this as you would any *new* code -- do not consider
it production quality. This project and Capirca
<https://code.google.com/p/capirca/> go together like beans and cornbread,
if you're into that sort of thing.


As noted ~4 yrs ago by Michael Shields (I think? maybe Tim Chung did
the presentation at Nanog?) we use this internally, and externally
(now). Having this available for management of devices is super
helpful (to me).

Thanks!
-chris

Thanks,
Ryan


Current thread: