check_remote_packages
Verifies that firmware packages staged on remote Junos devices match their checksums using NETCONF, ensuring post-SCP copy integrity.
Instructions
Verify the staged firmware checksum on one or more devices.
Equivalent to junos-ops check --remote. Connects to each device
via NETCONF and verifies the package file (<model>.file) sitting
on the device against <model>.hash. Doubles as post-SCP copy
verification. Per-host model resolution: model arg > config.ini
[host].model > device facts.
Args:
hostnames: List of target device hostnames (must exist in config.ini)
tags: Tag filter. Each list element is one tag group (comma-separated
tags AND together within a group); multiple list elements OR
together across groups. Combined with hostnames the result is
the intersection.
model: Override model resolution for all hosts (empty = per-host resolution)
max_workers: Maximum parallel threads (default 20)
config_path: Path to config.ini (empty string uses default search)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| model | No | ||
| hostnames | No | ||
| config_path | No | ||
| max_workers | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |