Skip to content
This repository was 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
ssato wants to merge 1 commit into
spotify:masterfrom
ssato:chan-timeout
Open

enhancement: add support to configure channel timeout in pyFG.FortiOS#33
ssato wants to merge 1 commit into
spotify:masterfrom
ssato:chan-timeout

Conversation

@ssato

@ssato ssato commented Sep 26, 2018

Copy link
Copy Markdown

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