]> git.proxmox.com Git - pve-common.git/commit
add 'map_id' helper for ID maps
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 9 Feb 2022 13:07:30 +0000 (14:07 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 9 Feb 2022 17:31:27 +0000 (18:31 +0100)
commitf627fab7dc58f6077b9efdca646b52b5fc976856
treeeb91a7d38d9a47c5e6865aaa66a64708504d0e24
parentac47f1e617f41d74f9a24b1b92f9be7e1e6dff35
add 'map_id' helper for ID maps

currently these are used by qemu-server for mapping source and target
storages, but this mechanism will be extended to network bridge maps and
re-used in pve-container as well, so let's put it next to the schema
definitions/helpers.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
src/PVE/JSONSchema.pm