Episode
HN806: Let’s Get NUTS!
- Podcast
- Heavy Networking
- Published
- Nov 21, 2025
- Duration seconds
- 2767
- Processing state
processed
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:00Introduction to NUTS: An introduction to the Network Unit Testing System (NUTS) and its maintainers.4:15The Value of Pre-testing: How verifying BGP neighbors and interfaces before changes prevents breaking production networks.7:30Unit vs. Integration Testing: Defining the granular scope of unit tests compared to broader integration testing in networking.11:05Vendor Support and Frameworks: Using NAPALM and YAML to achieve multi-vendor compatibility in test definitions.18:05Version Control and Collaboration: Integrating network tests into Git repositories to apply software engineering principles to infrastructure.21:50Understanding Test Bundles: How predefined YAML bundles and custom Python scripts allow for scalable network verification.32:30Lessons from the Field: A look at the motivation behind NUTS: preventing the high-stakes errors of manual network maintenance.