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:
Ganesh Nalawade
2017-08-01 23:15:45 +05:30
committed by Chris Alfonso
parent 4dd8f281d6
commit 70ce394840
23 changed files with 154 additions and 73 deletions

View File

@@ -43,9 +43,7 @@ aireos_argument_spec = {
}
# Add argument's default value here
ARGS_DEFAULT_VALUE = {
'timeout': 10
}
ARGS_DEFAULT_VALUE = {}
def sanitize(resp):

View File

@@ -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():

View File

@@ -50,9 +50,7 @@ junos_argument_spec = {
}
# Add argument's default value here
ARGS_DEFAULT_VALUE = {
'timeout': 10
}
ARGS_DEFAULT_VALUE = {}
def get_argspec():

View File

@@ -57,8 +57,7 @@ nxos_argument_spec = {
# Add argument's default value here
ARGS_DEFAULT_VALUE = {
'transport': 'cli',
'timeout': 10
'transport': 'cli'
}