Skip to content
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

Utilizing ncclient bind_addr parameter #1279

Open
elinewman12 opened this issue Nov 2, 2023 · 4 comments
Open

Utilizing ncclient bind_addr parameter #1279

elinewman12 opened this issue Nov 2, 2023 · 4 comments

Comments

@elinewman12
Copy link

Why does the current version of Junos not use the bind_addr optional parameter for providing a source address to bind when connecting Device objects? It would be an easy fix and at least my current team would heavily benefit from this addition. I had to create a fork from our currently used version of Junos (5 years old) but we couldn't upgrade to the latest version either way due to the lack of this feature.

@chidanandpujar
Copy link
Collaborator

Hi @elinewman12
Thanks,
we are analyzing the ncclient options - https://github.com/ncclient/ncclient/blob/master/ncclient/transport/ssh.py#L206

Thanks

@elinewman12
Copy link
Author

elinewman12 commented Nov 7, 2023

@chidanandpujar I implemented the change on a fork but it uses version 2.3.0. So far, testing has proven successful with the use of bind_addr

@chidanandpujar
Copy link
Collaborator

HI @elinewman12
Thanks for the information .
Latest PyEZ release is 2.6.8 , I will check the feasibility and update you .

Thanks

@dineshbaburam91
Copy link
Collaborator

@elinewman12 Could you please provide more information on use case of the "bind_addr" argument in the ncclient code?
To validate and add testcases in junos-eznc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants