[pve-devel] [PATCH v2 firewall] fix #4414: automatically rename usages of aliases and IPsets
Leo Nunner
l.nunner at proxmox.com
Thu Jan 26 15:31:25 CET 2023
This patch depends on my previous patch removing capitalization
restrictions [1].
Changes from v1:
- factor in feedback from v1
- fix issues that arose from renaming objects and changing their
capitalization. This is a separate patch, since it would exceed
the scope of this one. Rebased accordingly.
Note that this patch depends on _all_ the patches in [1], so also
the optional one. In case that isn't needed, I'll rebase this
patch.
[1] https://lists.proxmox.com/pipermail/pve-devel/2023-January/055596.html
firewall:
Leo Nunner (2):
allow updating an alias without providing a CIDR
fix #4414: automatically rename usages of aliases and IPsets
src/PVE/API2/Firewall/Aliases.pm | 53 ++++++++++++++++++++++++++++---
src/PVE/API2/Firewall/Groups.pm | 54 ++++++--------------------------
src/PVE/API2/Firewall/IPSet.pm | 47 +++++++++++++++++++++++++--
src/PVE/Firewall/Helpers.pm | 33 +++++++++++++++++++
4 files changed, 136 insertions(+), 51 deletions(-)
--
2.30.2
More information about the pve-devel
mailing list