Episode

HN806: Let’s Get NUTS!

Podcast
Heavy Networking
Published
Nov 21, 2025
Duration seconds
2767
Processing state
processed
Canonical source
https://packetpushers.net/podcasts/heavy-networking/hn806-lets-get-nuts/
Audio
https://feeds.packetpushers.net/link/12486/17214500/HN806.mp3
JSON
/v1/public/podcasts/heavy-networking/episodes/hn806-let-s-get-nuts
Markdown
/podcast/heavy-networking/hn806-let-s-get-nuts.md

Actions

  • 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.
  • GET https://stenobird.com/podcast/heavy-networking/hn806-let-s-get-nuts.md
    Read the agent-friendly Markdown representation of this episode resource.

Summary

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.

Topics

  • Network Automation
  • Unit Testing
  • Open Source
  • Infrastructure as Code
  • Python
  • BGP
  • Network Verification
  • YAML

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

Chapters

  1. 1:00 Introduction to NUTS: An introduction to the Network Unit Testing System (NUTS) and its maintainers.
  2. 4:15 The Value of Pre-testing: How verifying BGP neighbors and interfaces before changes prevents breaking production networks.
  3. 7:30 Unit vs. Integration Testing: Defining the granular scope of unit tests compared to broader integration testing in networking.
  4. 11:05 Vendor Support and Frameworks: Using NAPALM and YAML to achieve multi-vendor compatibility in test definitions.
  5. 18:05 Version Control and Collaboration: Integrating network tests into Git repositories to apply software engineering principles to infrastructure.
  6. 21:50 Understanding Test Bundles: How predefined YAML bundles and custom Python scripts allow for scalable network verification.
  7. 32:30 Lessons from the Field: A look at the motivation behind NUTS: preventing the high-stakes errors of manual network maintenance.