-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trouble with use JSNAPy from python for more than one devices #384
Comments
I had the same issue. The following resolved this for me: +++ b/lib/jnpr/jsnapy/jsnapy.py
@@ -969,8 +970,7 @@ class SnapAdmin:
|
@will-mcdermott Thanks! It's helped. |
@will-mcdermott Thank you, I was about to get a headache 👍 |
issue is not reproducible in the latest jsnapy verision 1.3.8.dev0, we will close this issue as fixed. Please refer the following pass logs.
Thanks |
issue is not reproducible in the latest jsnapy verision 1.3.8.dev0, we will close this issue as fixed. Thanks |
Hello! I have an error with this Python code. AttributeError: 'SnapAdmin' object has no attribute 'host_list'
What i'm doing wrong?
from jnpr.jsnapy import SnapAdmin
from jnpr.junos import Device
js = SnapAdmin()
config_file = """
hosts:
port: 22
username: test
passwd: test
port: 22
username: test
passwd: test
tests:
"""
js.snap(config_file, "pre")
Python 3.7.9
jsnapy==1.3.5
junos-eznc==2.5.4
The text was updated successfully, but these errors were encountered: