Install vagrant and libvirt provider:
sudo yum install -y vagrant
sudo yum install -y vagrant-libvirtAvoid having to enter credentials every time vagrant does something with libvirt:
sudo gpasswd -a ${USER} libvirt
newgrp libvirtCheckout this repository.
git clone https://github.com/hlrichardson/ovn-vagrant
cd ovn-vagrantCreate CentOS VMs (OVN central and two OVN compute nodes)
vagrant up --provider libvirtLook around in central node:
vagrant ssh central
sudo ovn-sbctl show
exitLook around in compute1 node:
vagrant ssh compute1
sudo ovs-vsctl show
exitLook around in compute2 node:
vagrant ssh compute2
sudo ovs-vsctl show
exitWhen done, clean up:
vagrant destroySee also: