Skip to content

Deleting disconnected switches

Janne Alatalo requested to merge master into master

Added functionality for removing disconnected switches. Function checks if current switch has status "disconnected", and enables the option accordingly.

Screencaps from the feature:

If switch doesn't have disconnected status, deletion is blocked. connected_switch

If switch has disconnected status, deletion is enabled. disconnected_switch1

Double verification for deletion. disconnected_switch2

User is informed that the switch has been deleted. disconnected_switch3

After this the switch list is refreshed and switch menu will be closed automatically after 2 seconds.


If user has invalid permissions, deletion will fail and the user will be informed. disconnected_switch4


Possible features for development:

  • Users permissions would be checked before sending the delete request, and possible disable the option entirely.

Merge request reports