NTC Templates collects TextFSM templates for parsing network device show commands. A Python wrapper works with TextFSM CliTable.
Overview
NTC Templates is a maintained collection of TextFSM templates aimed at network automation. Each template describes how to turn vendor CLI show command output into structured fields, making programmatic parsing more consistent across devices.
The project also ships a Python wrapper around TextFSM’s CliTable so automation code can apply those templates in pipelines. TextFSM itself is the underlying parser technology that templates target.
Documentation covers user, administrator, and developer guides, including install, upgrade, and extension workflows. Community support is available through Network to Code Slack and an FAQ. The maintainers note that other automation tools may fit different needs and point readers to broader network automation resource lists.
Consumers typically combine these templates with their own connection layer to normalize data from routers, switches, and similar gear during inventory, compliance, or configuration tasks.
Key features
- Curated TextFSM template repository
- Python CliTable wrapper
- Structured parsing of show commands
- Published HTML documentation
- FAQ and community Slack channel
- Contribution workflow for new templates
Use cases
- Parse switch show command output
- Normalize multi-vendor CLI data
- Feed automation with structured fields
- Extend parsing with custom templates