Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 714 Bytes

README.md

File metadata and controls

24 lines (20 loc) · 714 Bytes

textfsm_tutorial

Intro

Text-FSM is one the greatest projects for parsing data. The hard part is getting familiar with it. To solve that problem this tutorial was created.

How to

Go over the test files in the project and go over them one by one and follow the steps. Each file is a standalone step. The goal of each of the steps is to understand the data and the text-fsm template that is needed to parse it.

How to Install

To install run

$ python3 -m venv venv
source venv/bin/activate
(venv)$ pip install -r requirements.txt

How to run

To run the tutorial go over each file one by one. First read the code, and the templates, and go from there.

(venv)$ python step_1.py