TextFSM
termKept in this browser · My desk
A Python module that parses semi-formatted text, such as a device's command output, into a table of records with a template-driven state machine.
A template names the columns in Value lines, each with a regular expression, and describes states made of rules with actions such as Record and Error. A template that ends with an Error rule for any unexpected line fails loudly instead of quietly dropping text it does not recognize, which is what makes it safe to run unattended.
Also known as: text fsm, textfsm template