August 2018
Intermediate to advanced
466 pages
10h 23m
English
In my opinion, the best test for network configuration is using standardized templates to generate the configuration and back up the production configuration often. We have seen how we can use the Jinja2 template to standardize our configuration per device type or role. This will eliminate many of the mistakes caused by human error, such as copy and paste.
Once the configuration is generated, we can write tests against the configuration for known characteristics that we would expect before we push the configuration to production devices. For example, there should be no overlap of IP address in all of the network when it comes to loopback IP, so we can write a test to see whether the new configuration contains ...
Read now
Unlock full access