Skip to main content

Package ftntconfig

Project description

Ftntconfig

Disclaimer :

This is not a Fortinet official product. It is provided as-is without official support.
I have made this tool for my own use. It can be used at your own risk.

Author :

Cedric GUSTAVE

Description :

Ftntconfig is a simple python library to automate Fortinet device configuration. It has been created for lab testing scenario where Fortinet devices requires configuration loops. All configuration is done through an SSH connection. It is an evolutive framework where each new configuration requirement can be added in an organized framework. Each device configuration section is accessed through a corresponding attribut: Example to access 'config firewall policy' section:

from Ftntconfig import Ftntconfig
fgt = Ftntconfig(ip='10.5.51.200', port='22', user='admin', password='', debug=True)
fgt.firewall.policy()

For more details on the configuration syntax, refer to corresponding module:

Ftntconfig_firewall.py : config firewall

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ftntconfig-1.3.tar.gz (4.8 kB view hashes)

Uploaded Source

Built Distribution

ftntconfig-1.3-py3-none-any.whl (6.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page