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 the nodes. The top root level is the <topology> node with child nodes of <node>. Each of the child nodes consists of various extensions and entries. The device configurations are embedded in the file as well:
<?xml version...