Building Network Automation Solutions

10 module online course

Start now!

Validation, Error Handling and Unit Tests

ipSpace.net » 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:

DescriptionOutlineMaterialsExercises

At a Glance

  • 10 modules
  • Over 120 hours of self-study materials including 94 hours of course materials and 22 hours of Ansible content
  • Hands-on experience working on a solution to your own problem
  • Design and coding assignments
  • Strong Slack-based support from your peers, Ivan Pepelnjak, and past and current guest speakers
  • Final course completion certificate

Start now