Skip to content
This repository has been archived by the owner on Mar 28, 2022. It is now read-only.

enhancement: add support to configure channel timeout in pyFG.FortiOS #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ssato
Copy link

@ssato ssato commented Sep 26, 2018

Add a keyword argument 'chan_timeout' to pyFG.FortiOS.init, to allow
users to configure channel timeout, a timeout to wait for responses from
a device through ssh 'channel'.

It was set to 5 [sec] in pyFG.FortiOS.execute_command with using
paramiko.Channel.settimeout, however it's too short time for some
environments and this change is necessary to allow to adjust that value
as needed for such environments.

Add a keyword argument 'chan_timeout' to pyFG.FortiOS.__init__, to allow
users to configure channel timeout, a timeout to wait for responces from
devices via ssh 'channel'.

It was set to 5 [sec] in pyFG.FortiOS.execute_command with using
paramiko.Channel.settimeout, however it's too short time for some
environments and this change is necessary to allow to adjust that value
as needed for such environments.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant