[BangPypers] generating cisco config using templates?
tyagi.atul at gmail.com
Wed Sep 30 16:53:02 CEST 2015
Idea is to provision mds switches based on datacenter specifications. Since
the template would be consistent I can generate multiple configs depending
on what dc yaml is passed.
We dont use ansible here so I have already written a python script usin
netmiko to connect, scp the config to startup-config and the reload the
Only missing peice right now is generating thw config.
On 30 Sep 2015 19:58, "sayantan bhattacharya" <skb655952 at gmail.com> wrote:
> Can you please specify what configuration you are trying to generate? Are
> you trying to configure multiple devices?
> If yes, you can try using the Ansible module, provided you aim for
> configuring devices issuing the master slave model.
> On Sep 30, 2015 19:11, "Atul Tyagi" <tyagi.atul at gmail.com> wrote:
> > Hi All,
> > Has anyone tried to generate the cisco switch config using yaml + jinja.
> > Any experience, best practices or ideas that you might want to share?
> > I am trying to do this. It seems simple with a very basic yaml but it's
> > getting extremely confusing as I expand by yaml and make it more readable
> > (other than just key/value pairs
> > Any suggestions please?
> > Thanks,
> > Atul
> > _______________________________________________
> > BangPypers mailing list
> > BangPypers at python.org
> > https://mail.python.org/mailman/listinfo/bangpypers
> BangPypers mailing list
> BangPypers at python.org
More information about the BangPypers