1、 安装依赖包
yum install -y python-six selinux-policy-devel gcc make python-devel openssl-devel kernel-devel graphviz kernel-debug-devel autoconf automake rpm-build redhat-rpm-config libtool
2、 wget https://www.openvswitch.org/releases/openvswitch-2.12.0.tar.gz
3、 cp openvswitch-2.12.0.tar.gz ~/rpmbuild/SOURCES/
4、 rpmbuild -bb --without check openvswitch-2.12.0/rhel/openvswitch.spec
5、 yum install -y python-sphinx unbound-devel
6、 rpmbuild -bb --without check openvswitch-2.12.0/rhel/openvswitch.spec
7、 yum localinstall -y ~/rpmbuild/RPMS/aarch64/openvswitch-2.12.0-1.aarch64.rpm
8、 systemctl start openvswitch.service
OVS 的版本信息、 OpenFlow 协议的版本
来源:https://www.cnblogs.com/dream397/p/12299447.html