cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
220
Views
1
Helpful
1
Replies

Generating a Network Diagram from a pyats testbed yaml file

bill.johnston
Level 1
Level 1

Hi Folks,

I'm exploring Cisco pyats and am wondering if there is a utility to generate a network diagram from the testbed yaml file?

I have seen simple text based diagrams on various discussions/blogs, but am not sure if these were created manually of by some tool/utility/function I am current unaware of.

Kindest Regards,

Bill Johnston 

1 Reply 1

As far as i know there isn't a built-in utility within Cisco pyATS to directly generate network diagrams from the testbed YAML file. However you can use a Python libraries like graphviz or networkx and parse the YAML file and programmatically build a network graph, it does requires some Python knowledge but offers more automation compared to doing this in a manual way.

Hope this helps.

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io