# HN806: Let’s Get NUTS! Page: https://stenobird.com/podcast/heavy-networking/hn806-let-s-get-nuts Text version: https://stenobird.com/podcast/heavy-networking/hn806-let-s-get-nuts.md Podcast: [Heavy Networking](https://stenobird.com/podcast/heavy-networking) Published: 2025-11-21T15:55:41+00:00 Episode link: https://packetpushers.net/podcasts/heavy-networking/hn806-lets-get-nuts/ Audio file: https://feeds.packetpushers.net/link/12486/17214500/HN806.mp3 Processing state: processed JSON: https://stenobird.com/v1/public/podcasts/heavy-networking/episodes/hn806-let-s-get-nuts Duration seconds: 2767 ## Resource Network engineers can apply software development unit testing principles to infrastructure via the NUTS (Network Unit Testing System) open-source project. This discussion explores how granular, automated verification of individual network components prevents configuration errors during maintenance. ## Highlights - Main idea: NUTS enables granular verification of specific network components rather than just high-level end-to-end connectivity - Practical takeaway: Use YAML-based test bundles to automate checks for BGP neighbors, OSPF states, and interface configurations - Failure mode: Relying solely on integration tests or manual checklists can miss fine-grained configuration errors during critical changes - Practical takeaway: The framework leverages existing tools like NAPALM and community drivers to provide vendor-agnostic testing - Implementation strategy: Start with simple YAML definitions and expand into custom Python-based tests as your automation maturity grows ## Topics Network Automation, Unit Testing, Open Source, Infrastructure as Code, Python, BGP, Network Verification, YAML ## Chapters - 1:00 — Introduction to NUTS: An introduction to the Network Unit Testing System (NUTS) and its maintainers. - 4:15 — The Value of Pre-testing: How verifying BGP neighbors and interfaces before changes prevents breaking production networks. - 7:30 — Unit vs. Integration Testing: Defining the granular scope of unit tests compared to broader integration testing in networking. - 11:05 — Vendor Support and Frameworks: Using NAPALM and YAML to achieve multi-vendor compatibility in test definitions. - 18:05 — Version Control and Collaboration: Integrating network tests into Git repositories to apply software engineering principles to infrastructure. - 21:50 — Understanding Test Bundles: How predefined YAML bundles and custom Python scripts allow for scalable network verification. - 32:30 — Lessons from the Field: A look at the motivation behind NUTS: preventing the high-stakes errors of manual network maintenance. ## Actions - request_transcript: `POST https://stenobird.com/v1/public/podcasts/heavy-networking/episodes/hn806-let-s-get-nuts/transcription-requests` — Idempotently request low-priority transcript generation for this episode. - read_markdown: `GET https://stenobird.com/podcast/heavy-networking/hn806-let-s-get-nuts.md` — Read the agent-friendly Markdown representation of this episode resource. A page view does not enqueue transcription. Agents should invoke `request_transcript` explicitly when they need this episode processed. ## Transcript Full transcripts are not published on public pages unless there is a clear rights basis.