From: Stefan Hanreich <s.hanreich@proxmox.com>
To: pdm-devel@lists.proxmox.com
Subject: [pdm-devel] [PATCH proxmox 1/3] pve-api-types: update /cluster/resources endpoint
Date: Fri, 7 Nov 2025 15:40:06 +0100 [thread overview]
Message-ID: <20251107144018.700695-2-s.hanreich@proxmox.com> (raw)
In-Reply-To: <20251107144018.700695-1-s.hanreich@proxmox.com>
Signed-off-by: Stefan Hanreich <s.hanreich@proxmox.com>
---
pve-api-types/pve-api.json | 27 ++++++++++++++++++++++++++-
1 file changed, 26 insertions(+), 1 deletion(-)
diff --git a/pve-api-types/pve-api.json b/pve-api-types/pve-api.json
index 1775fdae..833915e8 100644
--- a/pve-api-types/pve-api.json
+++ b/pve-api-types/pve-api.json
@@ -15755,6 +15755,20 @@
"renderer": "bytes",
"type": "integer"
},
+ "network": {
+ "description": "The name of a Network entity (for type 'network').",
+ "optional": 1,
+ "type": "string"
+ },
+ "network_type": {
+ "description": "The type of network resource (for type 'network').",
+ "enum": [
+ "fabric",
+ "zone"
+ ],
+ "optional": 1,
+ "type": "string"
+ },
"node": {
"description": "The cluster node name (for types 'node', 'storage', 'qemu', and 'lxc').",
"format": "pve-node",
@@ -15771,6 +15785,11 @@
"optional": 1,
"type": "string"
},
+ "protocol": {
+ "description": "The protocol of a fabric (for type 'network', network_type 'fabric').",
+ "optional": 1,
+ "type": "string"
+ },
"sdn": {
"description": "The name of an SDN entity (for type 'sdn')",
"optional": 1,
@@ -15808,7 +15827,8 @@
"qemu",
"lxc",
"openvz",
- "sdn"
+ "sdn",
+ "network"
],
"type": "string"
},
@@ -15825,6 +15845,11 @@
"minimum": 100,
"optional": 1,
"type": "integer"
+ },
+ "zone_type": {
+ "description": "The type of an SDN zone (for type 'sdn').",
+ "optional": 1,
+ "type": "string"
}
},
"type": "object"
--
2.47.3
_______________________________________________
pdm-devel mailing list
pdm-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pdm-devel
next prev parent reply other threads:[~2025-11-07 14:39 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-07 14:40 [pdm-devel] [PATCH proxmox{, -datacenter-manager} 0/6] Add support for network resource type Stefan Hanreich
2025-11-07 14:40 ` Stefan Hanreich [this message]
2025-11-07 14:40 ` [pdm-devel] [PATCH proxmox 2/3] pve-api-types: regenerate Stefan Hanreich
2025-11-07 14:40 ` [pdm-devel] [PATCH proxmox 3/3] pve-api-types: extend ClusterResourceNetworkType Stefan Hanreich
2025-11-07 14:40 ` [pdm-devel] [PATCH proxmox-datacenter-manager 1/3] resources: support new pve network resource type Stefan Hanreich
2025-11-07 14:40 ` [pdm-devel] [PATCH proxmox-datacenter-manager 2/3] resources: api: add network type match category Stefan Hanreich
2025-11-07 14:40 ` [pdm-devel] [PATCH proxmox-datacenter-manager 3/3] ui: use new network resource type Stefan Hanreich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251107144018.700695-2-s.hanreich@proxmox.com \
--to=s.hanreich@proxmox.com \
--cc=pdm-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox