Topology as code

Before we declare that the network is too complex, it is impossible to summarize it into code! Let's keep an open mind. Would it help if I tell you we have been using code to describe our topology in this book already?

If you take a look at any of the VIRL topology graphs that we have been using in this book, they are simply XML files that include a description of the relationship between nodes.

In this chapter, we will use the following topology for our lab:

If we open up the topology file, chapter13_topology.virl, with a text editor, we will see that the file is an XML file describing the node and the relationship between ...

Get Mastering Python Networking - Second Edition 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.