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

Warn users when deleting current IP being used or the last interface IP #2427

Merged

Conversation

JoaoMario109
Copy link
Collaborator

@JoaoMario109 JoaoMario109 commented Mar 5, 2024

Add the check for when the user is trying to delete the IP being used to connect to BlueOS or when trying to delete the last IP of some interface.

Closes #2406

@JoaoMario109 JoaoMario109 force-pushed the 2406-warn-delete-ips branch from bc42630 to 24434e2 Compare March 5, 2024 19:26
@JoaoMario109 JoaoMario109 force-pushed the 2406-warn-delete-ips branch from 24434e2 to 76e2741 Compare March 13, 2024 11:47
@JoaoMario109
Copy link
Collaborator Author

Changed to have this implementation without directly depending on #2426 since its not defined when it will be able to merge

@JoaoMario109 JoaoMario109 marked this pull request as ready for review March 13, 2024 12:04
Copy link
Member

@joaoantoniocardoso joaoantoniocardoso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some text suggestions.

* Add a check layer prior to deleting IPs on interfaces avoiding to
  delete the last IP or curently being useed IP by mistake
* Add a check layer prior to disconnecting from the WiFi
  network currently being used to access BlueOS
@JoaoMario109 JoaoMario109 force-pushed the 2406-warn-delete-ips branch from a6b30be to a782051 Compare March 14, 2024 16:21
@joaoantoniocardoso joaoantoniocardoso merged commit d65793d into bluerobotics:master Mar 14, 2024
6 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.

we should warn the users if they delete the only ip address on a network
3 participants