vyos_configure
Applies batched VyOS set/delete configuration changes atomically with commit-confirm, auto-reverting unless confirmed within five 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. Confirm or let a pending window expire
before calling again: a call while one is pending commits WITHOUT its
own rollback and raises. An error saying changes were COMMITTED means
they are live; do not retry blindly. A `warning` key in the result
means auto-rollback could not be verified (`service https` changes).
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 |