fortinet-ansible-dev / ansible-galaxy-fortios-collection

GNU General Public License v3.0
84 stars 48 forks source link

Update fortios.py for higher performance #201

Open glebras opened 1 year ago

glebras commented 1 year ago

Use /api/v2/monitor/system/status?vdom=root rather than /api/v2/cmdb/system/interface?vdom=root&action=schema endpoint to check access token validity. Use /api/v2/monitor/system/status?vdom=root rather than /api/v2/cmdb/system/interface?vdom=root&action=schema endpoint to check system version.