copy_package
Copy firmware package to a remote Junos device via SCP with checksum verification, checking if copy is needed and cleaning storage before transfer.
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 |