Diff Node Versions
diff_node_versionsCompare two configuration versions of a network node and see the unified diff, highlighting exactly what changed. Defaults to showing the most recent modification.
Instructions
Show what changed in a node's configuration between two versions.
Returns a unified diff from 'base_oid' (older) to 'oid' (newer). With no arguments besides the node it shows the most recent change.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| oid | No | Newer version oid (full or prefix); defaults to the latest version | |
| node | Yes | Node name or IP address (e.g. 'core-sw01') | |
| group | No | Node group; looked up automatically when omitted | |
| base_oid | No | Older version oid to compare against; defaults to the version before 'oid' | |
| max_lines | No | Maximum diff lines to return (0 = whole diff) | |
| context_lines | No | Unchanged lines of context around each change |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||