All, I finally got around[1] to bashing together something to dump the graph as a .dot. It's a Python script that uses the papi module. It's not ready to merge yet IMO but I've made the patch public[2] in case anyone else wants to play with it while I work on it. The commit message has my current TODO list for the patch, and an example invocation to produce an SVG of the graph using Graphiz.
Enjoy, Chris. [1] To be precise, I did this already over a year ago https://lists.fd.io/pipermail/vpp-dev/2016-May/001201.html but that was a CLI command inside VPP. I wanted to build something that used the API instead since I feel we can do more sophisticated things there. [2] https://gerrit.fd.io/r/#/c/9222/
_______________________________________________ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev