vyos_config_diff
Show what a VyOS commit revision changed. Returns a unified diff of the specified revision (default most recent) to track configuration changes.
Instructions
Show what a commit revision changed (not a running-config comparison).
Returns a unified diff of revision rev+1 -> rev, i.e. what that
commit changed. Defaults to the most recent commit (rev 0). Revision
numbers are the `revision` values listed by vyos_config_history.
Note: the VyOS HTTP API cannot compare the running config against
the saved config, so this tool only diffs committed revisions.
Args:
rev: Commit revision number (omit or 0 = most recent)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rev | No |