pve_sdn_rollback
Discard all pending SDN configuration changes cluster-wide, reverting to the last applied state. Dry-run by default; confirm to execute.
Instructions
MUTATION: discard ALL pending SDN configuration changes cluster-wide — the plane's REAL undo primitive (RISK_MEDIUM).
Bounded to the CONFIG plane only: never touches LIVE networking (that's pve_sdn_apply's job) — discards every staged zone/vnet/subnet/controller/dns/ipam/fabric/prefix-list/route-map edit at once, reverting to the applied state. NOTE: SDN config renders per-node; if a prior pve_sdn_apply failed or was interrupted partway, the state this reverts to may reflect cross-node inconsistency from that failed apply. Dry-run by default — the PLAN surfaces currently-pending zones/vnets AND cites pve_sdn_dry_run's rendered diff (fail-open) as evidence of what would be discarded. confirm=True executes and returns {"status": "ok", "result": None}. No undo of its own — once rolled back, the discarded pending edits are gone (re-author them from scratch). lock_token is never written to the audit ledger (see network.py module docstring).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | False (default) returns a dry-run PLAN only; True discards all pending SDN config cluster-wide. | |
| lock_token | No | SDN cluster lock token to use for this write, if one is held. | |
| release_lock | No | Whether PVE releases the lock automatically after a successful rollback (only relevant when lock_token is given; PVE's own default is True — omit to use it). | |
| proximo_target | No | Which configured Proxmox target to run this call against — a target name from your multi-target config (a specific PVE/PBS/PMG/PDM box). Omit to use the single/default target from the environment; the selection applies only to this call. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |