Skip to content

diagnose command request using send_command inside a vdom #11

Answered by vladimirs-git
drivero91 asked this question in Q&A
Discussion options

You must be logged in to vote

In the current version (1.1.1), SSH methods do not use the 'vdom' parameter from FortigateAPI (which is only used in the REST API).
To work with a specific vdom, you need to change the vdom context by sending the commands ['config vdom', 'edit XXX'].
Please refer to the example in ssh_vdom.py.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@drivero91
Comment options

Answer selected by drivero91
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants