Forum Discussion
I solved this with the REST API -- I have a script that pulls all the config instances, then commits them into a git repo (one per device group in my case). I use GitLab with an email push trigger, so I get reports on updates more or less as they occur, but obviously that could be handled other ways. I find this beneficial for many reasons, including:
* keep a separate copy out of LM so some errant action in LM does not destroy config data and history
* enable searching for configuration elements across multiple files (impossible within the UI)
* build tools to validate configs against baseline templates or other sorts of analysis
* generate way better diff results (the current UI diff viewer REALLY needs a rewrite)
* I get to find out all the times LMConfig flakes out, like when it zeroes out config instances if NVRAM is temporarily unavailable
I would like to post those here, but you can't post text files it seems. Will see if I can get those into github....
Related Content
- 6 months ago
- 7 months ago