<div dir="ltr"><div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Said that I haven’t played with GNS3, EVE-NG, VIRL,… recently so I don’t know if any of these would allow me to create these massive “spreadsheets” for programmatic generation of labs.<br></blockquote><div><br></div><div> GNS3 you can, they have a fairly well documented JSON based API that you can use to script up all the things, connections, and visual layout as well. </div><div><br></div><div>I've only played with it on a rudimentary level, but it seems to work just fine. </div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 17, 2019 at 8:14 AM <<a href="mailto:adamv0025@netconsultings.com">adamv0025@netconsultings.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-GB"><div class="gmail-m_8063679147884882735WordSection1"><p class="MsoNormal"><span>I’ve been using network simulation well before GNS3 was around using dynamips - and even when GNS3 came along it was still not good -since it just couldn’t handle the scale (~40nodes) (not on my compute resources at that time anyways).<u></u><u></u></span></p><p class="MsoNormal"><span><u></u> <u></u></span></p><p class="MsoNormal"><span>And similarly nowadays in the era of proper HW simulation through VMs (though I miss the idle-pc), I really like virsh/libvirt along with OVS as it allows me to programmatically generate the VM files (xmls, images, etc..) and define the topology in OVS (talking hundreds of links) which would be otherwise really tedious to draw by hand. <u></u><u></u></span></p><p class="MsoNormal"><span>Also spinning up a big virtual lab from scratch takes several hours (of pure compute time) so it’s better to have some meshing in between the nodes and just spin up arbitrary L1 topologies on demand rather than spinning up the VMs every time one needs to load a different topology.<u></u><u></u></span></p><p class="MsoNormal"><span>Said that I haven’t played with GNS3, EVE-NG, VIRL,… recently so I don’t know if any of these would allow me to create these massive “spreadsheets” for programmatic generation of labs. <u></u><u></u></span></p><p class="MsoNormal"><span><u></u> <u></u></span></p><p class="MsoNormal"><span>Best approach is to have at least two virtual environments<u></u><u></u></span></p><p class="MsoNormal"><span>1) closely resembling production environment -this is where designers and Ops people can test day to day operational changes etc..<u></u><u></u></span></p><p class="MsoNormal"><span>2) environment where architects can test strategic/evolution changes to the network infrastructure, new concepts and big migration/integration projects, etc…   <u></u><u></u></span></p><p class="MsoNormal"><span><u></u> <u></u></span></p><p class="MsoNormal"><span>What is it good for:<u></u><u></u></span></p><p class="MsoNormal"><span>Testing design concepts<u></u><u></u></span></p><p class="MsoNormal"><span> -this is one of the biggest advantages of virtual testing<u></u><u></u></span></p><p class="MsoNormal"><span>Physical labs as we all know cost a small fortune and you can simulate just a small cross-sections of your overall topology at a time  -but in virtual lab depending on your computing resources and depending on what you need to test you can either simulate very large sections or complete network (at lower resolution) or smaller sections with very high resolution or combination of both.<u></u><u></u></span></p><p class="MsoNormal"><span>This allows you to really see what happens to your traffic patterns and assess the impact of your design changes from small to large scales.  <u></u><u></u></span></p><p class="MsoNormal"><span><u></u> <u></u></span></p><p class="MsoNormal"><span>What is it not good for:<u></u><u></u></span></p><p class="MsoNormal"><span>A) Scale testing <u></u><u></u></span></p><p class="MsoNormal"><span>i.e. how many bgp/bfd/vrrp/etc.. sessions how many routes/VRFs/etc… - you need the actual HW resources to carry out these tests<u></u><u></u></span></p><p class="MsoNormal"><span>B) Performance testing<u></u><u></u></span></p><p class="MsoNormal"><span>How much pps I can drive through NPU with these features (QOS,filters,etc…) what are the failover times, (fast reroute, fabric fail,RE fail, etc…) -again you need the actual HW that will be used in production to measure these<u></u><u></u></span></p><p class="MsoNormal"><span><u></u> <u></u></span></p><p class="MsoNormal"><span>But as you can see A) and B) can easily be tested with a single DUT (or some small topology around it) using actual HW plugged in a loop with IXIA/Spirent testers. <u></u><u></u></span></p><p class="MsoNormal"><span><u></u> <u></u></span></p><p class="MsoNormal"><span>adam<u></u><u></u></span></p><p class="MsoNormal"><span><u></u> <u></u></span></p><div style="border-top:none;border-right:none;border-bottom:none;border-left:1.5pt solid blue;padding:0in 0in 0in 4pt"><div><div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(225,225,225);padding:3pt 0in 0in"><p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> NANOG <<a href="mailto:nanog-bounces@nanog.org" target="_blank">nanog-bounces@nanog.org</a>> <b>On Behalf Of </b>Ryland Kremeier<br><b>Sent:</b> Wednesday, October 16, 2019 4:31 PM<br><b>To:</b> <<a href="mailto:nanog@nanog.org" target="_blank">nanog@nanog.org</a>> <<a href="mailto:nanog@nanog.org" target="_blank">nanog@nanog.org</a>><br><b>Subject:</b> Viability of GNS3 network simulation for testing features/configurations.<u></u><u></u></span></p></div></div><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><span lang="EN-US">Hello,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">I’m currently in the process of setting up a near identical network to our own in GNS3 for testing purposes. Has anyone here tried this before to any success? We need to buy the Cisco IOSv image to continue with the sim so I figured I would inquire here first before diving in.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">All info is appreciated,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">-- <u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Ryland Kremeier<u></u><u></u></span></p></div></div></div></blockquote></div>