This repository is a library of examples/demo using Vagrant and vqfx10K. Each example has its own directory and will contain at least a Vagrantfile
Once you have followed the installation procedure, you can start a topology with few lines
To try an example, you just have to go inside a specific directory and run "vagrant up":
git clone https://github.com/Juniper/vqfx10k-vagrant.git
cd vqfx10k-vagrant/light-2qfx
vagrant up
Some topologies are using Ansible, If you don't have ansible you can start them using
vagrant up --no-provision
Once both VMs are up and running, you can connect to them with:
vagrant ssh vqfx1
vagrant ssh vqfx2
Available examples:
Installation Guide is available here
Contributions to this repository are welcome and encouraged, especially to:
To contribute
TODO
The best solution to provide feedback is to open a new issue on the git tracker associated with this repo.
Before opening a new issue, please check the troubleshooting guide - work in progress
vqfx10k is a tool provided for lab and training; this is not a intended to be used in production. Capacities are similar to a real QFX10K but performance are very limited in this version, few 100s PPS.
vqfx10k for Vagrant can work in 2 modes: Full and Light
In Full mode, it require 2 VMs for each instance:
In Full mode, the dataplane is fully functional and is very close to the real QFX10K
These 2 VMs need to be interconnected with a dedicated private network on their interface number 1, (interface 0 is always reserved for Vagrant for management). All data plane interfaces need to be connected to the Routing Engine (RE) VM. Up to 12 data plane interfaces are supported. Port names will be xe-0/0/0 to xe-0/0/11.
Only few features are not supported due to some architecture differences between vQFX10K and a real QFX10K
Unsupported features:
In Light mode, only 1 Routing Engine VM, running Junos is required for each instance.
Up to 5 interfaces are supported to connect to external devices. Interface names will be em3 to em7
In Light mode, most data plane features are not supported and all packets are processed in kernel
Family ethernet-switching is not supported in light mode
Requires:
A maximum of 12 interfaces are supported:
This VM has 2 account by default:
Virtualbox only support 8 interfaces by default
Requires:
A maximum of 2 interfaces are supported:
This VM has 2 account by default:
What is Vagrant
Vagrant is an open-source (MIT) tool for building and managing virtualized development environments developed by Mitchell Hashimoto and John Bender.
Vagrant is able to create VMs, connect them together and is specify configure them automatically.
Here is a good introduction to Vagrant for Network Engineer
For now, only VirtualBox is supported as a provider.
VMware will be added later.