20 February, 2018

Create lab infrastructure running Virtual machines with MAAS using Vagrant

Sometimes it's handy to replicate the physical environment on a single server to do some testing.

In my I case I replicated the environment containing 3 VMs where MAAS was installed on the first VM (kvm01) and other two VMs (kvm02, kvm03) were provisioned by the MAAS. I also defined few networks with IP ranges: deploy_network 192.168.25.0/24, control_network 192.168.26.0/24, tenant_network 192.168.27.0/24.

Here is the network diagram of the lab:


You can see the commands I used and descriptive video...