rollback_package
Rollback to a previously installed package version on a Junos device, checking for pending version first and skipping if none. Dry-run mode available.
Instructions
Rollback to previously installed package version.
Checks pending version first. If no pending version exists, rollback is skipped.
Args: hostname: Target device hostname (must exist in config.ini) dry_run: If True (default), show what would be done without rolling back config_path: Path to config.ini (empty string uses default search)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hostname | Yes | ||
| dry_run | No | ||
| config_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |