[pve-devel] [PATCH v2 firewall manager] firewall: introduce scoping for ipsets/aliases

Leo Nunner l.nunner at proxmox.com
Tue Jun 13 14:06:31 CEST 2023


Changes since v1:
    - fix adding entries to IPSets on the cluster level
    - code style improvements
    - adapt to the scoping change with 'guest/'
	The GUI now just shows the scope "Datacenter/Guest", and returns
	the concatenated value ('$scope/$value') automatically.

pve-firewall:

Leo Nunner (2):
  api: fix scoping for ipset endpoint
  fix #4556: api: return scoped IPSets and aliases

 src/PVE/API2/Firewall/Cluster.pm | 34 +++--------------------
 src/PVE/API2/Firewall/IPSet.pm   |  2 ++
 src/PVE/API2/Firewall/VM.pm      | 46 +++++++-------------------------
 src/PVE/Firewall/Helpers.pm      | 39 +++++++++++++++++++++++++++
 4 files changed, 54 insertions(+), 67 deletions(-)

pve-manager:

Leo Nunner (1):
  firewall: add scope field to IPRefSelector

 www/manager6/form/IPRefSelector.js | 35 +++++++++++++++++++++++++++---
 1 file changed, 32 insertions(+), 3 deletions(-)

-- 
2.30.2






More information about the pve-devel mailing list