-
-
Notifications
You must be signed in to change notification settings - Fork 188
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
[feature] Implement device deactivation and reactivation #625
Labels
Comments
This was referenced Feb 5, 2024
Closed
nemesifier
changed the title
[feature] Implement device deactivation
[feature] Implement device deactivation and reactivation
Feb 6, 2024
pandafy
added a commit
that referenced
this issue
Feb 29, 2024
14 tasks
pandafy
added a commit
that referenced
this issue
Aug 1, 2024
pandafy
added a commit
that referenced
this issue
Aug 8, 2024
nemesifier
added a commit
that referenced
this issue
Nov 19, 2024
Closes #625 Closes #849 * [feature] Do not delete related Certs when device is deactivated * [feature] Set device status to deactivated if current status is deactivating * [feature] Return 404 checksum for deactivated devices * [feature] Added activate and deactivate button on the device page * [feature] Added "config_deactivating" signal * [change] Show delete action after deactivate action * [feature] Emit device_deactivated signal when device is deactivated * [fix] Don't show any extra form on deactivated devices * [change] Clear management IP after the device is deactivated * [change] Added API endpoints for activating/deactivating device * [change] Updated device delete API endpoint * [change] Disable API operations on deactivated devices * [feature] Added "device_activated" signal * [docs] Updated docs * [fix] Don't allow PUT/PATCH request for deactivated device --------- Co-authored-by: Federico Capoano <[email protected]>
github-project-automation
bot
moved this from Backlog
to Done
in OpenWISP Priorities for next releases
Nov 19, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The details of this shall be discussed further before proceeding.
We shall implement two new admin actions and related model methods which perform the following:
1. Deactivation
2. Activation
it must deal with the case in which one or multiple devices are already activated in graceful way, informing the user and without failing
Why this feature?
Right now deleting a device does not remove the configuration from a device, so a device which gets deleted from OpenWISP Controller can still potentially connect to the configured VPNs.
On the OpenVPN side, we must recommend configuring the CRL (needs to be downloaded periodically from OpenWISP and when a change is detected the VPN conf should be reloaded).
Related to openwisp/openwisp-monitoring#445.
The text was updated successfully, but these errors were encountered: