public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH manager] api: network: add more methods to return types
@ 2025-01-08 14:08 Dominik Csapak
  2025-02-04 10:17 ` [pve-devel] applied: " Fiona Ebner
  0 siblings, 1 reply; 2+ messages in thread
From: Dominik Csapak @ 2025-01-08 14:08 UTC (permalink / raw)
  To: pve-devel

i forgot to add 'loopback' and 'dhcp' to the schema, which can be
returned here.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---
 PVE/API2/Network.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/PVE/API2/Network.pm b/PVE/API2/Network.pm
index cfccdd9e..12ee6cca 100644
--- a/PVE/API2/Network.pm
+++ b/PVE/API2/Network.pm
@@ -278,13 +278,13 @@ __PACKAGE__->register_method({
 		method => {
 		    type => "string",
 		    description => "The network configuration method for IPv4.",
-		    enum => ["manual", "static", "auto"],
+		    enum => ["loopback", "dhcp", "manual", "static", "auto"],
 		    optional => 1,
 		},
 		method6 => {
 		    type => "string",
 		    description => "The network configuration method for IPv6.",
-		    enum => ["manual", "static", "auto"],
+		    enum => ["loopback", "dhcp", "manual", "static", "auto"],
 		    optional => 1,
 		},
 		options => {
-- 
2.39.5



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [pve-devel] applied: [PATCH manager] api: network: add more methods to return types
  2025-01-08 14:08 [pve-devel] [PATCH manager] api: network: add more methods to return types Dominik Csapak
@ 2025-02-04 10:17 ` Fiona Ebner
  0 siblings, 0 replies; 2+ messages in thread
From: Fiona Ebner @ 2025-02-04 10:17 UTC (permalink / raw)
  To: Proxmox VE development discussion, Dominik Csapak

Am 08.01.25 um 15:08 schrieb Dominik Csapak:
> i forgot to add 'loopback' and 'dhcp' to the schema, which can be
> returned here.
> 
> Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>

applied, thanks!


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-02-04 10:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-08 14:08 [pve-devel] [PATCH manager] api: network: add more methods to return types Dominik Csapak
2025-02-04 10:17 ` [pve-devel] applied: " Fiona Ebner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal