Open evilmonkey19 opened 3 months ago
To close the loop for the broader community, there is a thread over at ntc-templates.
The summary of that thread being TextFSM is not set up for providing (deeply?) nested data. If nested data is required, maybe modify it after textfsm parsing (post-parse) or there might be another project that does this out-of-the-box. There's an awesome network automation list that might help show possibilities.
Hi!
I'm currently using TextFSM in NTC_Templates and so far has been an awesome experience. Thanks for the awesome project!
I would like to ask about a specific problem i came across from a CLI output. Basically I want to be able to parse the data using different templates or whatever. The thing I would love is to be able to parse this output in just one single object:
The output should be something as follows:
I accept any other suggestion as well! I suggest to reuse the id and index as a way to connect each part, but if it can nested inside even better instead of relating using the indexes. Thanks!