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

3437 clean up login logout code for powerconnect.rb #3438

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

clifcox
Copy link
Contributor

@clifcox clifcox commented Mar 1, 2025

This makes it more clear (at least to me ;-) which commands are waiting for a prompt and which ones are not, (sends). I looked for documentation on post_login, and pre_logout but didn't find anything.

Also, I'm pretty sure the cli logout command needs to come after the last exit, not before. So I switched the order there, and added a little delay just for good luck. Lastly I added a comment on filtering out a timeout.

Pre-Request Checklist

  • Passes rubocop code analysis (try rubocop --auto-correct)
  • Tests added or adapted (try rake test)
  • Changes are reflected in the documentation
  • User-visible changes appended to CHANGELOG.md

Description

Re: #3437

Added model for Unifi / AirOS APs and some Unifi switches
…ng for a prompt and which ones

are not, (sends). I looked for documentation on post_login, and pre_logout but didn't find anything.

Also, I'm pretty sure the cli logout command needs to come after the last exit, not before. So I switched the
order there, and added a little delay just for good luck. Lastly I added a comment on filtering out a
timeout.

    Clif
powerconnect: Cleanup login/logout logic. Fixes ytti#3437 (@clifcox)
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.

1 participant