critical
textfsm
critical | textfsm | |
---|---|---|
3 | 5 | |
29 | 1,081 | |
- | 0.6% | |
0.0 | 2.9 | |
over 1 year ago | 3 months ago | |
Go | Python | |
GNU General Public License v3.0 only | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
critical
-
Why Tcl?
Well Redis started off being written in TCL.
https://gist.github.com/antirez/6ca04dd191bdb82aad9fb241013e...
And of course Antirez has a soft-spot for TCL:
http://antirez.com/articoli/tclmisunderstood.html
Which inspired me to create a (trivial) TCL interpreter in golang. Not perfect, but almost as good as picol:
https://github.com/skx/critical
-
Tcled: Pure Tcl Console Text Editor (2019)
That's always a great read. The last time I stumbled across it I decided to write my own "TCL", and I had a few weeks of fun doing that, in golang:
https://github.com/skx/critical/
It's a little addictive writing toy-interpreters for various (older and simpler) languages.
- Show HN: A simple Tcl interpreter in Golang
textfsm
-
jc: Converts the output of popular command-line tools to JSON
Interesting project! But I expected them to be using textfsm as a first step parser. textfsm is heavily used to implement CLI parsing in networking devices.
https://github.com/google/textfsm
- Automate Your Network
-
Why Tcl?
TextFSM https://github.com/google/textfsm
are much better options if you need to do a /lot/ of parsing
-
Python question
I would use something like TextFSM with NTC Templates. However, this does mean you will run the show against the configuration components... show TACACS instead of show RUN.
-
Tool to export Cisco config to Excel?
Google's TextFSM is a good module for generic CLI output parsing. Obviously would work on "show run" as well. You can define your own templates.
What are some alternatives?
Oxidized - Oxidized is a network device configuration backup tool. It's a RANCID replacement!
ntc-templates - TextFSM templates for parsing show commands of network devices
tcled - Pure Tcl Console Text Editor
batfish - Batfish is a network configuration analysis tool that can find bugs and guarantee the correctness of (planned or current) network configurations. It enables network engineers to rapidly and safely evolve their network, without fear of outages or security breaches.
netmiko - Multi-vendor library to simplify Paramiko SSH connections to network devices
ollama - Get up and running with Llama 3, Mistral, Gemma, and other large language models.
wireguard-tools - Mirror only. Official repository is at https://git.zx2c4.com/wireguard-tools
jc - CLI tool and python library that converts the output of popular command-line tools, file-types, and common strings to JSON, YAML, or Dictionaries. This allows piping of output to tools like jq and simplifying automation scripts.
Vault - A tool for secrets management, encryption as a service, and privileged access management