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

fix for issue #290 - allow passing key and cert file to the connect() #311

Merged
merged 4 commits into from
Dec 16, 2024

Conversation

dlyssenko
Copy link
Contributor

  1. fixed issue SSLContext.wrap_socket() throws a TypeError when attempting to connect to a switch using transport: https_certs #290 - now private key and certificate can be passed as parameters to the pyeapi connect() method when https_certs transport is used
  2. added system test to ensure transport https_certs works

made backward compatible syntax with py3.7 for `with` statement to pass flake check
added missing space
moved assert under the loop, where it belongs
@dlyssenko dlyssenko merged commit c8427cc into arista-eosplus:develop Dec 16, 2024
10 checks passed
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

Successfully merging this pull request may close these issues.

2 participants