]> git.proxmox.com Git - pve-firewall.git/commit
fix #4556: api: return scoped IPSets and aliases
authorLeo Nunner <l.nunner@proxmox.com>
Tue, 13 Jun 2023 12:06:33 +0000 (14:06 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 15 Jun 2023 07:22:45 +0000 (09:22 +0200)
commitb06a8c2d0377758f3f7353a8829dbe1f909c6a12
treea686c4a4f2ad97606ea7f9d716161f9ea5231dc1
parentaaa87fbb8311e10a702e479e81f2a4e113789039
fix #4556: api: return scoped IPSets and aliases

Introduce a new 'scope' field in the return values for the /ref
endpoints. Also add the 'ref' field in the VM endpoint, since it has
been missing up until now.

Signed-off-by: Leo Nunner <l.nunner@proxmox.com>
src/PVE/API2/Firewall/Cluster.pm
src/PVE/API2/Firewall/VM.pm
src/PVE/Firewall/Helpers.pm