validate_in_lab
Deploy a network topology to containerlab, run validation tests, and receive a pass/fail/warning verdict. The lab is automatically torn down after testing.
Instructions
Deploy a topology to containerlab, run netlab validate, and record the verdict.
Requires docker + containerlab on a Linux host. Returns the verdict (pass/fail/warning), rendered config, raw validate output, and persists a version-scoped matrix row. The lab is always torn down afterward. On a host without containerlab this returns verdict "unavailable" rather than failing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topology_yaml | Yes | ||
| platforms | Yes | ||
| module | No | bgp | |
| scenario | No | ||
| keep_lab | No | ||
| timeout_s | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||