diff options
| author | Stefan Hanreich <s.hanreich@proxmox.com> | 2025-07-29 11:29:33 +0200 |
|---|---|---|
| committer | Thomas Lamprecht <t.lamprecht@proxmox.com> | 2025-07-29 12:59:51 +0200 |
| commit | ea6db24afdaf63dedcdd4d74ce97918f7f82b034 (patch) | |
| tree | 73ec2cb0bc40164ed85e855fea2608f023891c1a /src/PVE/API2/Network/SDN/Vnets.pm | |
| parent | d6e50fb57ea7b4af47d7120d3066f19547bab81d (diff) | |
api: add rollback endpoint
This adds the functionality of rolling back the pending configuration
to the currently running configuration, resetting all changes made
since last applying the SDN configuration. This is mainly thought as
an escape hatch for failed PDM transactions.
You can invoke the endpoint via CLI:
pvesh create /cluster/sdn/rollback [--lock-token X [--release-lock]]
If a lock is currently held on the configuration and you want to
forcibly rollback, you need to release the lock first via the
lock_release API endpoint.
Co-authored-by: Gabriel Goller <g.goller@proxmox.com>
Signed-off-by: Stefan Hanreich <s.hanreich@proxmox.com>
Link: https://lore.proxmox.com/20250729092933.90118-6-g.goller@proxmox.com
Diffstat (limited to 'src/PVE/API2/Network/SDN/Vnets.pm')
0 files changed, 0 insertions, 0 deletions
