vladimirs-git / fortigate-api

Python package for configuring Fortigate (Fortios) devices using REST API
Apache License 2.0
61 stars 18 forks source link

Adding support for reading Vdoms from Fortigate #21

Closed janowi closed 8 months ago

vladimirs-git commented 8 months ago

Thank you for your attention to this project and your willingness to enhance it. In the examples, use VDOM1 or VDOM_1 instead of TEST1. Please provide example of create, get, delete methods.

In FortigateAPI, all object connector names are in singular form, and the vdom attribute already exists. I don't want to make an exception for the new connector vdoms. I need to change the naming concept. I need to rename all connectors to the plural form or change the current vdom to something else.

vladimirs-git commented 8 months ago

I added this functionality in 1.4.0 version, please check. https://fortigate-api.readthedocs.io/en/latest/objects/Vdoms.html#vdoms