Flavio Leitner 7ef8ca3
# Uncomment these for snapshot releases:
Flavio Leitner 7ef8ca3
# snapshot is the date YYYYMMDD of the snapshot
Flavio Leitner 7ef8ca3
# snap_git is the 8 git sha digits of the last commit
Flavio Leitner 1ef1e41
# Use ovs-snapshot.sh to create the tarball.
Flavio Leitner 1ef1e41
#% define snapshot .git20150730
Flavio Leitner 1ef1e41
#% define snap_gitsha -git72bfa562
Flavio Leitner 7ef8ca3
Flavio Leitner 05e222b
# If wants to run tests while building, specify the '--with check'
Flavio Leitner 05e222b
# option. For example:
Flavio Leitner 05e222b
# rpmbuild -bb --with check openvswitch.spec
Flavio Leitner ae96785
2cacd74
# To disable DPDK support, specify '--without dpdk' when building
2cacd74
%bcond_without dpdk
2cacd74
815fe48
# test-suite is broken for big endians
815fe48
# https://bugzilla.redhat.com/show_bug.cgi?id=1105458#c10
c00b739
# "ofproto-dpif - select group with dp_hash selection method" test is broken on arm
c00b739
%ifnarch ppc ppc64 ppc64p7 s390 s390x armv7hl
815fe48
%bcond_without check
815fe48
%else
815fe48
%bcond_with check
815fe48
%endif
815fe48
1cc0e1e
# option to build with libcap-ng, needed for running OVS as regular user
1cc0e1e
%bcond_without libcapng
1cc0e1e
Flavio Leitner 33b7d90
# Enable PIE, bz#955181
Flavio Leitner 33b7d90
%global _hardened_build 1
Flavio Leitner 33b7d90
ace1b1d
%define dpdkver 17.05.2
2542f94
%define dpdkdir dpdk-stable
2542f94
%define dpdksver %(echo %{dpdkver} | cut -d. -f-2)
2542f94
Flavio Leitner 05e222b
Name: openvswitch
e96fbee
Version: 2.8.1
Aaron Conole e10e119
Release: 3%{?snapshot}%{?dist}
Flavio Leitner 05e222b
Summary: Open vSwitch daemon/database/utilities
Chris Wright 2564f3b
Chris Wright 2564f3b
# Nearly all of openvswitch is ASL 2.0.  The bugtool is LGPLv2+, and the
Chris Wright 2564f3b
# lib/sflow*.[ch] files are SISSL
Chris Wright 2564f3b
# datapath/ is GPLv2 (although not built into any of the binary packages)
Flavio Leitner 05e222b
License: ASL 2.0 and LGPLv2+ and SISSL
Flavio Leitner 05e222b
URL: http://openvswitch.org
Flavio Leitner 7ef8ca3
Source0: http://openvswitch.org/releases/%{name}-%{version}%{?snap_gitsha}.tar.gz
2542f94
Source1: http://fast.dpdk.org/rel/dpdk-%{dpdkver}.tar.gz
2542f94
Source2: ovs-snapshot.sh
Flavio Leitner 33b7d90
39d67d1
2cacd74
%if %{with dpdk}
0ee91f0
%define dpdkarches x86_64 i686 aarch64 ppc64le
2542f94
2542f94
# machine_arch maps between rpm and dpdk arch name, often same as _target_cpu
2542f94
# machine_tmpl is the config template machine name, often "native"
2542f94
# machine is the actual machine name used in the dpdk make system
2542f94
%ifarch x86_64
2542f94
%define machine_arch x86_64
2542f94
%define machine_tmpl native
2542f94
%define machine default
2542f94
%endif
2542f94
%ifarch i686
2542f94
%define machine_arch i686
2542f94
%define machine_tmpl native
2542f94
%define machine atm
2542f94
%endif
2542f94
%ifarch aarch64
2542f94
%define machine_arch arm64
2542f94
%define machine_tmpl armv8a
2542f94
%define machine armv8a
2542f94
%endif
2542f94
%ifarch ppc64le
2542f94
%define machine_arch ppc_64
2542f94
%define machine_tmpl power8
2542f94
%define machine power8
2542f94
%endif
2542f94
2542f94
%define dpdktarget %{machine_arch}-%{machine_tmpl}-linuxapp-gcc
2cacd74
%endif
0ee91f0
ExcludeArch: ppc
Flavio Leitner bab1c31
1cc0e1e
BuildRequires: python-sphinx
Flavio Leitner 1ef1e41
BuildRequires: autoconf automake libtool
Flavio Leitner 05e222b
BuildRequires: systemd-units openssl openssl-devel
815fe48
BuildRequires: python2-devel python2-six
2542f94
BuildRequires: python3-devel python3-six
Flavio Leitner 05e222b
BuildRequires: desktop-file-utils
Flavio Leitner 05e222b
BuildRequires: groff graphviz
Flavio Leitner 5d98779
# make check dependencies
9375660
%if %{with check}
815fe48
BuildRequires: python2-twisted python2-zope-interface
Flavio Leitner 5d98779
BuildRequires: procps-ng
9375660
%endif
2cacd74
%if %{with dpdk}
0ee91f0
%ifarch %{dpdkarches}
2cacd74
# DPDK driver dependencies
2cacd74
BuildRequires: libpcap-devel numactl-devel
2cacd74
%endif
0ee91f0
%endif
Chris Wright 2564f3b
1cc0e1e
%if %{with libcapng}
1cc0e1e
BuildRequires: libcap-ng libcap-ng-devel
1cc0e1e
%endif
1cc0e1e
Flavio Leitner 961b725
Requires: openssl iproute module-init-tools
Flavio Leitner 7ef8ca3
#Upstream kernel commit 4f647e0a3c37b8d5086214128614a136064110c3
Flavio Leitner 5d98779
#Requires: kernel >= 3.15.0-0
Chris Wright 2564f3b
1cc0e1e
Requires(post): /usr/bin/getent
1cc0e1e
Requires(post): /usr/sbin/useradd
1cc0e1e
Requires(post): /usr/bin/sed
1cc0e1e
Requires(post): /usr/sbin/usermod
1cc0e1e
Requires(post): /usr/sbin/groupadd
Thomas Graf 9dc09e0
Requires(post): systemd-units
Thomas Graf 9dc09e0
Requires(preun): systemd-units
Thomas Graf 9dc09e0
Requires(postun): systemd-units
Flavio Leitner 961b725
Obsoletes: openvswitch-controller <= 0:2.1.0-1
Chris Wright 2564f3b
Chris Wright 2564f3b
%description
Chris Wright 2564f3b
Open vSwitch provides standard network bridging functions and
Chris Wright 2564f3b
support for the OpenFlow protocol for remote per-flow control of
Chris Wright 2564f3b
traffic.
Chris Wright 2564f3b
9375660
%package -n python2-openvswitch
9375660
Summary: Open vSwitch python2 bindings
9375660
License: ASL 2.0
9375660
BuildArch: noarch
9375660
Requires: python2 python2-six
9375660
Obsoletes: python-openvswitch < 2.6.1-2
9375660
Provides: python-openvswitch = %{version}-%{release}
9375660
9375660
%description -n python2-openvswitch
9375660
Python bindings for the Open vSwitch database
9375660
9375660
%package -n python3-openvswitch
9375660
Summary: Open vSwitch python3 bindings
Flavio Leitner 05e222b
License: ASL 2.0
Flavio Leitner 05e222b
BuildArch: noarch
9375660
Requires: python3 python3-six
Chris Wright 2564f3b
9375660
%description -n python3-openvswitch
Chris Wright 2564f3b
Python bindings for the Open vSwitch database
Chris Wright 2564f3b
Chris Wright 2564f3b
%package test
Flavio Leitner 05e222b
Summary: Open vSwitch testing utilities
Flavio Leitner 05e222b
License: ASL 2.0
Flavio Leitner 05e222b
BuildArch: noarch
9375660
Requires: python2-openvswitch = %{version}-%{release}
9375660
Requires: python2 python2-twisted
Chris Wright 2564f3b
Chris Wright 2564f3b
%description test
Chris Wright 2564f3b
Utilities that are useful to diagnose performance and connectivity
Chris Wright 2564f3b
issues in Open vSwitch setup.
Chris Wright 2564f3b
Chris Wright da2dd82
%package devel
Flavio Leitner 05e222b
Summary: Open vSwitch OpenFlow development package (library, headers)
Flavio Leitner 05e222b
License: ASL 2.0
Flavio Leitner 05e222b
Provides: openvswitch-static = %{version}-%{release}
Chris Wright da2dd82
Chris Wright da2dd82
%description devel
Flavio Leitner 7ef8ca3
This provides static library, libopenswitch.a and the openvswitch header
Chris Wright da2dd82
files needed to build an external application.
Chris Wright da2dd82
f3bbbbe
%package ovn-central
f3bbbbe
Summary: Open vSwitch - Open Virtual Network support
f3bbbbe
License: ASL 2.0
f3bbbbe
Requires: openvswitch openvswitch-ovn-common
bf95546
Requires: firewalld-filesystem
f3bbbbe
f3bbbbe
%description ovn-central
f3bbbbe
OVN, the Open Virtual Network, is a system to support virtual network
f3bbbbe
abstraction.  OVN complements the existing capabilities of OVS to add
f3bbbbe
native support for virtual network abstractions, such as virtual L2 and L3
f3bbbbe
overlays and security groups.
f3bbbbe
f3bbbbe
%package ovn-host
f3bbbbe
Summary: Open vSwitch - Open Virtual Network support
f3bbbbe
License: ASL 2.0
f3bbbbe
Requires: openvswitch openvswitch-ovn-common
bf95546
Requires: firewalld-filesystem
f3bbbbe
f3bbbbe
%description ovn-host
f3bbbbe
OVN, the Open Virtual Network, is a system to support virtual network
f3bbbbe
abstraction.  OVN complements the existing capabilities of OVS to add
f3bbbbe
native support for virtual network abstractions, such as virtual L2 and L3
f3bbbbe
overlays and security groups.
f3bbbbe
f3bbbbe
%package ovn-vtep
f3bbbbe
Summary: Open vSwitch - Open Virtual Network support
f3bbbbe
License: ASL 2.0
f3bbbbe
Requires: openvswitch openvswitch-ovn-common
f3bbbbe
f3bbbbe
%description ovn-vtep
f3bbbbe
OVN vtep controller
f3bbbbe
f3bbbbe
%package ovn-common
f3bbbbe
Summary: Open vSwitch - Open Virtual Network support
f3bbbbe
License: ASL 2.0
f3bbbbe
Requires: openvswitch
f3bbbbe
f3bbbbe
%description ovn-common
f3bbbbe
Utilities that are use to diagnose and manage the OVN components.
f3bbbbe
f3bbbbe
%package ovn-docker
f3bbbbe
Summary: Open vSwitch - Open Virtual Network support
f3bbbbe
License: ASL 2.0
9375660
Requires: openvswitch openvswitch-ovn-common python2-openvswitch
f3bbbbe
f3bbbbe
%description ovn-docker
f3bbbbe
Docker network plugins for OVN.
Flavio Leitner 7ef8ca3
Chris Wright 2564f3b
%prep
cd5e53c
%autosetup -n %{name}-%{version}%{?snap_gitsha} -a 1 -p 1
Chris Wright 2564f3b
Chris Wright 2564f3b
%build
2542f94
%if %{with dpdk}
0ee91f0
%ifarch %{dpdkarches}
2542f94
# Lets build DPDK first
2542f94
cd %{dpdkdir}-%{dpdkver}
2542f94
function setconf()
2542f94
{
2542f94
    cf=%{dpdktarget}/.config
2542f94
    if grep -q $1 $cf; then
2542f94
        sed -i "s:^$1=.*$:$1=$2:g" $cf
2542f94
    else
2542f94
        echo $1=$2 >> $cf
2542f94
    fi
2542f94
}
2542f94
2542f94
# In case dpdk-devel is installed
2542f94
unset RTE_SDK RTE_INCLUDE RTE_TARGET
2542f94
2542f94
# Avoid appending second -Wall to everything, it breaks upstream warning
2542f94
# disablers in makefiles. Strip explicit -march= from optflags since they
2542f94
# will only guarantee build failures, DPDK is picky with that.
2542f94
export EXTRA_CFLAGS="$(echo %{optflags} | sed -e 's:-Wall::g' -e 's:-march=[[:alnum:]]* ::g') -Wformat -fPIC"
2542f94
2542f94
# DPDK defaults to using builder-specific compiler flags.  However,
2542f94
# the config has been changed by specifying CONFIG_RTE_MACHINE=default
2542f94
# in order to build for a more generic host.  NOTE: It is possible that
2542f94
# the compiler flags used still won't work for all Fedora-supported
2542f94
# machines, but runtime checks in DPDK will catch those situations.
2542f94
2542f94
make V=1 O=%{dpdktarget} T=%{dpdktarget} %{?_smp_mflags} config
2542f94
2542f94
# DPDK defaults to optimizing for the builder host we need generic binaries
2542f94
setconf CONFIG_RTE_MACHINE '"%{machine}"'
2542f94
2542f94
# Disable DPDK libraries not needed by OVS
2542f94
setconf CONFIG_RTE_LIBRTE_TIMER n
2542f94
setconf CONFIG_RTE_LIBRTE_CFGFILE n
2542f94
setconf CONFIG_RTE_LIBRTE_JOBSTATS n
2542f94
setconf CONFIG_RTE_LIBRTE_LPM n
2542f94
setconf CONFIG_RTE_LIBRTE_ACL n
2542f94
setconf CONFIG_RTE_LIBRTE_POWER n
2542f94
setconf CONFIG_RTE_LIBRTE_DISTRIBUTOR n
2542f94
setconf CONFIG_RTE_LIBRTE_REORDER n
2542f94
setconf CONFIG_RTE_LIBRTE_PORT n
2542f94
setconf CONFIG_RTE_LIBRTE_TABLE n
2542f94
setconf CONFIG_RTE_LIBRTE_PIPELINE n
2542f94
setconf CONFIG_RTE_LIBRTE_KNI n
2542f94
setconf CONFIG_RTE_LIBRTE_CRYPTODEV n
2542f94
2542f94
# Disable DPDK applications not needed by OVS
2542f94
setconf CONFIG_RTE_APP_TEST n
2542f94
setconf CONFIG_RTE_APP_CRYPTO_PERF n
2542f94
2542f94
# Enable DPDK libraries needed by OVS
2542f94
setconf CONFIG_RTE_LIBRTE_VHOST_NUMA y
2542f94
setconf CONFIG_RTE_LIBRTE_PMD_PCAP y
2542f94
2542f94
# Disable PMDs that are either not needed or not stable
2542f94
setconf CONFIG_RTE_LIBRTE_PMD_VHOST n
2542f94
setconf CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO n
2542f94
# BNX2X driver is not stable
2542f94
setconf CONFIG_RTE_LIBRTE_BNX2X_PMD n
2542f94
2542f94
# Disable virtio user as not used by OVS
2542f94
setconf CONFIG_RTE_VIRTIO_USER n
2542f94
2542f94
# Disable kernel modules
2542f94
setconf CONFIG_RTE_EAL_IGB_UIO n
2542f94
setconf CONFIG_RTE_KNI_KMOD n
2542f94
2542f94
# Disable experimental stuff
2542f94
setconf CONFIG_RTE_NEXT_ABI n
2542f94
2542f94
# Disable some PMDs on fdProd
2542f94
setconf CONFIG_RTE_LIBRTE_BNXT_PMD n
2542f94
setconf CONFIG_RTE_LIBRTE_ENA_PMD n
2542f94
setconf CONFIG_RTE_LIBRTE_QEDE_PMD n
2542f94
2542f94
make V=1 O=%{dpdktarget} %{?_smp_mflags}
2542f94
2542f94
# Generate a list of supported drivers, its hard to tell otherwise.
2542f94
cat << EOF > README.DPDK-PMDS
2542f94
DPDK drivers included in this package:
2542f94
2542f94
EOF
2542f94
2542f94
for f in $(ls %{machine_arch}-%{machine_tmpl}-linuxapp-gcc/lib/lib*_pmd_*); do
2542f94
    basename ${f} | cut -c12- | cut -d. -f1 | tr [:lower:] [:upper:]
2542f94
done >> README.DPDK-PMDS
2542f94
2542f94
cat << EOF >> README.DPDK-PMDS
2542f94
2542f94
For further information about the drivers, see
2542f94
http://dpdk.org/doc/guides-%{dpdksver}/nics/index.html
2542f94
EOF
2542f94
2542f94
cd -
2542f94
%endif
0ee91f0
%endif
2542f94
Flavio Leitner 1ef1e41
%if 0%{?snap_gitsha:1}
Flavio Leitner 1ef1e41
# fix the snapshot unreleased version to be the released one.
Flavio Leitner 1ef1e41
sed -i.old -e "s/^AC_INIT(openvswitch,.*,/AC_INIT(openvswitch, %{version},/" configure.ac
Flavio Leitner 1ef1e41
./boot.sh
Flavio Leitner 1ef1e41
%endif
Flavio Leitner 1ef1e41
2cacd74
%configure \
1cc0e1e
%if %{with libcapng}
1cc0e1e
        --enable-libcapng \
1cc0e1e
%else
1cc0e1e
        --disable-libcapng \
1cc0e1e
%endif
2cacd74
  --enable-ssl \
2cacd74
%if %{with dpdk}
0ee91f0
%ifarch %{dpdkarches}
2542f94
  --with-dpdk=$(pwd)/%{dpdkdir}-%{dpdkver}/%{dpdktarget} \
2cacd74
%endif
0ee91f0
%endif
7d75ee0
  --with-pkidir=%{_sharedstatedir}/openvswitch/pki
1cc0e1e
/usr/bin/perl build-aux/dpdkstrip.pl \
1cc0e1e
        --dpdk \
1cc0e1e
        < rhel/usr_lib_systemd_system_ovs-vswitchd.service.in \
1cc0e1e
        > rhel/usr_lib_systemd_system_ovs-vswitchd.service
Chris Wright 2564f3b
make %{?_smp_mflags}
Chris Wright 2564f3b
Chris Wright 2564f3b
%install
Flavio Leitner 7ef8ca3
rm -rf $RPM_BUILD_ROOT
Chris Wright 2564f3b
make install DESTDIR=$RPM_BUILD_ROOT
Chris Wright 2564f3b
1cc0e1e
install -d -m 0755 $RPM_BUILD_ROOT%{_rundir}/openvswitch
1cc0e1e
install -d -m 0750 $RPM_BUILD_ROOT%{_localstatedir}/log/openvswitch
Chris Wright 2564f3b
install -d -m 0755 $RPM_BUILD_ROOT%{_sysconfdir}/openvswitch
Chris Wright 2564f3b
1cc0e1e
install -p -D -m 0644 rhel/usr_lib_udev_rules.d_91-vfio.rules \
1cc0e1e
        $RPM_BUILD_ROOT%{_udevrulesdir}/91-vfio.rules
1cc0e1e
Flavio Leitner 8687c2c
install -p -D -m 0644 \
Flavio Leitner 7ef8ca3
        rhel/usr_share_openvswitch_scripts_systemd_sysconfig.template \
Flavio Leitner 7ef8ca3
        $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/openvswitch
f3bbbbe
for service in openvswitch ovsdb-server ovs-vswitchd \
5ea6b2f
                ovn-controller ovn-controller-vtep ovn-northd; do
5ea6b2f
        install -p -D -m 0644 \
5ea6b2f
                rhel/usr_lib_systemd_system_${service}.service \
5ea6b2f
                $RPM_BUILD_ROOT%{_unitdir}/${service}.service
f3bbbbe
done
Flavio Leitner 7ef8ca3
Flavio Leitner 7ef8ca3
install -m 0755 rhel/etc_init.d_openvswitch \
Flavio Leitner 7ef8ca3
        $RPM_BUILD_ROOT%{_datadir}/openvswitch/scripts/openvswitch.init
Flavio Leitner 8687c2c
1cc0e1e
install -p -D -m 0644 rhel/etc_openvswitch_default.conf \
1cc0e1e
        $RPM_BUILD_ROOT/%{_sysconfdir}/openvswitch/default.conf
1cc0e1e
Flavio Leitner 7ef8ca3
install -p -D -m 0644 rhel/etc_logrotate.d_openvswitch \
Flavio Leitner 7ef8ca3
        $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d/openvswitch
Chris Wright 2564f3b
Flavio Leitner 7ef8ca3
install -m 0644 vswitchd/vswitch.ovsschema \
Flavio Leitner 7ef8ca3
        $RPM_BUILD_ROOT/%{_datadir}/openvswitch/vswitch.ovsschema
Chris Wright 2564f3b
Flavio Leitner 7ef8ca3
install -d -m 0755 $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/network-scripts/
Flavio Leitner 8687c2c
install -p -m 0755 rhel/etc_sysconfig_network-scripts_ifdown-ovs \
Flavio Leitner 7ef8ca3
        $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/network-scripts/ifdown-ovs
Flavio Leitner 8687c2c
install -p -m 0755 rhel/etc_sysconfig_network-scripts_ifup-ovs \
Flavio Leitner 7ef8ca3
        $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/network-scripts/ifup-ovs
Chris Wright 2564f3b
9375660
install -d -m 0755 $RPM_BUILD_ROOT%{python2_sitelib}
9375660
install -d -m 0755 $RPM_BUILD_ROOT%{python3_sitelib}
9375660
cp -a $RPM_BUILD_ROOT/%{_datadir}/openvswitch/python/* \
9375660
   $RPM_BUILD_ROOT%{python2_sitelib}
9375660
cp -a $RPM_BUILD_ROOT/%{_datadir}/openvswitch/python/ovs \
9375660
   $RPM_BUILD_ROOT%{python3_sitelib}
9375660
rm -rf $RPM_BUILD_ROOT/%{_datadir}/openvswitch/python/
Chris Wright 2564f3b
Flavio Leitner 7ef8ca3
install -d -m 0755 $RPM_BUILD_ROOT/%{_sharedstatedir}/openvswitch
Chris Wright 2564f3b
bf95546
install -d -m 0755 $RPM_BUILD_ROOT%{_prefix}/lib/firewalld/services/
bf95546
install -p -m 0644 rhel/usr_lib_firewalld_services_ovn-central-firewall-service.xml \
bf95546
        $RPM_BUILD_ROOT%{_prefix}/lib/firewalld/services/ovn-central-firewall-service.xml
bf95546
install -p -m 0644 rhel/usr_lib_firewalld_services_ovn-host-firewall-service.xml \
bf95546
        $RPM_BUILD_ROOT%{_prefix}/lib/firewalld/services/ovn-host-firewall-service.xml
bf95546
5fb65cc
install -d -m 0755 $RPM_BUILD_ROOT%{_prefix}/lib/ocf/resource.d/ovn
5fb65cc
ln -s %{_datadir}/openvswitch/scripts/ovndb-servers.ocf \
5fb65cc
      $RPM_BUILD_ROOT%{_prefix}/lib/ocf/resource.d/ovn/ovndb-servers
5fb65cc
Flavio Leitner 9b6c667
touch $RPM_BUILD_ROOT%{_sysconfdir}/openvswitch/conf.db
Flavio Leitner 9b6c667
touch $RPM_BUILD_ROOT%{_sysconfdir}/openvswitch/system-id.conf
Flavio Leitner 9b6c667
4aa7cde
# remove unpackaged files
4aa7cde
rm -f $RPM_BUILD_ROOT/%{_bindir}/ovs-benchmark \
f3bbbbe
        $RPM_BUILD_ROOT/%{_bindir}/ovs-parse-backtrace \
f3bbbbe
        $RPM_BUILD_ROOT/%{_sbindir}/ovs-vlan-bug-workaround \
f3bbbbe
        $RPM_BUILD_ROOT/%{_mandir}/man1/ovs-benchmark.1* \
f3bbbbe
        $RPM_BUILD_ROOT/%{_mandir}/man8/ovs-vlan-bug-workaround.8* \
f3bbbbe
        $RPM_BUILD_ROOT/%{_datadir}/openvswitch/scripts/ovs-save
79c524e
Flavio Leitner 7ef8ca3
%check
Flavio Leitner 7ef8ca3
%if %{with check}
Flavio Leitner 7ef8ca3
    if make check TESTSUITEFLAGS='%{_smp_mflags}' ||
Flavio Leitner 7ef8ca3
       make check TESTSUITEFLAGS='--recheck'; then :;
Flavio Leitner 7ef8ca3
    else
Flavio Leitner 7ef8ca3
        cat tests/testsuite.log
Flavio Leitner 7ef8ca3
        exit 1
Flavio Leitner 7ef8ca3
    fi
Flavio Leitner 7ef8ca3
%endif
Flavio Leitner 7ef8ca3
Flavio Leitner 7ef8ca3
%preun
Flavio Leitner 7ef8ca3
%if 0%{?systemd_preun:1}
Flavio Leitner 7ef8ca3
    %systemd_preun %{name}.service
Flavio Leitner 7ef8ca3
%else
Flavio Leitner 7ef8ca3
    if [ $1 -eq 0 ] ; then
Flavio Leitner 7ef8ca3
    # Package removal, not upgrade
Flavio Leitner 7ef8ca3
        /bin/systemctl --no-reload disable %{name}.service >/dev/null 2>&1 || :
Flavio Leitner 7ef8ca3
        /bin/systemctl stop %{name}.service >/dev/null 2>&1 || :
Flavio Leitner 7ef8ca3
    fi
Flavio Leitner 7ef8ca3
%endif
Flavio Leitner 7ef8ca3
f3bbbbe
%preun ovn-central
f3bbbbe
%if 0%{?systemd_preun:1}
f3bbbbe
    %systemd_preun ovn-northd.service
f3bbbbe
%else
f3bbbbe
    if [ $1 -eq 0 ] ; then
f3bbbbe
        # Package removal, not upgrade
f3bbbbe
        /bin/systemctl --no-reload disable ovn-northd.service >/dev/null 2>&1 || :
f3bbbbe
        /bin/systemctl stop ovn-northd.service >/dev/null 2>&1 || :
f3bbbbe
    fi
f3bbbbe
%endif
f3bbbbe
f3bbbbe
%preun ovn-host
f3bbbbe
%if 0%{?systemd_preun:1}
f3bbbbe
    %systemd_preun ovn-controller.service
f3bbbbe
%else
f3bbbbe
    if [ $1 -eq 0 ] ; then
f3bbbbe
        # Package removal, not upgrade
f3bbbbe
        /bin/systemctl --no-reload disable ovn-controller.service >/dev/null 2>&1 || :
f3bbbbe
        /bin/systemctl stop ovn-controller.service >/dev/null 2>&1 || :
f3bbbbe
    fi
f3bbbbe
%endif
f3bbbbe
f3bbbbe
%preun ovn-vtep
f3bbbbe
%if 0%{?systemd_preun:1}
f3bbbbe
    %systemd_preun ovn-controller-vtep.service
f3bbbbe
%else
f3bbbbe
    if [ $1 -eq 0 ] ; then
f3bbbbe
        # Package removal, not upgrade
f3bbbbe
        /bin/systemctl --no-reload disable ovn-controller-vtep.service >/dev/null 2>&1 || :
f3bbbbe
        /bin/systemctl stop ovn-controller-vtep.service >/dev/null 2>&1 || :
f3bbbbe
    fi
f3bbbbe
%endif
Flavio Leitner 7ef8ca3
Chris Wright 2564f3b
%post
1cc0e1e
if [ $1 -eq 1 ]; then
1cc0e1e
    getent passwd openvswitch >/dev/null || \
1cc0e1e
        useradd -r -d / -s /sbin/nologin -c "Open vSwitch Daemons" openvswitch
1cc0e1e
1cc0e1e
    sed -i 's:^#OVS_USER_ID=:OVS_USER_ID=:' /etc/sysconfig/openvswitch
1cc0e1e
1cc0e1e
    getent group hugetlbfs >/dev/null || \
1cc0e1e
        groupadd hugetlbfs
1cc0e1e
    usermod -a -G hugetlbfs openvswitch
1cc0e1e
    sed -i \
1cc0e1e
        's@OVS_USER_ID="openvswitch:openvswitch"@OVS_USER_ID="openvswitch:hugetlbfs"@'\
1cc0e1e
        /etc/sysconfig/openvswitch
1cc0e1e
1cc0e1e
    # In the case of upgrade, this is not needed.
1cc0e1e
    chown -R openvswitch:openvswitch /etc/openvswitch
1cc0e1e
fi
1cc0e1e
Thomas Graf 9dc09e0
%if 0%{?systemd_post:1}
Thomas Graf 9dc09e0
    %systemd_post %{name}.service
Thomas Graf 9dc09e0
%else
Thomas Graf 9dc09e0
    # Package install, not upgrade
Thomas Graf 9dc09e0
    if [ $1 -eq 1 ]; then
Thomas Graf 9dc09e0
        /bin/systemctl daemon-reload >dev/null || :
Thomas Graf 9dc09e0
    fi
Thomas Graf 9dc09e0
%endif
Thomas Graf 9dc09e0
f3bbbbe
%post ovn-central
f3bbbbe
%if 0%{?systemd_post:1}
f3bbbbe
    %systemd_post ovn-northd.service
f3bbbbe
%else
f3bbbbe
    # Package install, not upgrade
f3bbbbe
    if [ $1 -eq 1 ]; then
f3bbbbe
        /bin/systemctl daemon-reload >dev/null || :
f3bbbbe
    fi
f3bbbbe
%endif
f3bbbbe
f3bbbbe
%post ovn-host
f3bbbbe
%if 0%{?systemd_post:1}
f3bbbbe
    %systemd_post ovn-controller.service
f3bbbbe
%else
f3bbbbe
    # Package install, not upgrade
f3bbbbe
    if [ $1 -eq 1 ]; then
f3bbbbe
        /bin/systemctl daemon-reload >dev/null || :
f3bbbbe
    fi
f3bbbbe
%endif
f3bbbbe
f3bbbbe
%post ovn-vtep
f3bbbbe
%if 0%{?systemd_post:1}
f3bbbbe
    %systemd_post ovn-controller-vtep.service
f3bbbbe
%else
f3bbbbe
    # Package install, not upgrade
f3bbbbe
    if [ $1 -eq 1 ]; then
f3bbbbe
        /bin/systemctl daemon-reload >dev/null || :
f3bbbbe
    fi
f3bbbbe
%endif
f3bbbbe
%postun ovn-central
f3bbbbe
%if 0%{?systemd_postun_with_restart:1}
f3bbbbe
    %systemd_postun_with_restart ovn-northd.service
f3bbbbe
%else
f3bbbbe
    /bin/systemctl daemon-reload >/dev/null 2>&1 || :
f3bbbbe
    if [ "$1" -ge "1" ] ; then
f3bbbbe
    # Package upgrade, not uninstall
f3bbbbe
        /bin/systemctl try-restart ovn-northd.service >/dev/null 2>&1 || :
f3bbbbe
    fi
f3bbbbe
%endif
f3bbbbe
f3bbbbe
%postun ovn-host
f3bbbbe
%if 0%{?systemd_postun_with_restart:1}
f3bbbbe
    %systemd_postun_with_restart ovn-controller.service
f3bbbbe
%else
f3bbbbe
    /bin/systemctl daemon-reload >/dev/null 2>&1 || :
f3bbbbe
    if [ "$1" -ge "1" ] ; then
f3bbbbe
        # Package upgrade, not uninstall
f3bbbbe
        /bin/systemctl try-restart ovn-controller.service >/dev/null 2>&1 || :
f3bbbbe
    fi
f3bbbbe
%endif
f3bbbbe
f3bbbbe
%postun ovn-vtep
f3bbbbe
%if 0%{?systemd_postun_with_restart:1}
f3bbbbe
    %systemd_postun_with_restart ovn-controller-vtep.service
f3bbbbe
%else
f3bbbbe
    /bin/systemctl daemon-reload >/dev/null 2>&1 || :
f3bbbbe
    if [ "$1" -ge "1" ] ; then
f3bbbbe
        # Package upgrade, not uninstall
f3bbbbe
        /bin/systemctl try-restart ovn-controller-vtep.service >/dev/null 2>&1 || :
f3bbbbe
    fi
f3bbbbe
%endif
Chris Wright 2564f3b
Chris Wright 2564f3b
%postun
Thomas Graf 9dc09e0
%if 0%{?systemd_postun_with_restart:1}
Thomas Graf 9dc09e0
    %systemd_postun_with_restart %{name}.service
Thomas Graf 9dc09e0
%else
Thomas Graf 9dc09e0
    /bin/systemctl daemon-reload >/dev/null 2>&1 || :
Thomas Graf 9dc09e0
    if [ "$1" -ge "1" ] ; then
Thomas Graf 9dc09e0
    # Package upgrade, not uninstall
Thomas Graf 9dc09e0
        /bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
Thomas Graf 9dc09e0
    fi
Thomas Graf 9dc09e0
%endif
Chris Wright 2564f3b
Flavio Leitner 7ef8ca3
9375660
%files -n python2-openvswitch
9375660
%{python2_sitelib}/ovs
9375660
%doc COPYING
9375660
9375660
%files -n python3-openvswitch
9375660
%{python3_sitelib}/ovs
Flavio Leitner 7ef8ca3
%doc COPYING
Flavio Leitner 7ef8ca3
Flavio Leitner 7ef8ca3
%files test
Flavio Leitner 7ef8ca3
%{_bindir}/ovs-test
Flavio Leitner 7ef8ca3
%{_bindir}/ovs-vlan-test
Flavio Leitner 7ef8ca3
%{_bindir}/ovs-l3ping
f3bbbbe
%{_bindir}/ovs-pcap
f3bbbbe
%{_bindir}/ovs-tcpdump
f3bbbbe
%{_bindir}/ovs-tcpundump
Flavio Leitner 7ef8ca3
%{_mandir}/man8/ovs-test.8*
Flavio Leitner 7ef8ca3
%{_mandir}/man8/ovs-vlan-test.8*
Flavio Leitner 7ef8ca3
%{_mandir}/man8/ovs-l3ping.8*
f3bbbbe
%{_mandir}/man1/ovs-pcap.1*
f3bbbbe
%{_mandir}/man8/ovs-tcpdump.8*
f3bbbbe
%{_mandir}/man1/ovs-tcpundump.1*
9375660
%{python2_sitelib}/ovstest
Flavio Leitner 7ef8ca3
Flavio Leitner 7ef8ca3
%files devel
Flavio Leitner 7ef8ca3
%{_libdir}/*.a
Flavio Leitner 7ef8ca3
%{_libdir}/*.la
Flavio Leitner 1ef1e41
%{_libdir}/pkgconfig/*.pc
Flavio Leitner 7ef8ca3
%{_includedir}/openvswitch/*
Flavio Leitner 7ef8ca3
%{_includedir}/openflow/*
f3bbbbe
%{_includedir}/ovn/*
Flavio Leitner 05e222b
Chris Wright 2564f3b
%files
Aaron Conole e10e119
%defattr(-,openvswitch,openvswitch)
Flavio Leitner 7ef8ca3
%dir %{_sysconfdir}/openvswitch
1cc0e1e
%{_sysconfdir}/openvswitch/default.conf
Flavio Leitner 9b6c667
%config %ghost %{_sysconfdir}/openvswitch/conf.db
Flavio Leitner 9b6c667
%config %ghost %{_sysconfdir}/openvswitch/system-id.conf
Chris Wright 2564f3b
%config(noreplace) %{_sysconfdir}/sysconfig/openvswitch
Flavio Leitner 7ef8ca3
%config(noreplace) %{_sysconfdir}/logrotate.d/openvswitch
Aaron Conole e10e119
%defattr(-,root,root)
Aaron Conole e10e119
%{_sysconfdir}/bash_completion.d/ovs-appctl-bashcomp.bash
Aaron Conole e10e119
%{_sysconfdir}/bash_completion.d/ovs-vsctl-bashcomp.bash
Chris Wright 2564f3b
%{_unitdir}/openvswitch.service
f3bbbbe
%{_unitdir}/ovs-vswitchd.service
f3bbbbe
%{_unitdir}/ovsdb-server.service
Flavio Leitner 7ef8ca3
%{_datadir}/openvswitch/scripts/openvswitch.init
Flavio Leitner 7ef8ca3
%{_sysconfdir}/sysconfig/network-scripts/ifup-ovs
Flavio Leitner 7ef8ca3
%{_sysconfdir}/sysconfig/network-scripts/ifdown-ovs
Flavio Leitner 7ef8ca3
%{_datadir}/openvswitch/bugtool-plugins/
Flavio Leitner 7ef8ca3
%{_datadir}/openvswitch/scripts/ovs-bugtool-*
Flavio Leitner 7ef8ca3
%{_datadir}/openvswitch/scripts/ovs-check-dead-ifs
Flavio Leitner 7ef8ca3
%{_datadir}/openvswitch/scripts/ovs-lib
Flavio Leitner 7ef8ca3
%{_datadir}/openvswitch/scripts/ovs-vtep
Flavio Leitner 7ef8ca3
%{_datadir}/openvswitch/scripts/ovs-ctl
Flavio Leitner 7ef8ca3
%config %{_datadir}/openvswitch/vswitch.ovsschema
Flavio Leitner 7ef8ca3
%config %{_datadir}/openvswitch/vtep.ovsschema
Chris Wright 2564f3b
%{_bindir}/ovs-appctl
Flavio Leitner 1ef1e41
%{_bindir}/ovs-docker
Chris Wright 2564f3b
%{_bindir}/ovs-dpctl
Flavio Leitner b0a4860
%{_bindir}/ovs-dpctl-top
Chris Wright 2564f3b
%{_bindir}/ovs-ofctl
Chris Wright 2564f3b
%{_bindir}/ovs-vsctl
Chris Wright 2564f3b
%{_bindir}/ovsdb-client
Chris Wright 2564f3b
%{_bindir}/ovsdb-tool
Flavio Leitner 1ef1e41
%{_bindir}/ovs-testcontroller
Flavio Leitner 7ef8ca3
%{_bindir}/ovs-pki
Flavio Leitner 961b725
%{_bindir}/vtep-ctl
Chris Wright 2564f3b
%{_sbindir}/ovs-bugtool
Chris Wright 2564f3b
%{_sbindir}/ovs-vswitchd
Chris Wright 2564f3b
%{_sbindir}/ovsdb-server
Chris Wright 91498f6
%{_mandir}/man1/ovsdb-client.1*
Chris Wright 91498f6
%{_mandir}/man1/ovsdb-server.1*
Chris Wright 91498f6
%{_mandir}/man1/ovsdb-tool.1*
Chris Wright 91498f6
%{_mandir}/man5/ovs-vswitchd.conf.db.5*
Flavio Leitner 961b725
%{_mandir}/man5/vtep.5*
2cacd74
%{_mandir}/man7/ovs-fields.7*
Flavio Leitner 961b725
%{_mandir}/man8/vtep-ctl.8*
Chris Wright 91498f6
%{_mandir}/man8/ovs-appctl.8*
Chris Wright 91498f6
%{_mandir}/man8/ovs-bugtool.8*
Chris Wright 91498f6
%{_mandir}/man8/ovs-ctl.8*
Chris Wright 91498f6
%{_mandir}/man8/ovs-dpctl.8*
Flavio Leitner b0a4860
%{_mandir}/man8/ovs-dpctl-top.8*
Chris Wright 91498f6
%{_mandir}/man8/ovs-ofctl.8*
Chris Wright 91498f6
%{_mandir}/man8/ovs-pki.8*
Chris Wright 91498f6
%{_mandir}/man8/ovs-vsctl.8*
Chris Wright 91498f6
%{_mandir}/man8/ovs-vswitchd.8*
Thomas Graf 84554fe
%{_mandir}/man8/ovs-parse-backtrace.8*
Flavio Leitner 1ef1e41
%{_mandir}/man8/ovs-testcontroller.8*
1cc0e1e
%{_udevrulesdir}/91-vfio.rules
2cacd74
%doc COPYING NOTICE README.rst NEWS rhel/README.RHEL.rst
Flavio Leitner 7ef8ca3
/var/lib/openvswitch
Aaron Conole e10e119
%attr(755,-,-) /var/log/openvswitch
Flavio Leitner 33b7d90
%ghost %attr(755,root,root) %{_rundir}/openvswitch
Chris Wright 2564f3b
f3bbbbe
%files ovn-docker
f3bbbbe
%{_bindir}/ovn-docker-overlay-driver
f3bbbbe
%{_bindir}/ovn-docker-underlay-driver
f3bbbbe
f3bbbbe
%files ovn-common
1cc0e1e
%{_bindir}/ovn-detrace
f3bbbbe
%{_bindir}/ovn-nbctl
f3bbbbe
%{_bindir}/ovn-sbctl
f3bbbbe
%{_bindir}/ovn-trace
f3bbbbe
%{_datadir}/openvswitch/scripts/ovn-ctl
2cacd74
%{_datadir}/openvswitch/scripts/ovndb-servers.ocf
f3bbbbe
%{_datadir}/openvswitch/scripts/ovn-bugtool-nbctl-show
f3bbbbe
%{_datadir}/openvswitch/scripts/ovn-bugtool-sbctl-lflow-list
f3bbbbe
%{_datadir}/openvswitch/scripts/ovn-bugtool-sbctl-show
1cc0e1e
%{_mandir}/man1/ovn-detrace.1*
f3bbbbe
%{_mandir}/man8/ovn-ctl.8*
f3bbbbe
%{_mandir}/man8/ovn-nbctl.8*
f3bbbbe
%{_mandir}/man8/ovn-trace.8*
f3bbbbe
%{_mandir}/man7/ovn-architecture.7*
f3bbbbe
%{_mandir}/man8/ovn-sbctl.8*
f3bbbbe
%{_mandir}/man5/ovn-nb.5*
f3bbbbe
%{_mandir}/man5/ovn-sb.5*
5fb65cc
%{_prefix}/lib/ocf/resource.d/ovn/ovndb-servers
f3bbbbe
f3bbbbe
%files ovn-central
f3bbbbe
%{_bindir}/ovn-northd
f3bbbbe
%{_mandir}/man8/ovn-northd.8*
f3bbbbe
%config %{_datadir}/openvswitch/ovn-nb.ovsschema
f3bbbbe
%config %{_datadir}/openvswitch/ovn-sb.ovsschema
f3bbbbe
%{_unitdir}/ovn-northd.service
bf95546
%{_prefix}/lib/firewalld/services/ovn-central-firewall-service.xml
f3bbbbe
f3bbbbe
%files ovn-host
f3bbbbe
%{_bindir}/ovn-controller
f3bbbbe
%{_mandir}/man8/ovn-controller.8*
f3bbbbe
%{_unitdir}/ovn-controller.service
bf95546
%{_prefix}/lib/firewalld/services/ovn-host-firewall-service.xml
f3bbbbe
f3bbbbe
%files ovn-vtep
f3bbbbe
%{_bindir}/ovn-controller-vtep
f3bbbbe
%{_mandir}/man8/ovn-controller-vtep.8*
f3bbbbe
%{_unitdir}/ovn-controller-vtep.service
f3bbbbe
Chris Wright 2564f3b
%changelog
Aaron Conole e10e119
* Fri Feb 09 2018 Aaron Conole <aconole@redhat.com> - 2.8.1-2
Aaron Conole e10e119
- Update to include 94cd8383e297 and 951d79e638ec from upstream
Aaron Conole e10e119
a2b4429
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.1-2
a2b4429
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
a2b4429
e96fbee
* Mon Oct 02 2017 Timothy Redaelli <tredaelli@redhat.com> - 2.8.1-1
e96fbee
- Update to Open vSwitch 2.8.1
e96fbee
ace1b1d
* Tue Sep 19 2017 Timothy Redaelli <tredaelli@redhat.com> - 2.8.0-2
ace1b1d
- Update DPDK to 17.05.2 (bugfixes)
ace1b1d
1cc0e1e
* Mon Sep 04 2017 Timothy Redaelli <tredaelli@redhat.com> - 2.8.0-1
1cc0e1e
- Update to Open vSwitch 2.8.0 and DPDK 17.05.1 (#1487971)
1cc0e1e
c492a36
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.2-3
c492a36
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
c492a36
4811b94
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.2-2
4811b94
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
4811b94
5fb65cc
* Wed Jul 19 2017 Timothy Redaelli <tredaelli@redhat.com> - 2.7.2-1
5fb65cc
- Update to Open vSwitch 2.7.2
5fb65cc
- Add a symlink of the OCF script in the OCF resources folder
5fb65cc
39d67d1
* Fri Jul 14 2017 Timothy Redaelli <tredaelli@redhat.com> - 2.7.1-2
39d67d1
- Backport fix for CVE-2017-9263 (#1457327)
0b4ccf3
- Backport fix for CVE-2017-9265 (#1457335)
39d67d1
abd9d8c
* Thu Jul 06 2017 Timothy Redaelli <tredaelli@redhat.com> - 2.7.1-1
abd9d8c
- Updated to Open vSwitch 2.7.1 and DPDK 16.11.2 (#1468234)
abd9d8c
c7bc7f4
* Tue Jun 13 2017 Timothy Redaelli <tredaelli@redhat.com> - 2.7.0-5
c7bc7f4
- Backport fix for CVE-2017-9264 (#1457329)
c7bc7f4
b8d20da
* Wed Jun 07 2017 Timothy Redaelli <tredaelli@redhat.com> - 2.7.0-4
b8d20da
- Remove PYTHONCOERCECLOCALE=0 workaround and backport upstream patch (#1454364)
b8d20da
cd5e53c
* Wed May 31 2017 Timothy Redaelli <tredaelli@redhat.com> - 2.7.0-3
cd5e53c
- Backport fix for CVE-2017-9214 (#1456797)
cd5e53c
- Use %%autosetup instead of %%setup
cd5e53c
bf95546
* Mon May 29 2017 Timothy Redaelli <tredaelli@redhat.com> - 2.7.0-2
bf95546
- Install OVN firewalld rules
bf95546
2542f94
* Thu May 18 2017 Timothy Redaelli <tredaelli@redhat.com> - 2.7.0-1
2542f94
- Link statically with DPDK 16.11.1 (#1451476)
0ee91f0
- Build OVS without DPDK support on all architectures not supported by DPDK
2542f94
- Added python3-six to BuildRequires in order to launch python3 tests too
c00b739
- Export PYTHONCOERCECLOCALE=0 in order to workaround an incompatibility
8d69991
  between Python 3.6.0 (with PEP 538) on Fedora 26+ and testsuite (#1454364)
c00b739
- Disable tests on armv7hl
2542f94
2cacd74
* Fri Feb 24 2017 Timothy Redaelli <tredaelli@redhat.com> - 2.7.0-0
2cacd74
- Updated to Open vSwitch 2.7.0 (#1426596)
2cacd74
- Enable DPDK support
2cacd74
9375660
* Thu Feb 16 2017 Timothy Redaelli <tredaelli@redhat.com> - 2.6.1-2
9375660
- Added python3-openvswitch and renamed python-openvswitch to python2-openvswitch
9375660
4041636
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.1-1
4041636
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
4041636
Flavio Leitner 0c0e676
* Thu Nov 24 2016 Flavio Leitner <fbl@redhat.com> - 2.6.1-0
Flavio Leitner 0c0e676
- Updated to Open vSwitch 2.6.1
Flavio Leitner 0c0e676
f3bbbbe
* Tue Nov 01 2016 Aaron Conole <aconole@redhat.com> - 2.6.0-0
f3bbbbe
- Update to Open vSwitch 2.6.0
f3bbbbe
- Enable OVN
f3bbbbe
8720fcb
* Wed Aug 24 2016 Dan HorĂ¡k <dan[at]danny.cz> - 2.5.0-4
8720fcb
- don't run the test-suite for big endian arches
8720fcb
4bb5b36
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.0-3
4bb5b36
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
4bb5b36
4aa7cde
* Tue Mar 15 2016 Panu Matilainen <pmatilai@redhat.com> - 2.5.0-2
4aa7cde
- Remove unpackaged files instead of excluding (#1281913)
4aa7cde
79c524e
* Wed Mar 02 2016 Panu Matilainen <pmatilai@redhat.com> - 2.5.0-1
79c524e
- Update to 2.5.0 (#1312617)
79c524e
53ed0b6
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-2
53ed0b6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
53ed0b6
Flavio Leitner 1ef1e41
* Mon Aug 24 2015 Flavio Leitner - 2.4.0-1
Flavio Leitner 1ef1e41
- updated to 2.4.0 (#1256171)
Flavio Leitner 1ef1e41
Flavio Leitner 33b7d90
* Thu Jun 18 2015 Flavio Leitner - 2.3.2-1
Flavio Leitner 33b7d90
- updated to 2.3.2 (#1233442)
Flavio Leitner 33b7d90
- fixed to own /var/run/openvswitch directory (#1200887)
Flavio Leitner 33b7d90
ea20bc7
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.1-4.git20150327
ea20bc7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
ea20bc7
Flavio Leitner 5d98779
* Fri Mar 27 2015 Flavio Leitner - 2.3.1-3.git20150327
Flavio Leitner 5d98779
- updated to 2.3.1-git4750c96
Flavio Leitner 5d98779
- commented out kernel requires
Flavio Leitner 5d98779
- added requires to procps-ng (testsuite #84)
Flavio Leitner 5d98779
Flavio Leitner 74e218d
* Wed Jan 14 2015 Flavio Leitner - 2.3.1-2.git20150113
Flavio Leitner 74e218d
- updated to 2.3.1-git3282e51
Flavio Leitner 74e218d
Flavio Leitner 59e1f91
* Fri Dec 05 2014 Flavio Leitner - 2.3.1-1
Flavio Leitner 59e1f91
- updated to 2.3.1
Flavio Leitner 59e1f91
Flavio Leitner 7ef8ca3
* Fri Nov 07 2014 Flavio Leitner - 2.3.0-3.git20141107
Flavio Leitner 7ef8ca3
- updated to 2.3.0-git39ebb203
Flavio Leitner 7ef8ca3
Flavio Leitner 9b6c667
* Thu Oct 23 2014 Flavio Leitner - 2.3.0-2
Flavio Leitner 9b6c667
- fixed to own conf.db and system-id.conf in /etc/openvswitch.
Flavio Leitner 9b6c667
  (#1132707)
Flavio Leitner 9b6c667
Flavio Leitner 05e222b
* Tue Aug 19 2014 Flavio Leitner - 2.3.0-1
Flavio Leitner 05e222b
- updated to 2.3.0
Flavio Leitner 05e222b
b862d37
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.2-5
b862d37
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
b862d37
Flavio Leitner bab1c31
* Thu Jun 12 2014 Flavio Leitner - 2.1.2-4
Flavio Leitner bab1c31
- moved README.RHEL to be in the standard doc dir.
Flavio Leitner bab1c31
- added FAQ and NEWS files to the doc list.
Flavio Leitner bab1c31
- excluded PPC arch
Flavio Leitner bab1c31
Flavio Leitner 54f0e1b
* Thu Jun 12 2014 Flavio Leitner - 2.1.2-3
Flavio Leitner 54f0e1b
- removed ovsdbmonitor packaging
Flavio Leitner 54f0e1b
030fb55
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.2-2
030fb55
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
030fb55
Flavio Leitner 755c13e
* Tue Mar 25 2014 Flavio Leitner - 2.1.2-1
Flavio Leitner 755c13e
- updated to 2.1.2
Flavio Leitner 755c13e
Flavio Leitner 961b725
* Tue Mar 25 2014 Flavio Leitner - 2.1.0-1
Flavio Leitner 961b725
- updated to 2.1.0
Flavio Leitner 961b725
- obsoleted openvswitch-controller package
Flavio Leitner 961b725
- requires kernel 3.15.0-0 or newer
Flavio Leitner 961b725
  (kernel commit 4f647e0a3c37b8d5086214128614a136064110c3
Flavio Leitner 961b725
   openvswitch: fix a possible deadlock and lockdep warning)
Flavio Leitner 961b725
- ovs-lib: allow non-root users to check service status
Flavio Leitner 961b725
  (upstream commit 691e47554dd03dd6492e00bab5bd6d215f5cbd4f)
Flavio Leitner 961b725
- rhel: Add Patch Port support to initscripts
Flavio Leitner 961b725
  (upstream commit e2bcc8ef49f5e51f48983b87ab1010f0f9ab1454)
Flavio Leitner 961b725
Flavio Leitner 2c15225
* Mon Jan 27 2014 Flavio Leitner - 2.0.1-1
Flavio Leitner 2c15225
- updated to 2.0.1
Flavio Leitner 2c15225
Chris Wright da2dd82
* Mon Jan 27 2014 Flavio Leitner - 2.0.0-6
Chris Wright da2dd82
- create a -devel package
Chris Wright da2dd82
  (from Chris Wright <chrisw@redhat.com>)
Chris Wright da2dd82
Flavio Leitner 64ad33f
* Wed Jan 15 2014 Flavio Leitner <fbl@redhat.com> - 2.0.0-5
Flavio Leitner 64ad33f
- Enable DHCP support for internal ports
Flavio Leitner 64ad33f
  (upstream commit 490db96efaf89c63656b192d5ca287b0908a6c77)
Flavio Leitner 64ad33f
Flavio Leitner e033741
* Wed Jan 15 2014 Flavio Leitner <fbl@redhat.com> - 2.0.0-4
Flavio Leitner e033741
- disabled ovsdbmonitor packaging
Flavio Leitner e033741
  (upstream has removed the component)
Flavio Leitner e033741
Flavio Leitner 8687c2c
* Wed Jan 15 2014 Flavio Leitner <fbl@redhat.com> - 2.0.0-3
Flavio Leitner 8687c2c
- fedora package: fix systemd ordering and deps.
Flavio Leitner 8687c2c
  (upstream commit b49c106ef00438b1c59876dad90d00e8d6e7b627)
Flavio Leitner 8687c2c
Flavio Leitner b33a7a6
* Wed Jan 15 2014 Flavio Leitner <fbl@redhat.com> - 2.0.0-2
Flavio Leitner b33a7a6
- util: use gcc builtins to better check array sizes
Flavio Leitner b33a7a6
  (upstream commit 878f1972909b33f27b32ad2ded208eb465b98a9b)
Flavio Leitner b33a7a6
Flavio Leitner b0a4860
* Mon Oct 28 2013 Flavio Leitner <fbl@redhat.com> - 2.0.0-1
Flavio Leitner b0a4860
- updated to 2.0.0 (#1023184)
Flavio Leitner b0a4860
Flavio Leitner 305a088
* Mon Oct 28 2013 Flavio Leitner <fbl@redhat.com> - 1.11.0-8
Flavio Leitner 305a088
- applied upstream commit 7b75828bf5654c494a53fa57be90713c625085e2
Flavio Leitner 305a088
  rhel: Option to create tunnel through ifcfg scripts.
Flavio Leitner 305a088
Flavio Leitner d39eba9
* Mon Oct 28 2013 Flavio Leitner <fbl@redhat.com> - 1.11.0-7
Flavio Leitner d39eba9
- applied upstream commit 32aa46891af5e173144d672e15fec7c305f9a4f3
Flavio Leitner d39eba9
  rhel: Set STP of a bridge during bridge creation.
Flavio Leitner d39eba9
Flavio Leitner 0455eaa
* Mon Oct 28 2013 Flavio Leitner <fbl@redhat.com> - 1.11.0-6
Flavio Leitner 0455eaa
- applied upstream commit 5b56f96aaad4a55a26576e0610fb49bde448dabe
Flavio Leitner 0455eaa
  rhel: Prevent duplicate ifup calls.
Flavio Leitner 0455eaa
Flavio Leitner 49d2e17
* Mon Oct 28 2013 Flavio Leitner <fbl@redhat.com> - 1.11.0-5
Flavio Leitner 49d2e17
- applied upstream commit 79416011612541d103a1d396d888bb8c84eb1da4
Flavio Leitner 49d2e17
  rhel: Return an exit value of 0 for ifup-ovs.
Flavio Leitner 49d2e17
Flavio Leitner f861ca2
* Mon Oct 28 2013 Flavio Leitner <fbl@redhat.com> - 1.11.0-4
Flavio Leitner f861ca2
- applied upstream commit 2517bad92eec7e5625bc8b248db22fdeaa5fcde9
Flavio Leitner f861ca2
  Added RHEL ovs-ifup STP option handling
Flavio Leitner f861ca2
Flavio Leitner 791d6d2
* Tue Oct 1 2013 Flavio Leitner <fbl@redhat.com> - 1.11.0-3
Flavio Leitner 791d6d2
- don't use /var/lock/subsys with systemd (#1006412)
Flavio Leitner 791d6d2
Flavio Leitner ae96785
* Thu Sep 19 2013 Flavio Leitner <fbl@redhat.com> - 1.11.0-2
Flavio Leitner ae96785
- ovsdbmonitor package is optional
Flavio Leitner ae96785
Thomas Graf 312060e
* Thu Aug 29 2013 Thomas Graf <tgraf@redhat.com> - 1.11.0-1
Thomas Graf 312060e
- Update to 1.11.0
Thomas Graf 312060e
Flavio Leitner 8faee02
* Tue Aug 13 2013 Flavio Leitner <fbl@redhat.com> - 1.10.0-7
Flavio Leitner 8faee02
- Fixed openvswitch-nonetwork to start openvswitch.service (#996804)
Flavio Leitner 8faee02
80c0102
* Sat Aug 03 2013 Petr Pisar <ppisar@redhat.com> - 1.10.0-6
80c0102
- Perl 5.18 rebuild
80c0102
Thomas Graf 7af1966
* Tue Jul 23 2013 Thomas Graf <tgraf@redhat.com> - 1.10.0-5
Thomas Graf 7af1966
- Typo
Thomas Graf 7af1966
Thomas Graf bb941f3
* Tue Jul 23 2013 Thomas Graf <tgraf@redhat.com> - 1.10.0-4
Thomas Graf bb941f3
- Spec file fixes
Thomas Graf bb941f3
- Maintain local copy of sysconfig.template
Thomas Graf bb941f3
c0541c7
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 1.10.0-3
c0541c7
- Perl 5.18 rebuild
c0541c7
Thomas Graf 31d9673
* Mon Jul 01 2013 Thomas Graf <tgraf@redhat.com> - 1.10.0-2
Thomas Graf 31d9673
- Enable PIE (#955181)
Thomas Graf 670ded5
- Provide native systemd unit files (#818754)
Thomas Graf 31d9673
Thomas Graf bb941f3
* Thu May 02 2013 Thomas Graf <tgraf@redhat.com> - 1.10.0-1
Thomas Graf 9dc09e0
- Update to 1.10.0 (#958814)
Thomas Graf 9dc09e0
Thomas Graf bb941f3
* Thu Feb 28 2013 Thomas Graf <tgraf@redhat.com> - 1.9.0-1
Thomas Graf 84554fe
- Update to 1.9.0 (#916537)
Thomas Graf 84554fe
Thomas Graf c9e307b
* Tue Feb 12 2013 Thomas Graf <tgraf@redhat.com> - 1.7.3-8
Thomas Graf c9e307b
- Fix systemd service dependency loop (#818754)
Thomas Graf c9e307b
Thomas Graf 6262ced
* Fri Jan 25 2013 Thomas Graf <tgraf@redhat.com> - 1.7.3-7
Thomas Graf 6262ced
- Auto-start openvswitch service on ifup/ifdown (#818754)
Thomas Graf 6262ced
- Add OVSREQUIRES to allow defining OpenFlow interface dependencies
Thomas Graf 6262ced
Thomas Graf 6262ced
* Thu Jan 24 2013 Thomas Graf <tgraf@redhat.com> - 1.7.3-6
Thomas Graf 7b6246b
- Update to Open vSwitch 1.7.3
Thomas Graf 7b6246b
c76aa5e
* Tue Nov 20 2012 Thomas Graf <tgraf@redhat.com> - 1.7.1-6
c76aa5e
- Increase max fd limit to support 256 bridges (#873072)
c76aa5e
Thomas Graf bb941f3
* Thu Nov  1 2012 Thomas Graf <tgraf@redhat.com> - 1.7.1-5
c095cf8
- Don't create world writable pki/*/incomming directory (#845351)
c095cf8
Thomas Graf bb941f3
* Thu Oct 25 2012 Thomas Graf <tgraf@redhat.com> - 1.7.1-4
1046df0
- Don't add iptables accept rule for -p GRE as GRE tunneling is unsupported
1046df0
dfd67ae
* Tue Oct 16 2012 Thomas Graf <tgraf@redhat.com> - 1.7.1-3
dfd67ae
- require systemd instead of systemd-units to use macro helpers (#850258)
dfd67ae
002217b
* Tue Oct  9 2012 Thomas Graf <tgraf@redhat.com> - 1.7.1-2
002217b
- make ovs-vsctl timeout if daemon is not running (#858722)
002217b
932d11b
* Mon Sep 10 2012 Thomas Graf <tgraf@redhat.com> - 1.7.1.-1
932d11b
- Update to 1.7.1
932d11b
57a99c4
* Fri Sep  7 2012 Thomas Graf <tgraf@redhat.com> - 1.7.0.-3
57a99c4
- add controller package containing ovs-controller
57a99c4
67294c6
* Thu Aug 23 2012 Tomas Hozza <thozza@redhat.com> - 1.7.0-2
67294c6
- fixed SPEC file so it comply with new systemd-rpm macros guidelines (#850258)
67294c6
df6fb52
* Fri Aug 17 2012 Tomas Hozza <thozza@redhat.com> - 1.7.0-1
df6fb52
- Update to 1.7.0
df6fb52
- Fixed openvswitch-configure-ovskmod-var-autoconfd.patch because
df6fb52
  openvswitch kernel module name changed in 1.7.0
df6fb52
- Removed Source8: ovsdbmonitor-move-to-its-own-data-directory.patch
df6fb52
- Patches merged:
df6fb52
  - ovsdbmonitor-move-to-its-own-data-directory-automaked.patch
df6fb52
  - openvswitch-rhel-initscripts-resync.patch
df6fb52
ed0284a
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-6
ed0284a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
ed0284a
Chris Wright 87a74a5
* Thu Mar 15 2012 Chris Wright <chrisw@redhat.com> - 1.4.0-5
Chris Wright 87a74a5
- fix ovs network initscripts DHCP address acquisition (#803843)
Chris Wright 87a74a5
Chris Wright cb04a2d
* Tue Mar  6 2012 Chris Wright <chrisw@redhat.com> - 1.4.0-4
Chris Wright cb04a2d
- make BuildRequires openssl explicit (needed on f18/rawhide now)
Chris Wright cb04a2d
Chris Wright 91498f6
* Tue Mar  6 2012 Chris Wright <chrisw@redhat.com> - 1.4.0-3
Chris Wright 91498f6
- use glob to catch compressed manpages
Chris Wright 91498f6
Thomas Graf bb941f3
* Thu Mar  1 2012 Chris Wright <chrisw@redhat.com> - 1.4.0-2
Chris Wright 2564f3b
- Update License comment, use consitent macros as per review comments bz799171
Chris Wright 2564f3b
Chris Wright 2564f3b
* Wed Feb 29 2012 Chris Wright <chrisw@redhat.com> - 1.4.0-1
Chris Wright 2564f3b
- Initial package for Fedora