An open API service indexing awesome lists of open source software.

https://github.com/attumm/textfsm_tutorial

textfsm tutorial
https://github.com/attumm/textfsm_tutorial

learning learning-by-doing textfsm tutorial

Last synced: 10 months ago
JSON representation

textfsm tutorial

Awesome Lists containing this project

README

          

# 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
```sh
$ 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.
```sh
(venv)$ python step_1.py
```