add timeout parameter and increase default timeout for nso modules (#37391)

NSO operations can take much longer than 10 seconds as they operate on
real network equipment, set default timeout to 5 minutes and allow for
user override.
This commit is contained in:
Claes Nästén 2018-03-19 16:12:58 +01:00 committed by John R Barker
commit 458a07d5a4
4 changed files with 22 additions and 15 deletions

View file

@ -32,4 +32,8 @@ options:
password:
description: NSO password
required: true
timeout:
description: JSON-RPC request timeout in seconds
default: 300
version_added: "2.6"
'''