copy_package
Copy firmware to Juniper device with checksum verification, skipping if already present or running target version.
Instructions
Copy firmware package to remote device via SCP with checksum verification.
Checks if copy is needed (already running target version, or package already present on device). Cleans up storage before copying.
Args: hostname: Target device hostname (must exist in config.ini) dry_run: If True (default), show what would be done without copying force: If True, skip version checks and force copy config_path: Path to config.ini (empty string uses default search)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hostname | Yes | ||
| dry_run | No | ||
| force | No | ||
| config_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |