[pdm-devel] [PATCH proxmox-api-types 07/12] sdn: add acquire/release lock endpoints
Stefan Hanreich
s.hanreich at proxmox.com
Fri Feb 28 16:17:44 CET 2025
Signed-off-by: Stefan Hanreich <s.hanreich at proxmox.com>
---
pve-api-types/generate.pl | 3 +++
1 file changed, 3 insertions(+)
diff --git a/pve-api-types/generate.pl b/pve-api-types/generate.pl
index 6e9b3f4..449200e 100644
--- a/pve-api-types/generate.pl
+++ b/pve-api-types/generate.pl
@@ -331,6 +331,9 @@ Schema2Rust::derive('SdnVnetPending' => 'Clone', 'PartialEq');
api(POST => '/cluster/sdn/vnets', 'create_vnet', 'param-name' => 'CreateVnet');
Schema2Rust::derive('CreateVnet' => 'Clone', 'PartialEq');
+api(POST => '/cluster/sdn/lock', 'acquire_sdn_lock', 'param-name' => 'CreateSdnLock', 'output-type' => 'String');
+api(DELETE => '/cluster/sdn/lock', 'release_sdn_lock', 'param-name' => 'ReleaseSdnLock');
+
# NOW DUMP THE CODE:
#
# We generate one file for API types, and one for API method calls.
--
2.39.5
More information about the pdm-devel
mailing list