X-Git-Url: http://git.cascardo.eti.br/?p=cascardo%2Fovs.git;a=blobdiff_plain;f=INSTALL.Fedora.md;h=09defec3181d278ff6fb7520011943452067bb23;hp=bfde181cd54bee8a6cf98e34cb8c6646b9048b71;hb=ca7e7bee86b4ee821d61b58bf15c89a9d8a3cb30;hpb=542cc9bb8b8817866afcd692a78fa591db5839dc diff --git a/INSTALL.Fedora.md b/INSTALL.Fedora.md index bfde181cd..09defec31 100644 --- a/INSTALL.Fedora.md +++ b/INSTALL.Fedora.md @@ -3,9 +3,10 @@ How to Install Open vSwitch on Fedora Linux This document describes how to build and install Open vSwitch on a Fedora Linux host. If you want to install Open vSwitch on a generic Linux host, -see [INSTALL.Linux](INSTALL.Linux.md) instead. +see [INSTALL.md] instead. -We have tested these instructions with Fedora 16 and Fedora 17. +We have tested these instructions with Fedora 23. These instructions are also +used for RHEL 7.x and its derivatives, such as CentOS 7.x. Building Open vSwitch for Fedora -------------------------------- @@ -26,7 +27,7 @@ Fedora. The command "rpmbuild --showrc" will show the configuration for each of those directories. Alternatively, the command "rpm --eval '%{_topdir}'" shows the current configuration for the top level directory and the command "rpm --eval '%{_sourcedir}'" does the same -for the sources directory. On Fedora 17, the default RPM _topdir is +for the sources directory. On Fedora 23, the default RPM _topdir is $HOME/rpmbuild and the default RPM sources directory is $HOME/rpmbuild/SOURCES. @@ -61,12 +62,15 @@ $HOME/rpmbuild/SOURCES. This produces one RPM: "openvswitch". + To enable DPDK support in the resulting openvswitch package, + add `--with dpdk` to the build command. + The above command automatically runs the Open vSwitch unit tests. To disable the unit tests, run: `rpmbuild -bb --without check rhel/openvswitch-fedora.spec` -5. On Fedora 17, to build the Open vSwitch kernel module, run: +5. On Fedora 23, to build the Open vSwitch kernel module, run: `rpmbuild -bb rhel/openvswitch-kmod-fedora.spec` @@ -74,9 +78,9 @@ $HOME/rpmbuild/SOURCES. ``` rpmbuild -bb \ - -D "kversion 2.6.32-131.6.1.el6.x86_64" \ + -D "kversion 4.3.3-300.fc23.x86_64” \ -D "kflavors default debug kdump" \ - rhel/openvswitch-kmod-rhel6.spec + rhel/openvswitch-kmod-fedora.spec ``` This produces an "kmod-openvswitch" RPM for each kernel variant, @@ -87,3 +91,5 @@ Reporting Bugs -------------- Please report problems to bugs@openvswitch.org. + +[INSTALL.md]:INSTALL.md