All scripts
isp
Advanced
2–5 min

T-ISP-003 · RPKI / ROA Validation Monitor

Continuously validate received prefixes against RPKI ROAs via an RTR/validator HTTP API, flag Invalid/NotFound origins, and correlate with router validation state.

Cisco IOS-XR
Juniper Junos
Arista EOS
Open in GeneratorOpen in Platform
You're viewing a preview

The full script, parameters, and execution console are available with a free account.

Already have access? Sign in →

Capabilities

  • Validator REST integration
  • Invalid/NotFound flagging
  • Origin-AS correlation
  • Router validation-state diff
  • Prometheus-friendly metrics
  • Alert webhook hooks

Required inputs

Parameters the script accepts. Defaults shown; some are vendor- or context-gated.

ParameterTypeDefaultNotes
Validator API URL
validator_url
stringhttp://localhost:8323
Alert on Invalid
alert_invalid
booltrue

Hint 1Name your vendors and OS versions

Mention the exact platforms you run (Cisco IOS-XR, Juniper Junos, Arista EOS) so the generated isp & peering logic uses the right CLI/NETCONF syntax.

Hint 2State your real thresholds

Provide concrete values for Validator API URL, Alert on Invalid instead of the defaults — they shape what counts as a fault.

Hint 3Prioritize the checks you need

This tool can validator REST integration and invalid/NotFound flagging. Ask for the subset relevant to your incident to keep output focused.

Hint 4Describe your inventory format

Tell the assistant whether your device list is CSV, YAML, or JSON and which columns it has, so parsing matches your data.

Sample inventory schema

Authoritative shape of the device/policy data this script consumes.

No bundled inventory sample. The script accepts standard device lists (CSV/YAML) with hostname, mgmt IP, vendor, and credentials.

Expected output

Reference terminal output the script should produce — used as a stylistic and structural target.

terminal
2026-06-15 11:20:44 INFO  Fetched 198432 VRPs from validator
2026-06-15 11:20:46 WARN  203.0.113.0/24 origin AS64500 → INVALID (expected AS64511)
2026-06-15 11:20:46 INFO  Valid: 811 · NotFound: 73 · Invalid: 1