Building Network Automation Solutions

9 module online course

Start now!

Validation, Error Handling and Unit Tests » Building Network Automation Solutions » Validation, Error Handling and Unit Tests

GIGO (Garbage-In-Garbage-Out) is one of the major sources of automation failures. A good automation solution should always validate the input data before starting automation tasks. It should also check the actual device state before making changes to the device configuration unless you’ve fully automated the configuration deployments.

This module describes various approaches to data validation and error handling. We’ll also focus on unit tests - simple tests that verify the correctness of your code, and stress-test it using as many invalid inputs as possible - and figure out how to automate them as part of your deployment process.

Hands-on Exercises

In the hands-on part of this section you’ll add data validation and error handling to the configuration-generation playbook you created during the previous module, and create unit tests to test your new code with a variety of invalid inputs.

Guest speakers

The guest speakers in this module include:


At a Glance

  • 9 modules spread across ~3 months;
  • Hands-on experience working on a solution to your own problem;
  • Live online discussion and guest speaker sessions;
  • Design and coding assignments
  • Strong Slack-based support from your peers, Ivan Pepelnjak, and past and current guest speakers
  • Final course completion certificate.

Reserve your seat