[pdm-devel] [PATCH proxmox-api-types 09/12] sdn: add apply configuration endpoint

Stefan Hanreich s.hanreich at proxmox.com
Fri Feb 28 16:17:46 CET 2025


Signed-off-by: Stefan Hanreich <s.hanreich at proxmox.com>
---
 pve-api-types/generate.pl | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/pve-api-types/generate.pl b/pve-api-types/generate.pl
index 449200e..3101b41 100644
--- a/pve-api-types/generate.pl
+++ b/pve-api-types/generate.pl
@@ -334,6 +334,8 @@ 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');
 
+api(PUT => '/cluster/sdn', 'sdn_apply', 'param-name' => 'ReloadSdn', 'output-type' => 'PveUpid');
+
 # 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