pve_firewall_options_set
Set firewall options (policies, logging, ebtables) for cluster, node, or guest scope. Dry-run provides a PLAN with risk assessment; confirm=True to apply changes.
Instructions
MUTATION: set firewall options for a scope (policy_in/out, log levels, ebtables, log_ratelimit,
...). options is a key->value bag; delete unsets keys. Dry-run by default — the PLAN shows the
current values and flags lockout risk. RISK_HIGH when enabling the firewall or changing a policy.
Synchronous — confirm=True returns {"status": "ok", "result": None}; no task UPID to poll.
To read current values first use pve_firewall_options_get; to toggle just the enable flag use the focused pve_firewall_set_enabled. No UNDO — revert by setting the prior values.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Guest kind for scope='guest': 'qemu' or 'lxc'. | |
| node | No | Node name, required for scope='node' or scope='guest'. | |
| vmid | No | Guest VMID/CTID, required for scope='guest'. | |
| scope | No | Firewall scope: 'cluster', 'node', or 'guest'. | cluster |
| delete | No | List of option keys to unset/remove. | |
| digest | No | Optimistic-lock digest forwarded to PVE to abort if the options changed; this tool's PLAN does not surface a digest to copy (only the rule tools do). | |
| confirm | No | Set True to execute the mutation; False (default) only returns a dry-run PLAN. | |
| options | No | Key-value bag of firewall options to set, e.g. policy_in, policy_out, log_ratelimit, enable, ebtables. | |
| proximo_target | No | Which configured Proxmox target to run this call against — a target name from your multi-target config (a specific PVE/PBS/PMG/PDM box). Omit to use the single/default target from the environment; the selection applies only to this call. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |