mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-30 00:30:42 +00:00
schema: use pve-bridge-id
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
e0981f8b8b
commit
dbdcc5cde0
@ -914,13 +914,10 @@ my $net_fmt = {
|
|||||||
default_key => 1,
|
default_key => 1,
|
||||||
},
|
},
|
||||||
(map { $_ => { keyAlias => 'model', alias => 'macaddr' }} @$nic_model_list),
|
(map { $_ => { keyAlias => 'model', alias => 'macaddr' }} @$nic_model_list),
|
||||||
bridge => {
|
bridge => get_standard_option('pve-bridge-id', {
|
||||||
type => 'string',
|
|
||||||
description => $net_fmt_bridge_descr,
|
description => $net_fmt_bridge_descr,
|
||||||
format_description => 'bridge',
|
|
||||||
pattern => '[-_.\w\d]+',
|
|
||||||
optional => 1,
|
optional => 1,
|
||||||
},
|
}),
|
||||||
queues => {
|
queues => {
|
||||||
type => 'integer',
|
type => 'integer',
|
||||||
minimum => 0, maximum => 16,
|
minimum => 0, maximum => 16,
|
||||||
|
Loading…
Reference in New Issue
Block a user