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

The h3c driver open method takes too long to execute #2124

Open
xiaopengpeng opened this issue Jul 22, 2024 · 1 comment
Open

The h3c driver open method takes too long to execute #2124

xiaopengpeng opened this issue Jul 22, 2024 · 1 comment

Comments

@xiaopengpeng
Copy link

xiaopengpeng commented Jul 22, 2024

the version
5.0.0

the code
driver = get_network_driver('h3c_comware')
device = driver(hostname='192.168.110.5', username='xxx', password='xxx')
print(datetime.datetime.now())
device.open()
print(datetime.datetime.now())

the print
2024-07-22 13:55:08.216342
2024-07-22 13:55:14.653368
it takes 6s

What can be done to shorten the time

@ktbyers
Copy link
Contributor

ktbyers commented Jul 24, 2024

You probably should post here and not in the main napalm repository:

https://github.com/napalm-automation-community/napalm-h3c-cw7-ssh/

There is a very good chance that you are going to need to diagnose the slowness and propose fixes via pull-request (i.e. it is probably unlikely that someone is going to fix this issue for you).

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

No branches or pull requests

2 participants