vyos_configure
Apply multiple VyOS configuration changes atomically using commit-confirm. Batch related set and delete operations for safe, automatic rollback if not confirmed within 5 minutes.
Instructions
Apply a list of VyOS config changes atomically with commit-confirm.
Every operation in `commands` is applied in a single commit-confirm
window — the whole batch commits or rolls back together, never
partially. Prefer batching all related set/delete changes into one
call rather than making several sequential calls; this is faster and
keeps related changes atomic.
This is the safe default — changes auto-revert after 5 minutes unless
confirmed with vyos_confirm.
Args:
commands: List of config operations, each with 'op'
('set'/'delete') and 'path' (list of strings). Pass as many
as belong together. Example:
[{"op": "set", "path": ["firewall", "group",
"network-group", "MY_GROUP", "network", "10.0.0.0/8"]},
{"op": "set", "path": ["firewall", "group",
"network-group", "MY_GROUP", "network", "192.168.0.0/16"]}]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commands | Yes |