check_remote_packages
Verify firmware file integrity on Junos devices by comparing staged packages against checksum hashes via NETCONF.
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 |
|---|---|---|---|
| hostnames | No | ||
| tags | No | ||
| model | No | ||
| max_workers | No | ||
| config_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |