feat(opened-ports): revoke_recorded_rules, the loop napalm-linux and napalm-proxmox share

This commit is contained in:
christianmanivong committed 2026-11-26 08:19:53 +01:00
1 parent cbd1cd3d11
commit 4df932e0ca
4 files changed
+85 -1

No files matched your search

+3 -1
View File
@@ -15,7 +15,9 @@ recorded here; their history is the git log.
the operator wrote is never recorded. `parse_opened_ports_record` reads it strictly: not at
all where the directory or the file is not root's alone or is a symbolic link, and a line
that is not exactly a rule is reported, never acted on. `ufw_allow_recorded_command` and
`ufw_delete_command` are ufw's commands, which napalm-linux and napalm-proxmox share;
`ufw_delete_command` are ufw's commands, which napalm-linux and napalm-proxmox share,
`revoke_recorded_rules` removes the rules recorded under a purpose with the driver's own
command and keeps every other line;
`revoked_output` says what closing removed and what it left for the port.
- `ZabbixAgentMixin._revoke_zabbix_agent_sources(settings)`, optional: for an `active_only`
agent, `configure_zabbix_agent`'s firewall step has the driver close what netOrk opened