This code can be taken as a reference to do some customized network configuration assessment, I have included few good(must be present) and bad(must not be present) patterns for Cisco and Juniper, which is matched against the list of configuration files stored in a local folder, based on the check, the results are stored in a tabular format in an excel file, from which pivot charts could be made according to the requirement.

pic1pic2pic3pic4pic5pic6

--end-of-post--