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" <skb655...@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.a...@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@python.org > > https://mail.python.org/mailman/listinfo/bangpypers > > > _______________________________________________ > BangPypers mailing list > BangPypers@python.org > https://mail.python.org/mailman/listinfo/bangpypers > _______________________________________________ BangPypers mailing list BangPypers@python.org https://mail.python.org/mailman/listinfo/bangpypers