mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-10-04 11:36:22 +00:00
api: network: add more methods to return types
i forgot to add 'loopback' and 'dhcp' to the schema, which can be returned here. Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
bbba1c53a1
commit
3111c08f78
@ -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 => {
|
||||
|
Loading…
Reference in New Issue
Block a user