Fix exos_facts httpapi (#61198)
This commit is contained in:
parent
f4fa4e4e0e
commit
add33ccbdc
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ def get_resource_connection(module):
|
|||
|
||||
capabilities = get_capabilities(module)
|
||||
network_api = capabilities.get('network_api')
|
||||
if network_api in ('cliconf', 'nxapi', 'eapi'):
|
||||
if network_api in ('cliconf', 'nxapi', 'eapi', 'exosapi'):
|
||||
module._connection = Connection(module._socket_path)
|
||||
elif network_api == 'netconf':
|
||||
module._connection = NetconfConnection(module._socket_path)
|
||||
|
|
Loading…
Reference in a new issue