Most people use jc
* as a command-line tool to convert linux command output to JSON for easier parsing in scripts. But jc
is also a python library and can easily be used within automation scripts to make your life easier.
In my latest blog you will learn how to use the jc
library to automatically parse command output in Nornir scripts using the Netmiko to connect to a remote linux host.
https://blog.kellybrazil.com/2020/12/09/parsing-command-output-in-nornir-with-jc/
*Disclaimer: I am the author of jc
No comments:
Post a Comment