get_diff_between_versions
Compare two historical versions of a network device configuration to see the unified diff. Provides clear before/after changes for troubleshooting and audit.
Instructions
Return a unified diff between two historical versions of a device configuration. The node may be an exact name or a unique partial name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | device hostname, full name, or unique part of the name | |
| group | No | device group in Oxidized (optional) | |
| version_a | Yes | first version number (older) | |
| version_b | Yes | second version number (newer) | |
| context_lines | No | number of unchanged lines to show around each change block |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |