[BangPypers] generating cisco config using templates?
Nitin Kumar
nitin.nitp at gmail.com
Wed Sep 30 18:37:18 CEST 2015
Hi Atul,
You can refer below link. This is an example which is used to configure
Juniper devices.
the code is using YAML and Jinja2 as you are looking for.
https://github.com/vnitinv/pyez-examples/blob/master/6_load_temp_conf.py
corresponding yaml and jinja2 template can be found at
https://github.com/vnitinv/pyez-examples
Nitin Kr
On Wed, Sep 30, 2015 at 9:35 PM, Atul Tyagi <tyagi.atul at gmail.com> wrote:
> As I said I have not explored salt for network devices yet. It's more for
> system build automation. For this network device requirement I ended up
> writing my own python script to push the config to device. We can probably
> use salt-ssh to integrate that into salt but I haven't explored it yet.
>
> On Wed, Sep 30, 2015 at 9:24 PM, kracekumar ramaraju <
> kracethekingmaker at gmail.com> wrote:
>
> > On Wed, Sep 30, 2015 at 8:26 PM, Atul Tyagi <tyagi.atul at gmail.com>
> wrote:
> >
> > > 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.
> > >
> > >
> > I am using Salt, if you can share some sample code, we can help.
> > _______________________________________________
> > 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