mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Persistent connection timer changes (#27272)
* Add command_timeout timer that defines the amount of time to wait for a command or RPC call before timing out. * Remove connect_retries and connect_interval configuration varaible and replace it with connect_retry_timeout to control the timeout value of connection to local scoket. * Make required changes to netowrk action plugins and relevant network files in module_utils. * Required documentation changes.
This commit is contained in:
committed by
Chris Alfonso
parent
4dd8f281d6
commit
70ce394840
@@ -43,9 +43,7 @@ aireos_argument_spec = {
|
||||
}
|
||||
|
||||
# Add argument's default value here
|
||||
ARGS_DEFAULT_VALUE = {
|
||||
'timeout': 10
|
||||
}
|
||||
ARGS_DEFAULT_VALUE = {}
|
||||
|
||||
|
||||
def sanitize(resp):
|
||||
|
||||
@@ -38,14 +38,12 @@ aruba_argument_spec = {
|
||||
'username': dict(fallback=(env_fallback, ['ANSIBLE_NET_USERNAME'])),
|
||||
'password': dict(fallback=(env_fallback, ['ANSIBLE_NET_PASSWORD']), no_log=True),
|
||||
'ssh_keyfile': dict(fallback=(env_fallback, ['ANSIBLE_NET_SSH_KEYFILE']), type='path'),
|
||||
'timeout': dict(type='int', default=10),
|
||||
'timeout': dict(type='int'),
|
||||
'provider': dict(type='dict')
|
||||
}
|
||||
|
||||
# Add argument's default value here
|
||||
ARGS_DEFAULT_VALUE = {
|
||||
'timeout': 10
|
||||
}
|
||||
ARGS_DEFAULT_VALUE = {}
|
||||
|
||||
|
||||
def get_argspec():
|
||||
|
||||
@@ -50,9 +50,7 @@ junos_argument_spec = {
|
||||
}
|
||||
|
||||
# Add argument's default value here
|
||||
ARGS_DEFAULT_VALUE = {
|
||||
'timeout': 10
|
||||
}
|
||||
ARGS_DEFAULT_VALUE = {}
|
||||
|
||||
|
||||
def get_argspec():
|
||||
|
||||
@@ -57,8 +57,7 @@ nxos_argument_spec = {
|
||||
|
||||
# Add argument's default value here
|
||||
ARGS_DEFAULT_VALUE = {
|
||||
'transport': 'cli',
|
||||
'timeout': 10
|
||||
'transport': 'cli'
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user