[BangPypers] generating cisco config using templates?

Atul Tyagi tyagi.atul at gmail.com
Wed Sep 30 16:56:18 CEST 2015


By the way I use salt here but it does not have a out of the box way to
manage network devices. Proxy stuff seemed too complicated to me so haven't
even given it a shot.
On 30 Sep 2015 20:23, "Atul Tyagi" <tyagi.atul at gmail.com> wrote:

> 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
> device.
>
> 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
>> https://mail.python.org/mailman/listinfo/bangpypers
>>
>


More information about the BangPypers mailing list