compare_version
Compare two JUNOS version strings to determine if the first is greater than, equal to, or less than the second, without requiring a device connection.
Instructions
Compare two JUNOS version strings.
Returns whether left is greater than, equal to, or less than right. No device connection required.
Args: left: First JUNOS version string (e.g., "22.4R3-S6.5") right: Second JUNOS version string (e.g., "23.2R1.0")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| left | Yes | ||
| right | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |