You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- command: show interfaces terse lo*
- iterate:
xpath: physical-interface
id: './name'
tests:
- no-diff: oper-status # element in which test is performed
err: "Test Failed!! oper-status got changed, before it was <{{pre['oper-status']}}>, now it is <{{post['oper-status']}}>"
info: "Test Passed!! oper-status is same, before it is <{{pre['oper-status']}}> now it is <{{post['oper-status']}}>"
Steps to Reproduce Issue
jsnapy --snap pre -f config_check.yml
Traceback (most recent call last):
File "/Users/fakrul/.pyenv/versions/3.9.0/lib/python3.9/threading.py", line 950, in _bootstrap_inner
self.run()
File "/Users/fakrul/.pyenv/versions/3.9.0/lib/python3.9/threading.py", line 888, in run
self._target(*self._args, **self._kwargs)
File "/Users/fakrul/.pyenv/versions/3.9.0/lib/python3.9/site-packages/jnpr/jsnapy/jsnapy.py", line 694, in connect
raise Exception(ex)
Exception: ConnectError(host: core01.device01, msg: Negotiation failed: Error reading SSH protocol banner)
Description of Issue/Question
Under host can we define custom ssh_config_file file
Setup
Using a sample host config to validate physical-interface status change
config_check.yml
test_no_diff.yml
Steps to Reproduce Issue
Error in log:
Versions Report
The text was updated successfully, but these errors were encountered: