CiscoConfParse library

As the official GitHub page says, the library examines an iOS-style config and breaks it into a set of linked parent/child relationships. You can perform complex queries on these relationships:

So, the first line of the configuration is considered the parent, while the subsequent lines are considered the children of the parent. The CiscoConfparse library builds the relationship between parent and child into an object so the end user can easily retrieve the configuration of a specific parent without the need to write complex expressions.

It's extremely important that ...

Get Hands-On Enterprise Automation with Python. now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.