Videos on TTP: Part3

Author Kirk Byers
Date December 9, 2020

This is Part3 of our three-part series on the Text Template Parser library.

Part1 of this series provides an overview of TTP, covers certain TTP basics, and demonstrates parsing network device show-command output using TTP.

Part2 of this series dives into configuration parsing using TTP including TTP 'groups', how order of a group affects processing, and detailing certain regular expression modifiers.

Part3 covers configuration parsing using TTP including using the _start_ modifier, parsing a full configuration, and completing a full-cycle (i.e. using TTP for vars extraction and then Jinja2 for configuration regeneration).

To view the Part1 videos, see: TTP Part1

To view the Part2 videos, see: TTP Part2

To view the Part3 videos, see: TTP Part3

User Parsing and using _start_

TTP template from the video

Parsing the Entire Configuration

TTP template from the video

Full Cycle: TTP Variable Extraction and Jinja2 Generation

TTP template from the video

Additional videos on the Template Text Parser (TTP) Library

Python

Videos on TTP: Part1

Python

Videos on TTP: Part2