fortigate-config-parser

A parser and unparser for fortigate config files.


Keywords
fortigate, config, parser
License
xpp
Install
pip install fortigate-config-parser==0.0.6

Documentation

python-fortigate-config-parser

A attempt to write a fast and extendable parser for Fortigate Config Files in python. It will use custom python parser to split the config into chunks that will get parsed by an antlr generated parser.

This program will, for now, only contain a parser; e.g. a way to read Fortigate config and split it into a nested python dict. Which can be serialzed to a Fortigate config file again.

Read the docs: http://fortigate-config-parser.readthedocs.io/en/latest/