PyFortiAPI
A Python handler for the FortiGate REST API (FortiOS 5.4.x+) (by PyFortiAPI)
PyFortiAPI | junos-ansible | |
---|---|---|
1 | 10 | |
47 | 8 | |
- | - | |
0.0 | 2.4 | |
3 months ago | about 1 year ago | |
Python | Jinja | |
MIT License | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
PyFortiAPI
Posts with mentions or reviews of PyFortiAPI.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-10-04.
-
Network Automation on Windows workstations
I primarily work with Fortinet devices, and there's not excellent support for FortiOS with Ansible or other. What I didn't realize was that the RestAPI can be controlled from Python code directly. I found that someone posted a few "functions" with the Fortinet API in Python and I'm now adding my own functions that I require into this existing library. Just getting used to the API now.
junos-ansible
Posts with mentions or reviews of junos-ansible.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-08-05.
-
Zero to Hero Network Automation - What does your workflow look like ?
This is a repo that helped me kind of understand the whole config render, diff, push to device paradigm. https://github.com/yzguy/junos-ansible. Specifically the NAPALM part with Ansible.
- Automation
- How to start with automation
-
Junos Ansible jinja2 templates
Have you heard of NAPALM and Ansible NAPALM? You can basically do what you're doing right now, but IMO it's a much better experience. This repo helped me a lot in understanding how to use it: https://github.com/yzguy/junos-ansible
-
Network Automation on Windows workstations
I found this repo helpful for seeing what you could do with Ansible in interms of network automation: https://github.com/yzguy/junos-ansible
-
Looking to set up my pc to practice network automation
junos-ansible
- So I know that network automation is the new thing that needs to be learned after ccna
-
Juniper Python
If you go a bit further, you can use Ansible + NAPALM together to render full configurations, then push them to devices, example I did here: https://github.com/yzguy/junos-ansible
-
Stuck on path forward for NXOS full device config
I have a very basic example doing this with JunOS + Ansible here: https://github.com/yzguy/junos-ansible
-
Are there some gotcha / requirements for ansible
The ansible_network_os: junos might be fine, it's been a while so I can't remember if there was a reason why I did the longer path. Looking at the docs again, it looks like they use the longer one, so I probably copied that. You should have them install python-virtualenv, that way you can create virtualenvs, and then inside of those install whatever packages you want. You don't need sudo to do it. Ideally you don't want to install a bunch of python packages into your root. If you do a virtualenv, you can point ansible to it in your ansible.cfg
What are some alternatives?
When comparing PyFortiAPI and junos-ansible you can also consider the following projects:
nornir_napalm - NAPALM's plugins for nornir
pyez-loadcfg - Juniper PyEZ python script to load config onto Juniper device
awesome-network-automation - Curated Awesome list about Network Automation
config_render_example