Your browser failed to load CSS style sheets. Your browser or web proxy might not support elliptic-curve TLS

Building network automation solutions

9 module online course

Start now!
back to overview

Model Your Network as a Graph not a Set of Boxes

Last week I explained how you could take a typical first attempt at a network automation data model and reduce the amount of duplicate data… but the data model we used was still describing a set of seemingly disconnected boxes.

How about restructuring the whole thing and describing what networks really are - graphs made of nodes (network devices) and links?

Please read our Blog Commenting Policy before writing a comment.


  1. Really an excellent series. I'm very curious how that series will continue. Keep up the good work. What I don't understand is why do you have an if statement for 'Vlan' in the BGP configuration template (stub interfaces) in one case but not in the other?

    1. Copy-paste error (the source code on GitHub is correct). Fixed. Thanks a million for pointing this out!


Constructive courteous comments are most welcome. Anonymous trolling will be removed with prejudice.