-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to find how to directly create a VLAN interface on fortigate device through fortimanager #97
Comments
Hi @G0t1sh , Thank you for bringing this issue to our attention. Currently, our Ansible FMG collection does not support device scope configuration. However, we are actively developing the Ansible FMGDevice collection, which will include this functionality, and it is expected to be released soon. In the meantime, if you would like to manage your FGTs through FMG, you might consider using the Terraform FMGDevice provider. fmgdevice_system_interface Please let me know if you still have other questions. Thanks, |
The API is "/pm/config/device/{device}/global/system/interface". You can find the details of this API in the FNDN The API
For now, if you want to use ForiManager Ansible, you can use 'fortinet.fortimanager.fmgr_generic'
All APIs starting with Thanks, |
Thanks to both of you for the clear and quick answers. Do you have an idea on when the Ansible FMGDevice collection will be released ? This quarter ? this year ?... |
The basic development of the Ansible FMGDevice collection has been done. We are working on the documentation, improving details, and QA. |
Hello,
With my team, we are currently working with a Fortimanager and multiple Fortigate.
We created an automation platform and we want to use fortimanager-collection to configure vlan interfaces on the fortigates.
We were able to configure interfaces on fortigate using 'fortinet.fortimanager.fmgr_dvmdb_script' but the solution doesn't seems good to us with low ability to get direct result or error management
We tried something with the next :
'fortinet.fortimanager.fmgr_system_interface' seems to be only used to directly configure system interface on the fortimanager itself and not fortigate
'fortinet.fortimanager.fmgr_generic' I have trouble to find the proper API call to create the interface on remote fortigate
Am I going the wrong way or am I missing something ?
The text was updated successfully, but these errors were encountered: