Undo

CHG-0013: Undo #

Written before the change ran. Each phase is reversible on its own, and the order here is the reverse of the order they run in.

PhaseReversalLeaves behind
5. DeviceReflash the stand’s previous configurationNothing depends on the stand
4. Tenantterraform destroy -target=deevnet_iot_wifi_key.devices, or remove the block and applyThe key is revoked at the controller
3. APIRedeploy deevnet_api_version: v0.2.6; delete any test key from the profileUnsetting deevnet_api_omada_url alone stops key issuance without a rollback
2. SubstrateController UI: delete the SSID DVNTM-IOT, then the PPSK profile DVNTM-IOT. git revert the inventory commit, restoring deevnet_wifi_psk.iot, then make vaultThe VLAN 30 network object may stay; it is harmless and every other segment has one
1. ReconNone β€” nothing was written

What cannot be undone #

A revoked key. Once a tenant’s key is deleted and a new one issued, every device flashed with the old one needs a physical visit. Reversing phases 3 and 4 in the order above avoids this: destroy the Terraform resource, which revokes one key deliberately, rather than rolling the API back and leaving keys stranded in a profile nothing manages.

An association that dropped during phase 2. If clients dropped off DVNTM while the WLAN group re-applied, they will have reconnected by themselves; there is nothing to undo, only to notice.

The order matters #

Do not roll the API back before destroying the tenant’s key. The registry row would go with the rollback while the key stayed in the controller’s profile β€” a credential belonging to nobody that still admits a device to the IoT segment. Phase 4’s undo first, then phase 3’s.

Page last modified: September 18, 2026