OVS Installation on CentOS 6 or 7
- yum update -y
- yum install gcc make python-devel openssl-devel kernel-devel graphviz kernel-debug-devel autoconf automake rpm-build redhat-rpm-config libtool checkpolicy selinux-policy-devel python-six
- We can find OpenvSwitch in RDO repo (RDO is a community of people using and deploying OpenStack on CentOS, Fedora and RHEL):
- wget https://rdoproject.org/repos/rdo-release.rpm
- rpm -i rdo-release.rpm
- yum install openvswitch
- Enable OVS daemon on startup and start it:
- On CentOS 6
- chkconfig openvswitch on
- service openvswitch start
- On CentOS 7:
- systemctl -l start openvswitch.service
- systemctl -l enable openvswitch.service
- In order to avoid possible conflicts in networking:
- yum remove NetworkManager
- To verify your OVS installation:
- ovs-vsctl -V
ovs-vsctl (Open vSwitch) 2.5.0
Compiled Mar 18 2016 15:00:11
DB Schema 7.12.1
- ovs-vsctl show
1c490f2d-68c0-4dd0-a0de-cdcaa944711a
ovs_version: "2.5.0"