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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ftntconfig-1.3.tar.gz
.
File metadata
- Download URL: ftntconfig-1.3.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35964672d7ab518e620c027f309e793bf6f7964eb22620df7c3a336408546f25 |
|
MD5 | d9c91860e0f0d9d06b646b84824ea77f |
|
BLAKE2b-256 | ff9ec01e68e487fe9560f7d88610aa06052db09275b2be1650949176a29a578d |
File details
Details for the file ftntconfig-1.3-py3-none-any.whl
.
File metadata
- Download URL: ftntconfig-1.3-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 480eaa4121f9b2766cb1f8db5528b5bde0ce1d3affdb4c66dc3d638b8e771f2e |
|
MD5 | 1d2da1aedea7049dec89e49a4d38ce35 |
|
BLAKE2b-256 | 7ff30f83acb72796bfac149efa522f8dc3faebaff32de4dfa91e48f704f2e782 |