fortiosapi
fortiosapi copied to clipboard
Python library aimed to be used by configuration management system using Fortigate/Fortios devices (REST API)
otherwise it would try to install it at top level: ``` >>> Jobs: 2 of 3 complete, 1 failed Load avg: 0.72, 0.40, 0.28 * Package: dev-python/fortiosapi-1.0.5 * Repository: HomeAssistantRepository...
Good day! Let's discuss the destiny of the following method: https://github.com/fortinet-solutions-cse/fortiosapi/blob/de593924f2b1018f1bfc85d4487858bdb676ebfc/fortiosapi/fortiosapi.py#L663-L667 Could you clarify me the purpose for *Deprecated* comment in this method? Does it state the method is no...
Hi, I'm using your script in order to backup existing configuration, manipulate it and then upload to another device. I'm having issues with the upload (restore function) part. Here is...
##### SUMMARY With this fix, tokenlogin API will actually mark `_logged` after successful login. Signed-off-by: Abhijeet Kasurde ##### ISSUE TYPE - Bugfix Pull Request ##### COMPONENT NAME fortiosapi/fortiosapi.py
The fortigate supports non utf-8 characters, suggestion to replace these when formatting response: ``` def formatresponse(self, res, vdom=None): LOG.debug("formating response") self.logging(res) # Generic way to format the return from FortiAPI...
I'm trying to run the tests using tox. Here's what I did to setup: ``` $ virtualenv -p /usr/bin/python3 venv Already using interpreter /usr/bin/python3 Using base prefix '/usr' New python...
It's unclear how to run the tests in this project. There is a small blurb in README.md, but I have never used tox so I don't know what I need...
Since the fortigate upgrade from 7.0.12 to 7.2.6 we noticed a problem with fortiosapi. When creating an address we now get a 403 error. we use https port 10443 the...
Hi, Ive upgraded some Fortigates from 7.2.10 to 7.4.5. Im running VDOMs in all the firewalls and using tokenlogin as login method. 7.2.10 works fine but the Firewalls with 7.4.5...