Skip to content

Commit

Permalink
Merge 6b71225 into 36c49ab
Browse files Browse the repository at this point in the history
  • Loading branch information
simingy committed Jul 18, 2016
2 parents 36c49ab + 6b71225 commit ebc745d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ncclient/devices/iosxe.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@

from .default import DefaultDeviceHandler

from ncclient.operations.third_party.iosxe.rpc import SaveConfig

def iosxe_unknown_host_cb(host, fingerprint):
#This will ignore the unknown host check when connecting to CSR devices
return True
Expand All @@ -35,7 +37,7 @@ def add_additional_operations(self):
def add_additional_ssh_connect_params(self, kwargs):
kwargs['allow_agent'] = False
kwargs['look_for_keys'] = False
kwargs['unknown_host_cb'] = csr_unknown_host_cb
kwargs['unknown_host_cb'] = iosxe_unknown_host_cb

def perform_qualify_check(self):
return False

0 comments on commit ebc745d

Please sign in to comment.