IOS-XR (XRv) and IOS-XE (CSR1000v) KVM Config Generation

As I’m mostly going to be using XRv and the CSR1000v to create my Service Provider Lab Environment to study for the CCNP Service Provider exams, I thought that I would throw together a quick script so that I can build lab environments quickly. If you’ve played with XRv or CSR1000v in KVM at all, you know that it’s a hassle to generate your topologies. I’ve made that way easier with the “Virtual Network Lab Config Generator”. Note that this doesn’t generate device configs, but rather the KVM configuration that you use to spin up and connect your virtual devices. The code is on github.com. It was written hastily, so it’s very rough. :)

Virtual Network Lab Config Generator

Here is a screen shot:

Screen Shot 2014-04-05 at 8.53.49 PM

When used, it can generate complex KVM configs in a matter of minutes, rather than an hour or more. Here is an example:

The above configuration was completely generated automatically. Super simple. :)

Share on FacebookTweet about this on TwitterShare on LinkedInShare on RedditEmail this to someone

April 5, 2014

Posted In: CCNP SP Study Notes, Innovative, IOS-XE, IOS-XR, Miscellaneous Hacking, MySQL, PHP, training, Virtualization