We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hey,
thanks for your library. I am currently using an extension, which others may also use:
def un_or_lock_adom(method): url = "/dvmdb/adom/{}/workspace/{}".format(fortimngr.adom, method) payload = \ { "method": "exec", "params": [ { "url": url } ], } fortimngr.custom_api(payload) def lock_adom(): return un_or_lock_adom("lock") def unlock_adom(): return un_or_lock_adom("unlock")
Maybe the lock and unlock methods would be useful on the FortiManager object?
The text was updated successfully, but these errors were encountered:
lock_adom and unlock_adom akshaymane920#17
d9a4b80
add: - lock_adom - unlock_adom when using workspace mode, an adom has to be locked to make any changes to objects or policies Closes akshaymane920#17
Merge pull request #23 from dasTor/master
7dbb6ce
lock_adom and unlock_adom #17
Successfully merging a pull request may close this issue.
Hey,
thanks for your library. I am currently using an extension, which others may also use:
Maybe the lock and unlock methods would be useful on the FortiManager object?
The text was updated successfully, but these errors were encountered: