[pdm-devel] [PATCH pve-manager v2 1/1] cluster: resources: add sdn property to cluster resources schema
Stefan Hanreich
s.hanreich at proxmox.com
Tue Sep 9 17:54:13 CEST 2025
SDN entities return their name in the sdn property. Add this property
to the schema so it is shown in the documentation, as well for
generating proper types in proxmox-api-types.
Signed-off-by: Stefan Hanreich <s.hanreich at proxmox.com>
---
PVE/API2/Cluster.pm | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/PVE/API2/Cluster.pm b/PVE/API2/Cluster.pm
index 529f59120..e7d245fb5 100644
--- a/PVE/API2/Cluster.pm
+++ b/PVE/API2/Cluster.pm
@@ -411,6 +411,11 @@ __PACKAGE__->register_method({
type => 'integer',
optional => 1,
},
+ sdn => {
+ description => "The name of an SDN entity (for type 'sdn')",
+ type => "string",
+ optional => 1,
+ },
tags => {
description => "The guest's tags (for types 'qemu' and 'lxc')",
type => "string",
--
2.47.3
More information about the pdm-devel
mailing list