mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-10-04 17:38:28 +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 => {
|
method => {
|
||||||
type => "string",
|
type => "string",
|
||||||
description => "The network configuration method for IPv4.",
|
description => "The network configuration method for IPv4.",
|
||||||
enum => ["manual", "static", "auto"],
|
enum => ["loopback", "dhcp", "manual", "static", "auto"],
|
||||||
optional => 1,
|
optional => 1,
|
||||||
},
|
},
|
||||||
method6 => {
|
method6 => {
|
||||||
type => "string",
|
type => "string",
|
||||||
description => "The network configuration method for IPv6.",
|
description => "The network configuration method for IPv6.",
|
||||||
enum => ["manual", "static", "auto"],
|
enum => ["loopback", "dhcp", "manual", "static", "auto"],
|
||||||
optional => 1,
|
optional => 1,
|
||||||
},
|
},
|
||||||
options => {
|
options => {
|
||||||
|
Loading…
Reference in New Issue
Block a user