summaryrefslogtreecommitdiff
path: root/src/PVE/API2/Network/SDN/Controllers.pm
diff options
context:
space:
mode:
authorStefan Hanreich <s.hanreich@proxmox.com>2025-07-29 11:29:31 +0200
committerThomas Lamprecht <t.lamprecht@proxmox.com>2025-07-29 12:59:51 +0200
commit6f1120693feb07f4ec6cd8c51c4b1d206a801ba5 (patch)
tree7e35f85598ada5602537668df4efda2cc948be72 /src/PVE/API2/Network/SDN/Controllers.pm
parentf5966bbacd2998234795fb02f56bff24c7ecf7d6 (diff)
api: add lock token parameter to apply endpoint
Committing the configuration now requires a lock on the SDN configuration, which was not required before. This is to prevent concurrent callers from applying the SDN configuration, while the lock is held. If there is no lock set, then this function behaves the same as before. Also add the functionality to automatically release the lock after applying the configuration, for convenience reasons. 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-4-g.goller@proxmox.com
Diffstat (limited to 'src/PVE/API2/Network/SDN/Controllers.pm')
0 files changed, 0 insertions, 0 deletions