https://techandtrains.com/2014/09/13/mininet-and-open-vswitch-on-centos-7/
mkdir -p /home/mininet/rpmbuild/SOURCES/
cd /home/mininet/rpmbuild/SOURCES/
wget http://openvswitch.org/releases/openvswitch-2.5.0.tar.gz
tar zxvf openvswitch-2.5.0.tar.gz
cd openvswitch-2.5.0
rpmbuild -bb --without check rhel/openvswitch.spec
sudo rpm -ivh --nodeps /home/mininet/rpmbuild/RPMS/x86_64/openvswitch*.rpm
– Start OVS
sudo /etc/init.d/openvswitch start
– Check working
[mininet@localhost ~]$ sudo ovs-vsctl show
76ed3664-6b6b-4325-85c1-c9a2bf735e30
ovs_version: "2.5.0"