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
Release files for ftntconfig 1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ftntconfig-1.3.tar.gz | 4.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ftntconfig-1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.1 kB
Release files / ftntconfig-1.3.tar.gz
| Download URL | ftntconfig-1.3.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
35964672d7ab518e620c027f309e793bf6f7964eb22620df7c3a336408546f25
|
|
BLAKE2b-256 checksum How to use checksums |
ff9ec01e68e487fe9560f7d88610aa06052db09275b2be1650949176a29a578d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / ftntconfig-1.3-py3-none-any.whl
| Download URL | ftntconfig-1.3-py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
480eaa4121f9b2766cb1f8db5528b5bde0ce1d3affdb4c66dc3d638b8e771f2e
|
|
BLAKE2b-256 checksum How to use checksums |
7ff30f83acb72796bfac149efa522f8dc3faebaff32de4dfa91e48f704f2e782
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|