check_reachability
Check NETCONF reachability for one or more Junos devices via a fast handshake, returning per-host status in a table.
Instructions
Probe NETCONF reachability for one or more devices.
Equivalent to junos-ops check --connect. Opens a fast NETCONF
handshake (no full PyEZ facts gathering, 5-second TCP probe) and
reports per-host status as a table.
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.
max_workers: Maximum parallel threads (default 20, matches junos-ops)
config_path: Path to config.ini (empty string uses default search)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hostnames | No | ||
| tags | No | ||
| max_workers | No | ||
| config_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |