Device Reprovisioning

View as Markdown

Backs up and validates a network device, factory-resets it, runs ZTP, and captures a post-provision backup.

Destructive workflow

Reprovision replaces all existing configuration on the device with its intended configuration.

User Interface

Form Inputs

FieldDescriptionSelection TypeRequired
SiteChoose the site containing the deviceSingle dropdown from available sitesYes
DeviceSelect the device to reprovisionSingle dropdown from devices in selected siteYes

Workflow Execution

Execution Stages

  1. pre_reprovision_backup starts a child Configuration Backup workflow, which captures the running configuration and validates the intended configuration with a candidate diff. Invalid configuration fails this retryable stage before factory reset. The stage links to the child backup workflow on success and failure; check the child workflow for configuration drift details. Drift does not stop reprovisioning.
  2. execute_ztp factory-resets the device and waits up to 30 minutes for DHCP/ZTP and the device reboot to complete.
  3. perform_backup starts a second child Configuration Backup workflow after ZTP succeeds and links to that workflow in the stage output.

For prerequisites, detailed behavior, and troubleshooting, see Device Reprovision.