Videos on TTP: Part2

Author Kirk Byers
Date October 28, 2020

This is Part2 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

TTP: Parsing a Device's Configuration

TTP template from the video

TTP: Groups, Start, and Order

TTP template from the video

TTP: Interface Configuration Parsing

TTP template from the video

Additional videos on the Template Text Parser (TTP) Library

Python

Videos on TTP: Part1

Python

Videos on TTP: Part3