In this recipe, we will outline how we can validate the operational state of the network by defining the intended state of the network and letting NAPALM validate that the actual/operational state of the network matches our intended state. This is useful in network auditing and compliance reports for our network infrastructure.
Validating and auditing networks with NAPALM
Getting ready
To follow along with this recipe, it is assumed that an Ansible inventory is already in place and network reachability between the Ansible controller and the network is established. Finally, the network is configured as per the previously outlined recipe.