pyats-dynamic-test

Generate and execute deterministic pyATS aetest validation scripts for network state checks.

Updated Feb 28, 2026
One-click install
npx skills add https://github.com/dgethings/netclaw --skill pyats-dynamic-test-dgethings
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pyats-dynamic-test
Source: https://github.com/dgethings/netclaw/tree/main/workspace/skills/pyats-dynamic-test
Command: npx skills add https://github.com/dgethings/netclaw --skill pyats-dynamic-test-dgethings

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generate and execute deterministic pyATS aetest validation scripts to verify network state after changes, enabling automated regression testing and post-change validation.

Core Features & Use Cases

  • Generate deterministic aetest scripts from a TEST_DATA payload, supporting interface state checks, OSPF neighbors, BGP routes, and ping matrices.
  • Validate post-change state, run automated regression tests, and build data-driven tests that are repeatable across devices.
  • Use Case: After a configuration change, produce a formal test suite that proves the device state matches the known-good baseline.

Quick Start

Provide a JSON-serialized dynamic pyATS test script that defines TEST_DATA for the target devices and runs via the MCP to execute the test.

Frequently Asked Questions about pyats-dynamic-test

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate post-change network validation using pyATS?

Automate post-change network validation by generating deterministic pyATS aetest scripts that verify interface state, OSPF neighbors, BGP routes, and reachability matrices against a known-good baseline. You supply a JSON-serialized test payload to define the validation criteria and execute it within a sandbox.

What is deterministic regression testing for network devices?

Deterministic regression testing for network devices involves running data-driven pyATS test suites to prove that device state matches a known-good baseline after changes. It ensures repeatable validation across devices by checking protocols like OSPF and BGP.

Does pyATS aetest require a specific format for automated test scripts?

Yes, pyATS aetest requires the test script to be supplied as a single-line JSON string. This TEST_DATA payload defines the target devices and validation checks, which the framework uses to generate and execute the formal test suite.

What do I need to run pyATS validation scripts in a sandbox?

To run pyATS validation scripts, you need Python 3 and the pyATS framework installed. The execution must occur in a sandbox with a defined timeout, and the test data must be provided as a JSON-serialized string.

Can I verify BGP routes and OSPF neighbors simultaneously with network validation?

Yes, you can verify BGP routes and OSPF neighbors simultaneously by defining both checks within the TEST_DATA JSON payload. The generated pyATS aetest script executes these validations together to confirm overall network state.

What are the limitations of running pyATS tests via a JSON string?

The limitation of running pyATS tests via a JSON string is that the entire test script must be supplied as a single-line JSON string and executed within a sandbox with a defined timeout. This requires careful payload construction and limits execution time.