FortiManager GIT sync tool
This project aims to synchronize CLI templates from a GIT repository to FortiManager via API calls automatically.
Features
- Test run
- Check FW sync status before update
- Error checking during update (rollback on error is supported by Workspace mode ADOMs)
- Deploy changes to firewalls
- CI/CD support
Introduction
FMG by itself does not support GIT repository as backend to store CLI templates which makes it hard to manage changes. Using GIT has many advances like tracking history, easy rollback to a version in time. Additionally one could use GitHub to even manage developing these templates in a team with tools like approval, review process, comments amongst others. Once the template changes are developed and approved, GIT can merge the changes to its production branch which can trigger a run of this tool to sync up the changes to FMG.
This is beta software, do not use in production before testing!!
Installation
This tool is intended to run via console or GIT runner with CI/CD.
Quick installation:
pip install fortimanager-template-sync[rich]
Quick Start Guide will do a quick tour on setup but it is recommended to read the full documentation: User Guide/Installation
Metadata
Release files for fortimanager-template-sync 0.0.1.post1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fortimanager_template_sync-0.0.1.post1.tar.gz | 463.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fortimanager_template_sync-0.0.1.post1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 484.1 kB
Release files / fortimanager_template_sync-0.0.1.post1.tar.gz
| Download URL | fortimanager_template_sync-0.0.1.post1.tar.gz |
|---|---|
| Size | 463.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
13cde82208465aa9349342fbb9d8f48a9826d7424b4b3d72699bfbe7b10b905b
|
|
BLAKE2b-256 checksum How to use checksums |
741a6f565f014974c8227f380bfaaf06f0874edff003cd588564bda2f671d1f1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / fortimanager_template_sync-0.0.1.post1-py3-none-any.whl
| Download URL | fortimanager_template_sync-0.0.1.post1-py3-none-any.whl |
|---|---|
| Size | 21.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c9e006d996036e444cfa4380fa70c28e46fbeaf14bacc8c1f7b009844aeafd61
|
|
BLAKE2b-256 checksum How to use checksums |
a3596d698c698ea39d7028a527173d206d5391c39f2ea6489e6871d852940bb4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|