Open vSwitch CI fe1a04
# Copyright (C) 2009, 2010, 2013, 2014 Nicira Networks, Inc.
Open vSwitch CI fe1a04
#
Open vSwitch CI fe1a04
# Copying and distribution of this file, with or without modification,
Open vSwitch CI fe1a04
# are permitted in any medium without royalty provided the copyright
Open vSwitch CI fe1a04
# notice and this notice are preserved.  This file is offered as-is,
Open vSwitch CI fe1a04
# without warranty of any kind.
Open vSwitch CI fe1a04
#
Open vSwitch CI fe1a04
# If tests have to be skipped while building, specify the '--without check'
Open vSwitch CI fe1a04
# option. For example:
Open vSwitch CI fe1a04
# rpmbuild -bb --without check rhel/openvswitch-fedora.spec
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
# This defines the base package name's version.
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%define pkgname openvswitch2.15
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%if 0%{?commit:1}
Open vSwitch CI fe1a04
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
# Enable PIE, bz#955181
Open vSwitch CI fe1a04
%global _hardened_build 1
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
# RHEL-7 doesn't define _rundir macro yet
Open vSwitch CI fe1a04
# Fedora 15 onwards uses /run as _rundir
Open vSwitch CI fe1a04
%if 0%{!?_rundir:1}
Open vSwitch CI fe1a04
%define _rundir /run
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
# FIXME Test "STP - flush the fdb and mdb when topology changed" fails on s390x
Open vSwitch CI fe1a04
# FIXME 2 tests fails on ppc64le. They will be hopefully fixed before official 2.11
Open vSwitch CI fe1a04
%ifarch %{ix86} x86_64 aarch64
Open vSwitch CI fe1a04
%bcond_without check
Open vSwitch CI fe1a04
%else
Open vSwitch CI fe1a04
%bcond_with check
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
# option to run kernel datapath tests, requires building as root!
Open vSwitch CI fe1a04
%bcond_with check_datapath_kernel
Open vSwitch CI fe1a04
# option to build with libcap-ng, needed for running OVS as regular user
Open vSwitch CI fe1a04
%bcond_without libcapng
Open vSwitch CI fe1a04
# option to build with ipsec support
Open vSwitch CI fe1a04
%bcond_without ipsec
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
# Build python2 (that provides python) and python3 subpackages on Fedora
Open vSwitch CI fe1a04
# Build only python3 (that provides python) subpackage on RHEL8
Open vSwitch CI fe1a04
# Build only python subpackage on RHEL7
Open vSwitch CI fe1a04
%if 0%{?rhel} > 7 || 0%{?fedora}
Open vSwitch CI fe1a04
# On RHEL8 Sphinx is included in buildroot
Open vSwitch CI fe1a04
%global external_sphinx 1
Open vSwitch CI fe1a04
%else
Open vSwitch CI fe1a04
# Don't use external sphinx (RHV doesn't have optional repositories enabled)
Open vSwitch CI fe1a04
%global external_sphinx 0
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
Name: %{pkgname}
Open vSwitch CI fe1a04
Summary: Open vSwitch
Open vSwitch CI fe1a04
Group: System Environment/Daemons daemon/database/utilities
Open vSwitch CI fe1a04
URL: http://www.openvswitch.org/
Open vSwitch CI fe1a04
Version: 2.15.0
Open vSwitch CI aa2f86
Release: 55%{?dist}
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
# Nearly all of openvswitch is ASL 2.0.  The bugtool is LGPLv2+, and the
Open vSwitch CI fe1a04
# lib/sflow*.[ch] files are SISSL
Open vSwitch CI fe1a04
# datapath/ is GPLv2 (although not built into any of the binary packages)
Open vSwitch CI fe1a04
License: ASL 2.0 and LGPLv2+ and SISSL
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%define dpdkver 20.11
Open vSwitch CI fe1a04
%define dpdkdir dpdk
Open vSwitch CI fe1a04
%define dpdksver %(echo %{dpdkver} | cut -d. -f-2)
Open vSwitch CI fe1a04
# NOTE: DPDK does not currently build for s390x
Open vSwitch CI fe1a04
# DPDK on aarch64 is not stable enough to be enabled in FDP
Open vSwitch CI fe1a04
%if 0%{?rhel} > 7 || 0%{?fedora}
Open vSwitch CI fe1a04
%define dpdkarches x86_64 ppc64le
Open vSwitch CI fe1a04
%else
Open vSwitch CI fe1a04
%define dpdkarches
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%if 0%{?commit:1}
Open vSwitch CI fe1a04
Source: https://github.com/openvswitch/ovs/archive/%{commit}.tar.gz#/openvswitch-%{commit}.tar.gz
Open vSwitch CI fe1a04
%else
Open vSwitch CI fe1a04
Source: https://github.com/openvswitch/ovs/archive/v%{version}.tar.gz#/openvswitch-%{version}.tar.gz
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
Source10: https://fast.dpdk.org/rel/dpdk-%{dpdkver}.tar.xz
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%define docutilsver 0.12
Open vSwitch CI fe1a04
%define pygmentsver 1.4
Open vSwitch CI fe1a04
%define sphinxver   1.2.3
Open vSwitch CI fe1a04
Source100: https://pypi.io/packages/source/d/docutils/docutils-%{docutilsver}.tar.gz
Open vSwitch CI fe1a04
Source101: https://pypi.io/packages/source/P/Pygments/Pygments-%{pygmentsver}.tar.gz
Open vSwitch CI fe1a04
Source102: https://pypi.io/packages/source/S/Sphinx/Sphinx-%{sphinxver}.tar.gz
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
Patch:     openvswitch-%{version}.patch
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
# The DPDK is designed to optimize througput of network traffic using, among
Open vSwitch CI fe1a04
# other techniques, carefully crafted assembly instructions.  As such it
Open vSwitch CI fe1a04
# needs extensive work to port it to other architectures.
Open vSwitch CI fe1a04
ExclusiveArch: x86_64 aarch64 ppc64le s390x
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
# Do not enable this otherwise YUM will break on any upgrade.
Open vSwitch CI fe1a04
# Provides: openvswitch
Open vSwitch CI fe1a04
Conflicts: openvswitch < 2.15
Open vSwitch CI fe1a04
Conflicts: openvswitch-dpdk < 2.15
Open vSwitch CI fe1a04
Conflicts: openvswitch2.10
Open vSwitch CI fe1a04
Conflicts: openvswitch2.11
Open vSwitch CI fe1a04
Conflicts: openvswitch2.12
Open vSwitch CI fe1a04
Conflicts: openvswitch2.13
Open vSwitch CI fe1a04
Conflicts: openvswitch2.14
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
# FIXME Sphinx is used to generate some manpages, unfortunately, on RHEL, it's
Open vSwitch CI fe1a04
# in the -optional repository and so we can't require it directly since RHV
Open vSwitch CI fe1a04
# doesn't have the -optional repository enabled and so TPS fails
Open vSwitch CI fe1a04
%if %{external_sphinx}
Open vSwitch CI fe1a04
BuildRequires: python3-sphinx
Open vSwitch CI fe1a04
%else
Open vSwitch CI fe1a04
# Sphinx dependencies
Open vSwitch CI fe1a04
BuildRequires: python-devel
Open vSwitch CI fe1a04
BuildRequires: python-setuptools
Open vSwitch CI fe1a04
#BuildRequires: python2-docutils
Open vSwitch CI fe1a04
BuildRequires: python-jinja2
Open vSwitch CI fe1a04
BuildRequires: python-nose
Open vSwitch CI fe1a04
#BuildRequires: python2-pygments
Open vSwitch CI fe1a04
# docutils dependencies
Open vSwitch CI fe1a04
BuildRequires: python-imaging
Open vSwitch CI fe1a04
# pygments dependencies
Open vSwitch CI fe1a04
BuildRequires: python-nose
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
BuildRequires: gcc gcc-c++ make
Open vSwitch CI fe1a04
BuildRequires: autoconf automake libtool
Open vSwitch CI fe1a04
BuildRequires: systemd-units openssl openssl-devel
Open vSwitch CI fe1a04
BuildRequires: python3-devel python3-setuptools
Open vSwitch CI fe1a04
BuildRequires: desktop-file-utils
Open vSwitch CI fe1a04
BuildRequires: groff-base graphviz
Open vSwitch CI fe1a04
BuildRequires: unbound-devel
Open vSwitch CI fe1a04
# make check dependencies
Open vSwitch CI fe1a04
BuildRequires: procps-ng
Open vSwitch CI fe1a04
%if 0%{?rhel} > 7 || 0%{?fedora}
Open vSwitch CI fe1a04
BuildRequires: python3-pyOpenSSL
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
%if %{with check_datapath_kernel}
Open vSwitch CI fe1a04
BuildRequires: nmap-ncat
Open vSwitch CI fe1a04
# would be useful but not available in RHEL or EPEL
Open vSwitch CI fe1a04
#BuildRequires: pyftpdlib
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%if %{with libcapng}
Open vSwitch CI fe1a04
BuildRequires: libcap-ng libcap-ng-devel
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%ifarch %{dpdkarches}
Open vSwitch CI fe1a04
BuildRequires: meson
Open vSwitch CI fe1a04
# DPDK driver dependencies
Open vSwitch CI fe1a04
BuildRequires: zlib-devel numactl-devel
Open vSwitch CI fe1a04
%ifarch x86_64
Open vSwitch CI fe1a04
BuildRequires: rdma-core-devel >= 15 libmnl-devel
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
# Required by packaging policy for the bundled DPDK
Open vSwitch CI fe1a04
Provides: bundled(dpdk) = %{dpdkver}
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
Requires: openssl iproute module-init-tools
Open vSwitch CI fe1a04
#Upstream kernel commit 4f647e0a3c37b8d5086214128614a136064110c3
Open vSwitch CI fe1a04
#Requires: kernel >= 3.15.0-0
Open vSwitch CI fe1a04
Requires: openvswitch-selinux-extra-policy
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
Requires(pre): shadow-utils
Open vSwitch CI fe1a04
Requires(post): /bin/sed
Open vSwitch CI fe1a04
Requires(post): /usr/sbin/usermod
Open vSwitch CI fe1a04
Requires(post): /usr/sbin/groupadd
Open vSwitch CI fe1a04
Requires(post): systemd-units
Open vSwitch CI fe1a04
Requires(preun): systemd-units
Open vSwitch CI fe1a04
Requires(postun): systemd-units
Open vSwitch CI fe1a04
Obsoletes: openvswitch-controller <= 0:2.1.0-1
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%description
Open vSwitch CI fe1a04
Open vSwitch provides standard network bridging functions and
Open vSwitch CI fe1a04
support for the OpenFlow protocol for remote per-flow control of
Open vSwitch CI fe1a04
traffic.
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%package -n python3-%{pkgname}
Open vSwitch CI fe1a04
Summary: Open vSwitch python3 bindings
Open vSwitch CI fe1a04
License: ASL 2.0
Open vSwitch CI fe1a04
Requires: %{pkgname} = %{?epoch:%{epoch}:}%{version}-%{release}
Open vSwitch CI fe1a04
Provides: python-%{pkgname} = %{?epoch:%{epoch}:}%{version}-%{release}
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%description -n python3-%{pkgname}
Open vSwitch CI fe1a04
Python bindings for the Open vSwitch database
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%package test
Open vSwitch CI fe1a04
Summary: Open vSwitch testing utilities
Open vSwitch CI fe1a04
License: ASL 2.0
Open vSwitch CI fe1a04
BuildArch: noarch
Open vSwitch CI fe1a04
Requires: python3-%{pkgname} = %{?epoch:%{epoch}:}%{version}-%{release}
Open vSwitch CI fe1a04
Requires: tcpdump
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%description test
Open vSwitch CI fe1a04
Utilities that are useful to diagnose performance and connectivity
Open vSwitch CI fe1a04
issues in Open vSwitch setup.
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%package devel
Open vSwitch CI fe1a04
Summary: Open vSwitch OpenFlow development package (library, headers)
Open vSwitch CI fe1a04
License: ASL 2.0
Open vSwitch CI fe1a04
Requires: %{pkgname} = %{?epoch:%{epoch}:}%{version}-%{release}
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%description devel
Open vSwitch CI fe1a04
This provides shared library, libopenswitch.so and the openvswitch header
Open vSwitch CI fe1a04
files needed to build an external application.
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%if 0%{?rhel} > 7 || 0%{?fedora} > 28
Open vSwitch CI fe1a04
%package -n network-scripts-%{name}
Open vSwitch CI fe1a04
Summary: Open vSwitch legacy network service support
Open vSwitch CI fe1a04
License: ASL 2.0
Open vSwitch CI fe1a04
Requires: network-scripts
Open vSwitch CI fe1a04
Supplements: (%{name} and network-scripts)
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%description -n network-scripts-%{name}
Open vSwitch CI fe1a04
This provides the ifup and ifdown scripts for use with the legacy network
Open vSwitch CI fe1a04
service.
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%if %{with ipsec}
Open vSwitch CI fe1a04
%package ipsec
Open vSwitch CI fe1a04
Summary: Open vSwitch IPsec tunneling support
Open vSwitch CI fe1a04
License: ASL 2.0
Open vSwitch CI fe1a04
Requires: python3-%{pkgname} = %{?epoch:%{epoch}:}%{version}-%{release}
Open vSwitch CI fe1a04
Requires: libreswan
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%description ipsec
Open vSwitch CI fe1a04
This package provides IPsec tunneling support for OVS tunnels.
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%prep
Open vSwitch CI fe1a04
%if 0%{?commit:1}
Open vSwitch CI fe1a04
%setup -q -n ovs-%{commit} -a 10
Open vSwitch CI fe1a04
%else
Open vSwitch CI fe1a04
%setup -q -n ovs-%{version} -a 10
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
%if ! %{external_sphinx}
Open vSwitch CI fe1a04
%if 0%{?commit:1}
Open vSwitch CI fe1a04
%setup -n ovs-%{commit} -q -D -T -a 100 -a 101 -a 102
Open vSwitch CI fe1a04
%else
Open vSwitch CI fe1a04
%setup -n ovs-%{version} -q -D -T -a 100 -a 101 -a 102
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
mv dpdk-*/ %{dpdkdir}/
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
# FIXME should we propose a way to do that upstream?
Open vSwitch CI fe1a04
sed -ri "/^subdir\('(usertools|app)'\)/d" %{dpdkdir}/meson.build
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%patch -p1
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%build
Open vSwitch CI fe1a04
# Build Sphinx on RHEL
Open vSwitch CI fe1a04
%if ! %{external_sphinx}
Open vSwitch CI fe1a04
export PYTHONPATH="${PYTHONPATH:+$PYTHONPATH:}%{_builddir}/pytmp/lib/python"
Open vSwitch CI fe1a04
for x in docutils-%{docutilsver} Pygments-%{pygmentsver} Sphinx-%{sphinxver}; do
Open vSwitch CI fe1a04
    pushd "$x"
Open vSwitch CI fe1a04
    python2 setup.py install --home %{_builddir}/pytmp
Open vSwitch CI fe1a04
    popd
Open vSwitch CI fe1a04
done
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
export PATH="$PATH:%{_builddir}/pytmp/bin"
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
./boot.sh
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%ifarch %{dpdkarches}    # build dpdk
Open vSwitch CI fe1a04
# Lets build DPDK first
Open vSwitch CI fe1a04
cd %{dpdkdir}
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
ENABLED_DRIVERS=(
Open vSwitch CI fe1a04
    bus/pci
Open vSwitch CI fe1a04
    bus/vdev
Open vSwitch CI fe1a04
    mempool/ring
Open vSwitch CI fe1a04
    net/failsafe
Open vSwitch CI fe1a04
    net/i40e
Open vSwitch CI fe1a04
    net/ring
Open vSwitch CI fe1a04
    net/vhost
Open vSwitch CI fe1a04
    net/virtio
Open vSwitch CI fe1a04
    net/tap
Open vSwitch CI fe1a04
)
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%ifarch x86_64
Open vSwitch CI fe1a04
ENABLED_DRIVERS+=(
Open vSwitch CI fe1a04
    bus/vmbus
Open vSwitch CI fe1a04
    common/iavf
Open vSwitch CI fe1a04
    common/mlx5
Open vSwitch CI fe1a04
    net/bnxt
Open vSwitch CI fe1a04
    net/enic
Open vSwitch CI fe1a04
    net/iavf
Open vSwitch CI fe1a04
    net/ice
Open vSwitch CI fe1a04
    net/mlx4
Open vSwitch CI fe1a04
    net/mlx5
Open vSwitch CI fe1a04
    net/netvsc
Open vSwitch CI fe1a04
    net/nfp
Open vSwitch CI fe1a04
    net/qede
Open vSwitch CI fe1a04
    net/vdev_netvsc
Open vSwitch CI fe1a04
)
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%ifarch aarch64 x86_64
Open vSwitch CI fe1a04
ENABLED_DRIVERS+=(
Open vSwitch CI fe1a04
    net/e1000
Open vSwitch CI fe1a04
    net/ixgbe
Open vSwitch CI fe1a04
)
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
# Since upstream doesn't have a way
Open vSwitch CI fe1a04
for driver in drivers/*/*/; do
Open vSwitch CI fe1a04
    driver=${driver#drivers/}
Open vSwitch CI fe1a04
    driver=${driver%/}
Open vSwitch CI fe1a04
    [[ " ${ENABLED_DRIVERS[@]} " == *" $driver "* ]] || \
Open vSwitch CI fe1a04
        disable_drivers="${disable_drivers:+$disable_drivers,}"$driver
Open vSwitch CI fe1a04
done
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
#CFLAGS="$(echo %{optflags} | sed -e 's:-Wall::g' -e 's:-march=[[:alnum:]]* ::g') -Wformat -fPIC %{_hardening_ldflags}" \
Open vSwitch CI fe1a04
%set_build_flags
Open vSwitch CI fe1a04
%__meson --prefix=%{_builddir}/dpdk-build \
Open vSwitch CI fe1a04
         --buildtype=plain \
Open vSwitch CI fe1a04
         -Ddisable_drivers="$disable_drivers" \
Open vSwitch CI fe1a04
         -Dmachine=default \
Open vSwitch CI fe1a04
         -Dmax_ethports=128 \
Open vSwitch CI fe1a04
         -Dmax_numa_nodes=8 \
Open vSwitch CI fe1a04
         -Dtests=false \
Open vSwitch CI fe1a04
         %{_vpath_builddir}
Open vSwitch CI fe1a04
%meson_build
Open vSwitch CI fe1a04
%__meson install -C %{_vpath_builddir} --no-rebuild
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
# FIXME currently with LTO enabled OVS tries to link with both static and shared libraries
Open vSwitch CI fe1a04
rm -v %{_builddir}/dpdk-build/%{_lib}/*.so*
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
# Generate a list of supported drivers, its hard to tell otherwise.
Open vSwitch CI fe1a04
cat << EOF > README.DPDK-PMDS
Open vSwitch CI fe1a04
DPDK drivers included in this package:
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
EOF
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
for f in %{_builddir}/dpdk-build/%{_lib}/librte_net_*.a; do
Open vSwitch CI fe1a04
    basename ${f} | cut -c12- | cut -d. -f1 | tr [:lower:] [:upper:]
Open vSwitch CI fe1a04
done >> README.DPDK-PMDS
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
cat << EOF >> README.DPDK-PMDS
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
For further information about the drivers, see
Open vSwitch CI fe1a04
http://dpdk.org/doc/guides-%{dpdksver}/nics/index.html
Open vSwitch CI fe1a04
EOF
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
cd -
Open vSwitch CI fe1a04
%endif    # build dpdk
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
# And now for OVS...
Open vSwitch CI fe1a04
mkdir build-shared build-static
Open vSwitch CI fe1a04
pushd build-shared
Open vSwitch CI fe1a04
ln -s ../configure
Open vSwitch CI fe1a04
%configure \
Open vSwitch CI fe1a04
%if %{with libcapng}
Open vSwitch CI fe1a04
        --enable-libcapng \
Open vSwitch CI fe1a04
%else
Open vSwitch CI fe1a04
        --disable-libcapng \
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
        --disable-static \
Open vSwitch CI fe1a04
        --enable-shared \
Open vSwitch CI fe1a04
        --enable-ssl \
Open vSwitch CI fe1a04
        --with-pkidir=%{_sharedstatedir}/openvswitch/pki
Open vSwitch CI fe1a04
make %{?_smp_mflags}
Open vSwitch CI fe1a04
popd
Open vSwitch CI fe1a04
pushd build-static
Open vSwitch CI fe1a04
ln -s ../configure
Open vSwitch CI fe1a04
%ifarch %{dpdkarches}
Open vSwitch CI fe1a04
PKG_CONFIG_PATH=%{_builddir}/dpdk-build/%{_lib}/pkgconfig \
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
%configure \
Open vSwitch CI fe1a04
%if %{with libcapng}
Open vSwitch CI fe1a04
        --enable-libcapng \
Open vSwitch CI fe1a04
%else
Open vSwitch CI fe1a04
        --disable-libcapng \
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
        --enable-ssl \
Open vSwitch CI fe1a04
%ifarch %{dpdkarches}
Open vSwitch CI fe1a04
        --with-dpdk=static \
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
        --with-pkidir=%{_sharedstatedir}/openvswitch/pki
Open vSwitch CI fe1a04
make %{?_smp_mflags}
Open vSwitch CI fe1a04
popd
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
/usr/bin/python3 build-aux/dpdkstrip.py \
Open vSwitch CI fe1a04
        --dpdk \
Open vSwitch CI fe1a04
        < rhel/usr_lib_systemd_system_ovs-vswitchd.service.in \
Open vSwitch CI fe1a04
        > rhel/usr_lib_systemd_system_ovs-vswitchd.service
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%install
Open vSwitch CI fe1a04
rm -rf $RPM_BUILD_ROOT
Open vSwitch CI fe1a04
make -C build-shared install-libLTLIBRARIES DESTDIR=$RPM_BUILD_ROOT
Open vSwitch CI fe1a04
make -C build-static install DESTDIR=$RPM_BUILD_ROOT
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
install -d -m 0755 $RPM_BUILD_ROOT%{_rundir}/openvswitch
Open vSwitch CI fe1a04
install -d -m 0750 $RPM_BUILD_ROOT%{_localstatedir}/log/openvswitch
Open vSwitch CI fe1a04
install -d -m 0755 $RPM_BUILD_ROOT%{_sysconfdir}/openvswitch
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
install -p -D -m 0644 rhel/usr_lib_udev_rules.d_91-vfio.rules \
Open vSwitch CI fe1a04
        $RPM_BUILD_ROOT%{_udevrulesdir}/91-vfio.rules
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
install -p -D -m 0644 \
Open vSwitch CI fe1a04
        rhel/usr_share_openvswitch_scripts_systemd_sysconfig.template \
Open vSwitch CI fe1a04
        $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/openvswitch
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
for service in openvswitch ovsdb-server ovs-vswitchd \
Open vSwitch CI fe1a04
               ovs-delete-transient-ports; do
Open vSwitch CI fe1a04
        install -p -D -m 0644 \
Open vSwitch CI fe1a04
                        rhel/usr_lib_systemd_system_${service}.service \
Open vSwitch CI fe1a04
                        $RPM_BUILD_ROOT%{_unitdir}/${service}.service
Open vSwitch CI fe1a04
done
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%if %{with ipsec}
Open vSwitch CI fe1a04
install -p -D -m 0644 rhel/usr_lib_systemd_system_openvswitch-ipsec.service \
Open vSwitch CI fe1a04
                      $RPM_BUILD_ROOT%{_unitdir}/openvswitch-ipsec.service
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
install -m 0755 rhel/etc_init.d_openvswitch \
Open vSwitch CI fe1a04
        $RPM_BUILD_ROOT%{_datadir}/openvswitch/scripts/openvswitch.init
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
install -p -D -m 0644 rhel/etc_openvswitch_default.conf \
Open vSwitch CI fe1a04
        $RPM_BUILD_ROOT/%{_sysconfdir}/openvswitch/default.conf
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
install -p -D -m 0644 rhel/etc_logrotate.d_openvswitch \
Open vSwitch CI fe1a04
        $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d/openvswitch
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
install -m 0644 vswitchd/vswitch.ovsschema \
Open vSwitch CI fe1a04
        $RPM_BUILD_ROOT/%{_datadir}/openvswitch/vswitch.ovsschema
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
install -d -m 0755 $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/network-scripts/
Open vSwitch CI fe1a04
install -p -m 0755 rhel/etc_sysconfig_network-scripts_ifdown-ovs \
Open vSwitch CI fe1a04
        $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/network-scripts/ifdown-ovs
Open vSwitch CI fe1a04
install -p -m 0755 rhel/etc_sysconfig_network-scripts_ifup-ovs \
Open vSwitch CI fe1a04
        $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/network-scripts/ifup-ovs
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
install -d -m 0755 $RPM_BUILD_ROOT%{python3_sitelib}
Open vSwitch CI fe1a04
cp -a $RPM_BUILD_ROOT/%{_datadir}/openvswitch/python/ovstest \
Open vSwitch CI fe1a04
        $RPM_BUILD_ROOT%{python3_sitelib}
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
# Build the JSON C extension for the Python lib (#1417738)
Open vSwitch CI fe1a04
pushd python
Open vSwitch CI fe1a04
(
Open vSwitch CI fe1a04
export CPPFLAGS="-I ../include -I ../build-shared/include"
Open vSwitch CI fe1a04
export LDFLAGS="%{__global_ldflags} -L $RPM_BUILD_ROOT%{_libdir}"
Open vSwitch CI fe1a04
%py3_build
Open vSwitch CI fe1a04
%py3_install
Open vSwitch CI fe1a04
[ -f "$RPM_BUILD_ROOT/%{python3_sitearch}/ovs/_json$(python3-config --extension-suffix)" ]
Open vSwitch CI fe1a04
)
Open vSwitch CI fe1a04
popd
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
rm -rf $RPM_BUILD_ROOT/%{_datadir}/openvswitch/python/
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
install -d -m 0755 $RPM_BUILD_ROOT/%{_sharedstatedir}/openvswitch
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
install -d -m 0755 $RPM_BUILD_ROOT%{_prefix}/lib/firewalld/services/
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
install -p -D -m 0755 \
Open vSwitch CI fe1a04
        rhel/usr_share_openvswitch_scripts_ovs-systemd-reload \
Open vSwitch CI fe1a04
        $RPM_BUILD_ROOT%{_datadir}/openvswitch/scripts/ovs-systemd-reload
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
touch $RPM_BUILD_ROOT%{_sysconfdir}/openvswitch/conf.db
Open vSwitch CI fe1a04
# The db needs special permission as IPsec Pre-shared keys are stored in it.
Open vSwitch CI fe1a04
chmod 0640 $RPM_BUILD_ROOT%{_sysconfdir}/openvswitch/conf.db
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
touch $RPM_BUILD_ROOT%{_sysconfdir}/openvswitch/system-id.conf
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
# remove unpackaged files
Open vSwitch CI fe1a04
rm -f $RPM_BUILD_ROOT/%{_bindir}/ovs-benchmark \
Open vSwitch CI fe1a04
        $RPM_BUILD_ROOT/%{_bindir}/ovs-docker \
Open vSwitch CI fe1a04
        $RPM_BUILD_ROOT/%{_bindir}/ovs-parse-backtrace \
Open vSwitch CI fe1a04
        $RPM_BUILD_ROOT/%{_bindir}/ovs-testcontroller \
Open vSwitch CI fe1a04
        $RPM_BUILD_ROOT/%{_sbindir}/ovs-vlan-bug-workaround \
Open vSwitch CI fe1a04
        $RPM_BUILD_ROOT/%{_mandir}/man1/ovs-benchmark.1* \
Open vSwitch CI fe1a04
        $RPM_BUILD_ROOT/%{_mandir}/man8/ovs-testcontroller.* \
Open vSwitch CI fe1a04
        $RPM_BUILD_ROOT/%{_mandir}/man8/ovs-vlan-bug-workaround.8*
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%if ! %{with ipsec}
Open vSwitch CI fe1a04
rm -f $RPM_BUILD_ROOT/%{_datadir}/openvswitch/scripts/ovs-monitor-ipsec
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
# remove ovn unpackages files
Open vSwitch CI fe1a04
rm -f $RPM_BUILD_ROOT%{_bindir}/ovn*
Open vSwitch CI fe1a04
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/ovn*
Open vSwitch CI fe1a04
rm -f $RPM_BUILD_ROOT%{_mandir}/man5/ovn*
Open vSwitch CI fe1a04
rm -f $RPM_BUILD_ROOT%{_mandir}/man7/ovn*
Open vSwitch CI fe1a04
rm -f $RPM_BUILD_ROOT%{_mandir}/man8/ovn*
Open vSwitch CI fe1a04
rm -f $RPM_BUILD_ROOT%{_datadir}/openvswitch/ovn*
Open vSwitch CI fe1a04
rm -f $RPM_BUILD_ROOT%{_datadir}/openvswitch/scripts/ovn*
Open vSwitch CI fe1a04
rm -f $RPM_BUILD_ROOT%{_includedir}/ovn/*
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%check
Open vSwitch CI fe1a04
%if %{with check}
Open vSwitch CI fe1a04
    pushd build-static
Open vSwitch CI fe1a04
    touch resolv.conf
Open vSwitch CI fe1a04
    export OVS_RESOLV_CONF=$(pwd)/resolv.conf
Open vSwitch CI fe1a04
    if make check TESTSUITEFLAGS='%{_smp_mflags}' ||
Open vSwitch CI fe1a04
       make check TESTSUITEFLAGS='--recheck'; then :;
Open vSwitch CI fe1a04
    else
Open vSwitch CI fe1a04
        cat tests/testsuite.log
Open vSwitch CI fe1a04
        exit 1
Open vSwitch CI fe1a04
    fi
Open vSwitch CI fe1a04
    popd
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
%if %{with check_datapath_kernel}
Open vSwitch CI fe1a04
    pushd build-static
Open vSwitch CI fe1a04
    if make check-kernel RECHECK=yes; then :;
Open vSwitch CI fe1a04
    else
Open vSwitch CI fe1a04
        cat tests/system-kmod-testsuite.log
Open vSwitch CI fe1a04
        exit 1
Open vSwitch CI fe1a04
    fi
Open vSwitch CI fe1a04
    popd
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%clean
Open vSwitch CI fe1a04
rm -rf $RPM_BUILD_ROOT
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%preun
Open vSwitch CI fe1a04
%if 0%{?systemd_preun:1}
Open vSwitch CI fe1a04
    %systemd_preun openvswitch.service
Open vSwitch CI fe1a04
%else
Open vSwitch CI fe1a04
    if [ $1 -eq 0 ] ; then
Open vSwitch CI fe1a04
    # Package removal, not upgrade
Open vSwitch CI fe1a04
        /bin/systemctl --no-reload disable openvswitch.service >/dev/null 2>&1 || :
Open vSwitch CI fe1a04
        /bin/systemctl stop openvswitch.service >/dev/null 2>&1 || :
Open vSwitch CI fe1a04
    fi
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%pre
Open vSwitch CI fe1a04
getent group openvswitch >/dev/null || groupadd -r openvswitch
Open vSwitch CI fe1a04
getent passwd openvswitch >/dev/null || \
Open vSwitch CI fe1a04
    useradd -r -g openvswitch -d / -s /sbin/nologin \
Open vSwitch CI fe1a04
    -c "Open vSwitch Daemons" openvswitch
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%ifarch %{dpdkarches}
Open vSwitch CI fe1a04
    getent group hugetlbfs >/dev/null || groupadd hugetlbfs
Open vSwitch CI fe1a04
    usermod -a -G hugetlbfs openvswitch
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
exit 0
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%post
Open vSwitch CI fe1a04
if [ $1 -eq 1 ]; then
Open vSwitch CI fe1a04
    sed -i 's:^#OVS_USER_ID=:OVS_USER_ID=:' /etc/sysconfig/openvswitch
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%ifarch %{dpdkarches}
Open vSwitch CI fe1a04
    sed -i \
Open vSwitch CI fe1a04
        's@OVS_USER_ID="openvswitch:openvswitch"@OVS_USER_ID="openvswitch:hugetlbfs"@'\
Open vSwitch CI fe1a04
        /etc/sysconfig/openvswitch
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
fi
Open vSwitch CI fe1a04
chown -R openvswitch:openvswitch /etc/openvswitch
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%if 0%{?systemd_post:1}
Open vSwitch CI fe1a04
    %systemd_post openvswitch.service
Open vSwitch CI fe1a04
%else
Open vSwitch CI fe1a04
    # Package install, not upgrade
Open vSwitch CI fe1a04
    if [ $1 -eq 1 ]; then
Open vSwitch CI fe1a04
        /bin/systemctl daemon-reload >dev/null || :
Open vSwitch CI fe1a04
    fi
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%postun
Open vSwitch CI fe1a04
%if 0%{?systemd_postun:1}
Open vSwitch CI fe1a04
    %systemd_postun openvswitch.service
Open vSwitch CI fe1a04
%else
Open vSwitch CI fe1a04
    /bin/systemctl daemon-reload >/dev/null 2>&1 || :
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%triggerun -- openvswitch < 2.5.0-22.git20160727%{?dist}
Open vSwitch CI fe1a04
# old rpm versions restart the service in postun, but
Open vSwitch CI fe1a04
# due to systemd some preparation is needed.
Open vSwitch CI fe1a04
if systemctl is-active openvswitch >/dev/null 2>&1 ; then
Open vSwitch CI fe1a04
    /usr/share/openvswitch/scripts/ovs-ctl stop >/dev/null 2>&1 || :
Open vSwitch CI fe1a04
    systemctl daemon-reload >/dev/null 2>&1 || :
Open vSwitch CI fe1a04
    systemctl stop openvswitch ovsdb-server ovs-vswitchd >/dev/null 2>&1 || :
Open vSwitch CI fe1a04
    systemctl start openvswitch >/dev/null 2>&1 || :
Open vSwitch CI fe1a04
fi
Open vSwitch CI fe1a04
exit 0
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%files -n python3-%{pkgname}
Open vSwitch CI fe1a04
%{python3_sitearch}/ovs
Open vSwitch CI fe1a04
%{python3_sitearch}/ovs-*.egg-info
Open vSwitch CI fe1a04
%doc LICENSE
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%files test
Open vSwitch CI fe1a04
%{_bindir}/ovs-pcap
Open vSwitch CI fe1a04
%{_bindir}/ovs-tcpdump
Open vSwitch CI fe1a04
%{_bindir}/ovs-tcpundump
Open vSwitch CI fe1a04
%{_mandir}/man1/ovs-pcap.1*
Open vSwitch CI fe1a04
%{_mandir}/man8/ovs-tcpdump.8*
Open vSwitch CI fe1a04
%{_mandir}/man1/ovs-tcpundump.1*
Open vSwitch CI fe1a04
%{_bindir}/ovs-test
Open vSwitch CI fe1a04
%{_bindir}/ovs-vlan-test
Open vSwitch CI fe1a04
%{_bindir}/ovs-l3ping
Open vSwitch CI fe1a04
%{_mandir}/man8/ovs-test.8*
Open vSwitch CI fe1a04
%{_mandir}/man8/ovs-vlan-test.8*
Open vSwitch CI fe1a04
%{_mandir}/man8/ovs-l3ping.8*
Open vSwitch CI fe1a04
%{python3_sitelib}/ovstest
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%files devel
Open vSwitch CI fe1a04
%{_libdir}/*.so
Open vSwitch CI fe1a04
%{_libdir}/pkgconfig/*.pc
Open vSwitch CI fe1a04
%{_includedir}/openvswitch/*
Open vSwitch CI fe1a04
%{_includedir}/openflow/*
Open vSwitch CI fe1a04
%exclude %{_libdir}/*.a
Open vSwitch CI fe1a04
%exclude %{_libdir}/*.la
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%if 0%{?rhel} > 7 || 0%{?fedora} > 28
Open vSwitch CI fe1a04
%files -n network-scripts-%{name}
Open vSwitch CI fe1a04
%{_sysconfdir}/sysconfig/network-scripts/ifup-ovs
Open vSwitch CI fe1a04
%{_sysconfdir}/sysconfig/network-scripts/ifdown-ovs
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%files
Open vSwitch CI fe1a04
%defattr(-,openvswitch,openvswitch)
Open vSwitch CI fe1a04
%dir %{_sysconfdir}/openvswitch
Open vSwitch CI fe1a04
%{_sysconfdir}/openvswitch/default.conf
Open vSwitch CI fe1a04
%config %ghost %verify(not owner group md5 size mtime) %{_sysconfdir}/openvswitch/conf.db
Open vSwitch CI fe1a04
%ghost %attr(0600,-,-) %verify(not owner group md5 size mtime) %{_sysconfdir}/openvswitch/.conf.db.~lock~
Open vSwitch CI fe1a04
%config %ghost %{_sysconfdir}/openvswitch/system-id.conf
Open vSwitch CI fe1a04
%defattr(-,root,root)
Open vSwitch CI fe1a04
%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/sysconfig/openvswitch
Open vSwitch CI fe1a04
%{_sysconfdir}/bash_completion.d/ovs-appctl-bashcomp.bash
Open vSwitch CI fe1a04
%{_sysconfdir}/bash_completion.d/ovs-vsctl-bashcomp.bash
Open vSwitch CI fe1a04
%config(noreplace) %{_sysconfdir}/logrotate.d/openvswitch
Open vSwitch CI fe1a04
%{_unitdir}/openvswitch.service
Open vSwitch CI fe1a04
%{_unitdir}/ovsdb-server.service
Open vSwitch CI fe1a04
%{_unitdir}/ovs-vswitchd.service
Open vSwitch CI fe1a04
%{_unitdir}/ovs-delete-transient-ports.service
Open vSwitch CI fe1a04
%{_datadir}/openvswitch/scripts/openvswitch.init
Open vSwitch CI fe1a04
%{_datadir}/openvswitch/scripts/ovs-check-dead-ifs
Open vSwitch CI fe1a04
%{_datadir}/openvswitch/scripts/ovs-lib
Open vSwitch CI fe1a04
%{_datadir}/openvswitch/scripts/ovs-save
Open vSwitch CI fe1a04
%{_datadir}/openvswitch/scripts/ovs-vtep
Open vSwitch CI fe1a04
%{_datadir}/openvswitch/scripts/ovs-ctl
Open vSwitch CI fe1a04
%{_datadir}/openvswitch/scripts/ovs-kmod-ctl
Open vSwitch CI fe1a04
%{_datadir}/openvswitch/scripts/ovs-systemd-reload
Open vSwitch CI fe1a04
%config %{_datadir}/openvswitch/vswitch.ovsschema
Open vSwitch CI fe1a04
%config %{_datadir}/openvswitch/vtep.ovsschema
Open vSwitch CI fe1a04
%{_bindir}/ovs-appctl
Open vSwitch CI fe1a04
%{_bindir}/ovs-dpctl
Open vSwitch CI fe1a04
%{_bindir}/ovs-ofctl
Open vSwitch CI fe1a04
%{_bindir}/ovs-vsctl
Open vSwitch CI fe1a04
%{_bindir}/ovsdb-client
Open vSwitch CI fe1a04
%{_bindir}/ovsdb-tool
Open vSwitch CI fe1a04
%{_bindir}/ovs-pki
Open vSwitch CI fe1a04
%{_bindir}/vtep-ctl
Open vSwitch CI fe1a04
%{_libdir}/*.so.*
Open vSwitch CI fe1a04
%{_sbindir}/ovs-vswitchd
Open vSwitch CI fe1a04
%{_sbindir}/ovsdb-server
Open vSwitch CI fe1a04
%{_mandir}/man1/ovsdb-client.1*
Open vSwitch CI fe1a04
%{_mandir}/man1/ovsdb-server.1*
Open vSwitch CI fe1a04
%{_mandir}/man1/ovsdb-tool.1*
Open vSwitch CI fe1a04
%{_mandir}/man5/ovsdb.5*
Open vSwitch CI fe1a04
%{_mandir}/man5/ovsdb-server.5.*
Open vSwitch CI fe1a04
%{_mandir}/man5/ovs-vswitchd.conf.db.5*
Open vSwitch CI fe1a04
%{_mandir}/man5/vtep.5*
Open vSwitch CI fe1a04
%{_mandir}/man7/ovsdb-server.7*
Open vSwitch CI fe1a04
%{_mandir}/man7/ovsdb.7*
Open vSwitch CI fe1a04
%{_mandir}/man7/ovs-actions.7*
Open vSwitch CI fe1a04
%{_mandir}/man7/ovs-fields.7*
Open vSwitch CI fe1a04
%{_mandir}/man8/vtep-ctl.8*
Open vSwitch CI fe1a04
%{_mandir}/man8/ovs-appctl.8*
Open vSwitch CI fe1a04
%{_mandir}/man8/ovs-ctl.8*
Open vSwitch CI fe1a04
%{_mandir}/man8/ovs-dpctl.8*
Open vSwitch CI fe1a04
%{_mandir}/man8/ovs-kmod-ctl.8.*
Open vSwitch CI fe1a04
%{_mandir}/man8/ovs-ofctl.8*
Open vSwitch CI fe1a04
%{_mandir}/man8/ovs-pki.8*
Open vSwitch CI fe1a04
%{_mandir}/man8/ovs-vsctl.8*
Open vSwitch CI fe1a04
%{_mandir}/man8/ovs-vswitchd.8*
Open vSwitch CI fe1a04
%{_mandir}/man8/ovs-parse-backtrace.8*
Open vSwitch CI fe1a04
%{_udevrulesdir}/91-vfio.rules
Open vSwitch CI fe1a04
%doc LICENSE NOTICE README.rst NEWS rhel/README.RHEL.rst
Open vSwitch CI fe1a04
%ifarch %{dpdkarches}
Open vSwitch CI fe1a04
%doc %{dpdkdir}/README.DPDK-PMDS
Open vSwitch CI 666c40
%attr(750,openvswitch,hugetlbfs) %verify(not owner group) /var/log/openvswitch
Open vSwitch CI 666c40
%else
Open vSwitch CI 666c40
%attr(750,openvswitch,openvswitch) %verify(not owner group) /var/log/openvswitch
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
/var/lib/openvswitch
Open vSwitch CI fe1a04
%ghost %attr(755,root,root) %verify(not owner group) %{_rundir}/openvswitch
Open vSwitch CI fe1a04
%{_datadir}/openvswitch/bugtool-plugins/
Open vSwitch CI fe1a04
%{_datadir}/openvswitch/scripts/ovs-bugtool-*
Open vSwitch CI fe1a04
%{_bindir}/ovs-dpctl-top
Open vSwitch CI fe1a04
%{_sbindir}/ovs-bugtool
Open vSwitch CI fe1a04
%{_mandir}/man8/ovs-dpctl-top.8*
Open vSwitch CI fe1a04
%{_mandir}/man8/ovs-bugtool.8*
Open vSwitch CI fe1a04
%if (0%{?rhel} && 0%{?rhel} <= 7) || (0%{?fedora} && 0%{?fedora} < 29)
Open vSwitch CI fe1a04
%{_sysconfdir}/sysconfig/network-scripts/ifup-ovs
Open vSwitch CI fe1a04
%{_sysconfdir}/sysconfig/network-scripts/ifdown-ovs
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%if %{with ipsec}
Open vSwitch CI fe1a04
%files ipsec
Open vSwitch CI fe1a04
%{_datadir}/openvswitch/scripts/ovs-monitor-ipsec
Open vSwitch CI fe1a04
%{_unitdir}/openvswitch-ipsec.service
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%changelog
Open vSwitch CI aa2f86
* Thu Dec 09 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-55
Open vSwitch CI aa2f86
- Merging upstream branch-2.15 [RH git: a1abf356d3]
Open vSwitch CI aa2f86
    Commit list:
Open vSwitch CI aa2f86
    d477f60008 compat: handle NF_REPEAT error on nf_conntrack_in.
Open vSwitch CI aa2f86
Open vSwitch CI aa2f86
Open vSwitch CI ff7ec8
* Mon Dec 06 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-54
Open vSwitch CI ff7ec8
- Merging upstream branch-2.15 [RH git: d4f13fd840]
Open vSwitch CI ff7ec8
    Commit list:
Open vSwitch CI ff7ec8
    0590e88387 flow: Consider dataofs when parsing TCP packets.
Open vSwitch CI ff7ec8
    7266042d84 tests/flowgen: Fix packet data endianness.
Open vSwitch CI ff7ec8
    d2e0632dbe ofproto: Fix resource usage explosion due to removal of large number of flows.
Open vSwitch CI ff7ec8
    0a7e66e37f ofproto: Fix resource usage explosion while processing bundled FLOW_MOD.
Open vSwitch CI ff7ec8
    68466efed9 tests/flowgen: Fix length field of 802.2 data link header.
Open vSwitch CI ff7ec8
    2a2185f9e6 ovs-lib: Backup and remove existing DB when joining cluster.
Open vSwitch CI ff7ec8
    fcbc29c6f0 docs/dpdk: Fix install doc.
Open vSwitch CI ff7ec8
    a5d97d4202 ovs-save: Save igmp flows in ofp_parse syntax.
Open vSwitch CI ff7ec8
    1cbd1f0f56 faq: Update OVS/DPDK version table for OVS 2.13/2.14.
Open vSwitch CI ff7ec8
Open vSwitch CI ff7ec8
Open vSwitch CI bcb8ed
* Thu Nov 18 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-53
Open vSwitch CI bcb8ed
- Merging upstream branch-2.15 [RH git: 9221a2233d]
Open vSwitch CI bcb8ed
    Commit list:
Open vSwitch CI bcb8ed
    01bc910e57 ofproto-dpif-xlate: Fix check_pkt_larger incomplete translation.
Open vSwitch CI bcb8ed
Open vSwitch CI bcb8ed
Open vSwitch CI edef7e
* Mon Nov 15 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-52
Open vSwitch CI edef7e
- Merging upstream branch-2.15 [RH git: 001ae577c6]
Open vSwitch CI edef7e
    Commit list:
Open vSwitch CI edef7e
    08a270dda1 datapath-windows: Reset flow key after Ipv4 fragments are reassembled
Open vSwitch CI edef7e
Open vSwitch CI edef7e
Open vSwitch CI f4eb1f
* Thu Oct 28 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-51
Open vSwitch CI f4eb1f
- Merging upstream branch-2.15 [RH git: a134a530c9]
Open vSwitch CI f4eb1f
    Commit list:
Open vSwitch CI f4eb1f
    eca2d50d40 datapath-windows:Reset PseudoChecksum value only for TX direction offload case
Open vSwitch CI f4eb1f
Open vSwitch CI f4eb1f
Open vSwitch CI ea115b
* Wed Oct 27 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-50
Open vSwitch CI ea115b
- Merging upstream branch-2.15 [RH git: 16dad85706]
Open vSwitch CI ea115b
    Commit list:
Open vSwitch CI ea115b
    031cf67e09 netdev-offload-tc: Verify the flower rule installed.
Open vSwitch CI ea115b
Open vSwitch CI ea115b
Open vSwitch CI c14c36
* Wed Oct 27 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-49
Open vSwitch CI c14c36
- Merging upstream branch-2.15 [RH git: 2502ca29b0]
Open vSwitch CI c14c36
    Commit list:
Open vSwitch CI c14c36
    952e851506 ci: Make linux-prepare trust system installs.
Open vSwitch CI c14c36
Open vSwitch CI c14c36
Open vSwitch CI 86e721
* Mon Oct 25 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-48
Open vSwitch CI 86e721
- Merging upstream branch-2.15 [RH git: 7cf784736e]
Open vSwitch CI 86e721
    Commit list:
Open vSwitch CI 86e721
    2cf63851a5 Prepare for 2.15.3.
Open vSwitch CI 86e721
    63f9a7c5d8 Set release date for 2.15.2.
Open vSwitch CI 86e721
Open vSwitch CI 86e721
Open vSwitch CI 4ae2c7
* Tue Oct 19 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-47
Open vSwitch CI 4ae2c7
- Merging upstream branch-2.15 [RH git: 01110b9088]
Open vSwitch CI 4ae2c7
    Commit list:
Open vSwitch CI 4ae2c7
    b7d9c491ec datapath-windows: add layers when adding the deferred actions
Open vSwitch CI 4ae2c7
Open vSwitch CI 4ae2c7
Open vSwitch CI 83eab5
* Thu Oct 14 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-46
Open vSwitch CI 83eab5
- Merging upstream branch-2.15 [RH git: f8619036c9]
Open vSwitch CI 83eab5
    Commit list:
Open vSwitch CI 83eab5
    3f718857e7 ofproto-dpif-xlate: Fix zone set from non-frozen-metadata fields.
Open vSwitch CI 83eab5
Open vSwitch CI 83eab5
Open vSwitch CI 7a1f11
* Wed Oct 13 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-45
Open vSwitch CI 7a1f11
- Merging upstream branch-2.15 [RH git: e273e307d1]
Open vSwitch CI 7a1f11
    Commit list:
Open vSwitch CI 7a1f11
    ea2ca0af16 dpif-netdev: Fix use-after-free on PACKET_OUT of IP fragments.
Open vSwitch CI 7a1f11
    9f964354e3 tunnel-push-pop.at: Mask source port in tunnel header.
Open vSwitch CI 7a1f11
Open vSwitch CI 7a1f11
Open vSwitch CI 009784
* Tue Oct 12 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-44
Open vSwitch CI 009784
- Merging upstream branch-2.15 [RH git: 3050e5222d]
Open vSwitch CI 009784
    Commit list:
Open vSwitch CI 009784
    58397f222b dpdk-stub: Change the ERR log to DBG.
Open vSwitch CI 009784
    2a963fc314 python: idl: Avoid sending transactions when the DB is not synced up.
Open vSwitch CI 009784
Open vSwitch CI 009784
Open vSwitch CI 200160
* Tue Oct 12 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-43
Open vSwitch CI 200160
- Merging upstream branch-2.15 [RH git: 09e3ab3630]
Open vSwitch CI 200160
    Commit list:
Open vSwitch CI 200160
    9efa2ea619 ipf: release unhandled packets from the batch
Open vSwitch CI 200160
Open vSwitch CI 200160
Open vSwitch CI bb8a0a
* Thu Sep 30 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-42
Open vSwitch CI bb8a0a
- Merging upstream branch-2.15 [RH git: 2a86017f3f]
Open vSwitch CI bb8a0a
    Commit list:
Open vSwitch CI bb8a0a
    f8274b78c3 datapath-windows:adjust Offset when processing packet in POP_VLAN action
Open vSwitch CI bb8a0a
Open vSwitch CI bb8a0a
Open vSwitch CI 666c40
* Mon Sep 27 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-41
Open vSwitch CI 666c40
- Merging upstream branch-2.15 [RH git: 8f2e30f011]
Open vSwitch CI 666c40
    Commit list:
Open vSwitch CI 666c40
    a2f860aa2e cirrus: Reduce memory requirements for FreeBSD VMs.
Open vSwitch CI 666c40
Open vSwitch CI 666c40
Open vSwitch CI 666c40
* Thu Sep 23 2021 Timothy Redaelli <tredaelli@redhat.com> - 2.15.0-40
Open vSwitch CI 666c40
- redhat: use hugetlbfs group for /var/log/openvswitch when dpdk is enabled [RH git: 5ccf239b51] (#2007290)
Open vSwitch CI 666c40
    Resolves: #2007290
Open vSwitch CI 666c40
Open vSwitch CI 666c40
Open vSwitch CI 87d5da
* Thu Sep 16 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-39
Open vSwitch CI 87d5da
- Merging upstream branch-2.15 [RH git: c6bdfa8cc1]
Open vSwitch CI 87d5da
    Commit list:
Open vSwitch CI 87d5da
    7788f15798 netdev-linux: Fix a null pointer dereference in netdev_linux_notify_sock().
Open vSwitch CI 87d5da
    dd32deba6e pcap-file: Fix memory leak in ovs_pcap_open().
Open vSwitch CI 87d5da
    9f2f66c8ea odp-util: Fix a null pointer dereference in odp_flow_format().
Open vSwitch CI 87d5da
    02b0c265c4 odp-util: Fix a null pointer dereference in odp_nsh_key_from_attr__().
Open vSwitch CI 87d5da
    031eff4563 netdev-dpdk: Fix RSS configuration for virtio.
Open vSwitch CI 87d5da
    09cd9570d2 ipf: Fix only nat the first fragment in the reass process.
Open vSwitch CI 87d5da
Open vSwitch CI 87d5da
Open vSwitch CI b3f074
* Wed Sep 15 2021 Timothy Redaelli <tredaelli@redhat.com> - 2.15.0-38
Open vSwitch CI b3f074
- ofproto-dpif-xlate: Avoid successive ct_clear datapath actions. [RH git: f9a9ac7608] (#1941027)
Open vSwitch CI b3f074
    Due to flow lookup optimizations, especially in the resubmit/clone cases,
Open vSwitch CI b3f074
    we might end up with multiple ct_clear actions, which are not necessary.
Open vSwitch CI b3f074
    
Open vSwitch CI b3f074
    This patch only adds the ct_clear action to the datapath if any ct state
Open vSwitch CI b3f074
    is tracked.
Open vSwitch CI b3f074
    
Open vSwitch CI b3f074
    Resolves: #1941027
Open vSwitch CI b3f074
    
Open vSwitch CI b3f074
    Signed-off-by: Eelco Chaudron <echaudro@redhat.com>
Open vSwitch CI b3f074
    Acked-by: Timothy Redaelli <tredaelli@redhat.com>
Open vSwitch CI b3f074
    Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Open vSwitch CI b3f074
    (cherry picked from commit 355fef6f2ccbcf78797b938421cb4cef9b59af13)
Open vSwitch CI b3f074
Open vSwitch CI b3f074
Open vSwitch CI 6cf6ab
* Wed Sep 08 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-37
Open vSwitch CI 6cf6ab
- Merging upstream branch-2.15 [RH git: b36eb7e529]
Open vSwitch CI 6cf6ab
    Commit list:
Open vSwitch CI 6cf6ab
    ef8ca3e190 dpif-netdev: Fix crash when PACKET_OUT is metered.
Open vSwitch CI 6cf6ab
Open vSwitch CI 6cf6ab
Open vSwitch CI 6cf6ab
* Tue Aug 17 2021 Michael Santana <msantana@redhat.com> - 2.15.0-36
Open vSwitch CI 6cf6ab
- Migrate openvswitch to gitlab [RH git: 93147e2cda]
Open vSwitch CI 6cf6ab
    Signed-off-by: Michael Santana <msantana@redhat.com>
Open vSwitch CI 6cf6ab
Open vSwitch CI 6cf6ab
Open vSwitch CI 4c16cd
* Mon Aug 16 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-35
Open vSwitch CI 4c16cd
- Merging upstream branch-2.15 [RH git: 11bcf52d03]
Open vSwitch CI 4c16cd
    Commit list:
Open vSwitch CI 4c16cd
    d3ff41d609 tc: Set action flags for tunnel_key release.
Open vSwitch CI 4c16cd
    079a4de723 netlink-socket: Replace error with txn->error when logging nacked transactions.
Open vSwitch CI 4c16cd
    f8cc5aa35c dynamic-string: Fix a crash in ds_clone().
Open vSwitch CI 4c16cd
Open vSwitch CI 4c16cd
Open vSwitch CI 4c16cd
* Mon Aug 16 2021 Michael Santana <msantana@redhat.com> - 2.15.0-34
Open vSwitch CI 4c16cd
- pkgtool: Swap bugzilla id and RH git [RH git: c2e6243d60]
Open vSwitch CI 4c16cd
    Having the bugzilla ID not at the end of the line breakes another script
Open vSwitch CI 4c16cd
    that parses for said ID. This patch fixes that by putting the ID next to
Open vSwitch CI 4c16cd
    the new line
Open vSwitch CI 4c16cd
    
Open vSwitch CI 4c16cd
    Fixes: f6b2db4dd33e ("Make changelog in spec file more informative")
Open vSwitch CI 4c16cd
    Signed-off-by: Michael Santana <msantana@redhat.com>
Open vSwitch CI 4c16cd
Open vSwitch CI 4c16cd
Open vSwitch CI 5fccb7
* Mon Aug 16 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-33
Open vSwitch CI 4c16cd
- Merging upstream branch-2.15 [RH git: 08b4ccb1c4]
Open vSwitch CI 5fccb7
    Commit list:
Open vSwitch CI 5fccb7
    64d1bba919 dpif-netdev: fix memory leak in dpcls subtable set command
Open vSwitch CI 5fccb7
Open vSwitch CI 5fccb7
Open vSwitch CI 72bb40
* Tue Aug 03 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-32
Open vSwitch CI 4c16cd
- Merging upstream branch-2.15 [RH git: 2cc833ce5b]
Open vSwitch CI 72bb40
    Commit list:
Open vSwitch CI 72bb40
    90b219275d dpif-netdev: Do not flush PMD offloads on reload.
Open vSwitch CI 72bb40
Open vSwitch CI 72bb40
Open vSwitch CI bbf517
* Mon Aug 02 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-31
Open vSwitch CI 4c16cd
- Merging upstream branch-2.15 [RH git: 88fb0bba8a]
Open vSwitch CI bbf517
    Commit list:
Open vSwitch CI bbf517
    b29b04f85f dpif-netdev: Fix offloads of modified flows.
Open vSwitch CI bbf517
    1d0b89ea7b dpif-netdev: Fix flow modification after failure.
Open vSwitch CI bbf517
Open vSwitch CI bbf517
Open vSwitch CI 693264
* Mon Jul 26 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-30
Open vSwitch CI 4c16cd
- Merging upstream branch-2.15 [RH git: a76a4dfca6]
Open vSwitch CI 693264
    Commit list:
Open vSwitch CI 693264
    8d84a4b166 netdev-offload-dpdk: Fix IPv6 rewrite cast-align warning.
Open vSwitch CI 693264
    f3f7849cbb daemon-unix: Fix leak of a fork error message.
Open vSwitch CI 693264
Open vSwitch CI 693264
Open vSwitch CI e6f46a
* Fri Jul 23 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-29
Open vSwitch CI 4c16cd
- Merging upstream branch-2.15 [RH git: 60c8b2a15b]
Open vSwitch CI e6f46a
    Commit list:
Open vSwitch CI e6f46a
    8aa0f03747 ovsdb-cs: Perform forced reconnects without a backoff.
Open vSwitch CI e6f46a
Open vSwitch CI e6f46a
Open vSwitch CI 301256
* Wed Jul 21 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-28
Open vSwitch CI 4c16cd
- Merging upstream branch-2.15 [RH git: 48a90081e8]
Open vSwitch CI 301256
    Commit list:
Open vSwitch CI 301256
    ee4e034dc9 datapath-windows:Correct checksum for DNAT action
Open vSwitch CI 301256
Open vSwitch CI 301256
Open vSwitch CI f83af5
* Sat Jul 17 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-27
Open vSwitch CI 4c16cd
- Merging upstream branch-2.15 [RH git: abdd952536]
Open vSwitch CI f83af5
    Commit list:
Open vSwitch CI f83af5
    72132a9403 bond: Fix broken rebalancing after link state changes.
Open vSwitch CI f83af5
    aa84cfe25d dpif-netlink: Fix report_loss() message.
Open vSwitch CI f83af5
    aec05f7cd1 ovsdb-server: Fix memleak when failing to read storage.
Open vSwitch CI f83af5
    05bdf11fc3 conntrack: Init hash basis first at creation.
Open vSwitch CI f83af5
    94e3b9d9ce netdev-linux: Ignore TSO packets when TSO is not enabled for userspace.
Open vSwitch CI f83af5
    842bfb899f conntrack: Handle already natted packets.
Open vSwitch CI f83af5
    ab873c1afe conntrack: Document all-zero IP SNAT behavior and add a test case.
Open vSwitch CI f83af5
    86d6a9ee14 python: Fix Idl.run change_seqno update.
Open vSwitch CI f83af5
    1ba0c83655 bridge: Use correct (legacy) role names in database.
Open vSwitch CI f83af5
    7e5293ea5a Prepare for 2.15.2.
Open vSwitch CI f83af5
    b855bbc326 Set release date for 2.15.1.
Open vSwitch CI f83af5
    007a4f48fe dpif-netdev: Apply subtable-lookup-prio-set on any datapath.
Open vSwitch CI f83af5
    c93358a563 netlink: removed incorrect optimization
Open vSwitch CI f83af5
    31626579fa ovs-actions.xml: Add missing bracket.
Open vSwitch CI f83af5
    30596ec278 netdev-offload-tc: Use nl_msg_put_flag for OVS_TUNNEL_KEY_ATTR_CSUM.
Open vSwitch CI f83af5
    728980291a conntrack: Increment coverage counter for all bad checksum cases.
Open vSwitch CI f83af5
Open vSwitch CI f83af5
Open vSwitch CI f83af5
* Wed Jun 30 2021 Timothy Redaelli <tredaelli@redhat.com> - 2.15.0-26
Open vSwitch CI 4c16cd
- Use 10 characters of hash to generate the changelog [RH git: d89d9cd0f1]
Open vSwitch CI f83af5
    This is needed to avoid that the history changes since the default
Open vSwitch CI f83af5
    changes from time to time
Open vSwitch CI f83af5
Open vSwitch CI f83af5
Open vSwitch CI f83af5
* Wed Jun 30 2021 Timothy Redaelli <tredaelli@redhat.com> - 2.15.0-25
Open vSwitch CI 4c16cd
- Merging 881d71ea22e datapath-windows: Specify external include .. [RH git: 8ad5538601]
Open vSwitch CI f83af5
    Commit list:
Open vSwitch CI f83af5
    881d71ea22e datapath-windows: Specify external include paths
Open vSwitch CI f83af5
    934668c295e Remove Python 2 leftovers.
Open vSwitch CI f83af5
    aaa59670556 ipf: Fix a use-after-free error, and remove the 'do_not_steal' flag.
Open vSwitch CI f83af5
Open vSwitch CI f83af5
Open vSwitch CI 057528
* Fri Jun 11 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-24
Open vSwitch CI 4c16cd
- Merging upstream branch-2.15 [RH git: 78ba3622d9]
Open vSwitch CI 057528
    Commit list:
Open vSwitch CI 057528
    bc0aa785a8 ovsdb-idl: Fix the database update signaling if it has never been connected.
Open vSwitch CI 057528
    559426d2b0 ofproto: Fix potential NULL dereference in ofproto_ct_*_zone_timeout_policy().
Open vSwitch CI 057528
    f31070e27e ofproto: Fix potential NULL dereference in ofproto_get_datapath_cap().
Open vSwitch CI 057528
Open vSwitch CI 057528
Open vSwitch CI 50666c
* Thu May 27 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-23
Open vSwitch CI 4c16cd
- Merging upstream branch-2.15 [RH git: ba3ba16d42]
Open vSwitch CI 50666c
    Commit list:
Open vSwitch CI 50666c
    8995d53112 dpif-netlink: Fix send of uninitialized memory in ct limit requests.
Open vSwitch CI 50666c
    0c056891c2 ofproto-dpif: Fix use of uninitialized attributes of timeout policy.
Open vSwitch CI 50666c
    121a67cad3 netdev-linux: Fix use of uninitialized LAG master name.
Open vSwitch CI 50666c
    5f27ff1cfa ofp_actions: Fix set_mpls_tc formatting.
Open vSwitch CI 50666c
Open vSwitch CI 50666c
Open vSwitch CI c5f476
* Wed May 19 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-22
Open vSwitch CI 4c16cd
- Merging upstream branch-2.15 [RH git: 8b6b82c2ed]
Open vSwitch CI c5f476
    Commit list:
Open vSwitch CI c5f476
    e87adce83c dpif-netdev: Remove meter rate from the bucket size calculation.
Open vSwitch CI c5f476
Open vSwitch CI c5f476
Open vSwitch CI 8bef66
* Sat May 15 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-21
Open vSwitch CI 4c16cd
- Merging upstream branch-2.15 [RH git: c7b9daa243]
Open vSwitch CI 8bef66
    Commit list:
Open vSwitch CI 8bef66
    a3ee3258e2 ovs-ofctl: Fix coredump when using "add-groups" command.
Open vSwitch CI 8bef66
Open vSwitch CI 8bef66
Open vSwitch CI 8bef66
* Fri May 14 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-20
Open vSwitch CI 4c16cd
- Merging upstream branch-2.15 [RH git: 69559c9283]
Open vSwitch CI 8bef66
    Commit list:
Open vSwitch CI 8bef66
    c5d2a62750 raft: Transfer leadership before creating snapshots.
Open vSwitch CI 8bef66
Open vSwitch CI 8bef66
Open vSwitch CI fe11c6
* Fri May 14 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-19
Open vSwitch CI 4c16cd
- Merging upstream branch-2.15 [RH git: 6aa50cbb89]
Open vSwitch CI fe11c6
    Commit list:
Open vSwitch CI fe11c6
    553d523929 ovsdb-cs: Consider all tables when computing expected cond seqno.
Open vSwitch CI fe11c6
    8d0aebcc49 dpdk: Use DPDK 20.11.1 release.
Open vSwitch CI fe11c6
Open vSwitch CI fe11c6
Open vSwitch CI cd14f6
* Wed May 12 2021 Timothy Redaelli <tredaelli@redhat.com> - 2.15.0-18
Open vSwitch CI 4c16cd
- Merge tag 'b6167fabb202faa025946348f514e369dba5853b' into fast-datapath-rhel-8 [RH git: 1cdc5555f9]
Open vSwitch CI cd14f6
    dpdk-20.11.1
Open vSwitch CI cd14f6
Open vSwitch CI cd14f6
Open vSwitch CI 925d7e
* Tue May 11 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-17
Open vSwitch CI 4c16cd
- Merging upstream branch-2.15 [RH git: 120e2a5d87]
Open vSwitch CI 925d7e
    Commit list:
Open vSwitch CI 925d7e
    21452722b7 github: Fix up malformed /etc/hosts.
Open vSwitch CI 925d7e
    90d1984b99 doc: automake: Add support for sphinx 4.0.
Open vSwitch CI 925d7e
    38a8bed703 cirrus: Look up existing versions of python dependencies.
Open vSwitch CI 925d7e
Open vSwitch CI 925d7e
Open vSwitch CI 2ba8cb
* Mon May 10 2021 Open vSwitch CI <ovs-team@redhat.com> - 2.15.0-16
Open vSwitch CI 4c16cd
- Merging upstream branch-2.15 [RH git: dbd5501f48]
Open vSwitch CI 2ba8cb
    Commit list:
Open vSwitch CI 2ba8cb
    255c38c745 ofp-group: Use big-enough buffer in ofputil_format_group().
Open vSwitch CI 2ba8cb
Open vSwitch CI 2ba8cb
Open vSwitch CI d251a9
* Wed Apr 21 2021 Open vSwitch CI <ovs-team@redhat.com> - 2.15.0-15
Open vSwitch CI 4c16cd
- Merging upstream branch-2.15 [RH git: 85f5aecb83]
Open vSwitch CI d251a9
    Commit list:
Open vSwitch CI d251a9
    f2c0744d2f ofproto/ofproto-dpif-sflow: Check sflow agent in case of race
Open vSwitch CI d251a9
Open vSwitch CI d251a9
Open vSwitch CI d251a9
* Tue Apr 20 2021 Aaron Conole <aconole@redhat.com> - 2.15.0-14
Open vSwitch CI 4c16cd
- Merging ct_state_fix [RH git: f847e4fac1]
Open vSwitch CI d251a9
    Commit list:
Open vSwitch CI d251a9
    09a2081067 netdev-offload-tc: Add support for ct_state flag rel.
Open vSwitch CI d251a9
    423048a34f netdev-offload-tc: Add support for ct_state flags inv and rpl
Open vSwitch CI d251a9
Open vSwitch CI d251a9
Open vSwitch CI d251a9
* Tue Apr 20 2021 Aaron Conole <aconole@redhat.com> - 2.15.0-13
Open vSwitch CI 4c16cd
- ab157ef34d dpif: Fix use of uninitialized execute hash. b1fded0208 odp-util: Fix use of uninitialized erspan metadata. f473ee5689 dpif-netlink: Fix using uninitialized info.tc_modify_flow_deleted in out label. 2721606bd4 netdev-offload-tc: Probe for support for any of the ct_state flags. 091bc48d9c compat: Add ct_state flags definitions. [RH git: e4336ed96c]
Open vSwitch CI d251a9
Open vSwitch CI d251a9
Open vSwitch CI d251a9
* Tue Apr 20 2021 Timothy Redaelli <tredaelli@redhat.com> - 2.15.0-12
Open vSwitch CI 4c16cd
- Fix typo in rh-mock-srpm [RH git: 85631264db]
Open vSwitch CI d251a9
    Thanks fbl for reporting
Open vSwitch CI d251a9
Open vSwitch CI d251a9
Open vSwitch CI b3acf0
* Wed Apr 14 2021 Open vSwitch CI <ovs-team@redhat.com> - 2.15.0-11
Open vSwitch CI 4c16cd
- Merging upstream branch-2.15 [RH git: 71c33052b9]
Open vSwitch CI b3acf0
    Commit list:
Open vSwitch CI b3acf0
    1307e90e3f Add test cases for ingress_policing parameters
Open vSwitch CI b3acf0
    d184c6ce67 netdev-linux: correct unit of burst parameter
Open vSwitch CI b3acf0
Open vSwitch CI b3acf0
Open vSwitch CI b3acf0
* Wed Apr 07 2021 Michael Santana <msantana@redhat.com> - 2.15.0-10
Open vSwitch CI 4c16cd
- Make changelog in spec file more informative [RH git: f6b2db4dd3]
Open vSwitch CI b3acf0
    This is done by adding the body of the commit message to the changelong.
Open vSwitch CI b3acf0
    The body is indented and has extra spacing separating each entry in the
Open vSwitch CI b3acf0
    changelog to make each one more discernible since now they could be
Open vSwitch CI b3acf0
    longer
Open vSwitch CI b3acf0
    
Open vSwitch CI b3acf0
    Signed-off-by: Michael Santana <msantana@redhat.com>
Open vSwitch CI b3acf0
Open vSwitch CI b3acf0
Open vSwitch CI 91e748
* Thu Apr 01 2021 Open vSwitch CI <ovs-team@redhat.com> - 2.15.0-9
Open vSwitch CI 4c16cd
- Merging upstream branch-2.15 [RH git: 504b67ec8d]
Open vSwitch CI b3acf0
    Commit list:
Open vSwitch CI b3acf0
    cab998e500 ipsec: Fix IPv6 default route support for Libreswan.
Open vSwitch CI b3acf0
Open vSwitch CI 91e748
Open vSwitch CI 78f366
* Thu Apr 01 2021 Open vSwitch CI <ovs-team@redhat.com> - 2.15.0-8
Open vSwitch CI 4c16cd
- Merging upstream branch-2.15 [RH git: 147a0970be]
Open vSwitch CI b3acf0
    Commit list:
Open vSwitch CI b3acf0
    b9ab7827ec ovsdb-idl: Mark arc sources as updated when destination is deleted.
Open vSwitch CI b3acf0
    c82d2e3fbc ovsdb-idl: Preserve references for deleted rows.
Open vSwitch CI b3acf0
    9a24ecbc2a ovsdb-idl.at: Make test outputs more predictable.
Open vSwitch CI b3acf0
Open vSwitch CI 78f366
Open vSwitch CI e0c144
* Wed Mar 31 2021 Open vSwitch CI <ovs-team@redhat.com> - 2.15.0-7
Open vSwitch CI 4c16cd
- Merging upstream branch-2.15 [RH git: cbb083630e]
Open vSwitch CI b3acf0
    Commit list:
Open vSwitch CI b3acf0
    8d71feb1b8 ovs-ofctl: Fix segfault due to bad meter n_bands.
Open vSwitch CI b3acf0
Open vSwitch CI e0c144
Open vSwitch CI 0aa018
* Wed Mar 31 2021 Open vSwitch CI <ovs-team@redhat.com> - 2.15.0-6
Open vSwitch CI 4c16cd
- Merging upstream branch-2.15 [RH git: 221cf613d7]
Open vSwitch CI b3acf0
    Commit list:
Open vSwitch CI b3acf0
    3a716b1d9c dpif-netdev: Refactor and fix the buckets calculation.
Open vSwitch CI b3acf0
    73ece9c87b dpif-netdev: Fix the meter buckets overflow.
Open vSwitch CI b3acf0
Open vSwitch CI 0aa018
Open vSwitch CI daaf06
* Mon Mar 22 2021 Kevin Traynor <ktraynor@redhat.com> - 2.15.0-5
Open vSwitch CI 4c16cd
- dpif-netdev: Allow PMD auto load balance with cross-numa. [RH git: 47e2824210] (#1941673)
Open vSwitch CI b3acf0
    commit ec68a877db5bbfba49ddeb9929479c033420ea6b
Open vSwitch CI b3acf0
    Author: Kevin Traynor <ktraynor@redhat.com>
Open vSwitch CI b3acf0
    Date:   Thu Mar 18 11:34:04 2021 +0000
Open vSwitch CI b3acf0
    
Open vSwitch CI b3acf0
        dpif-netdev: Allow PMD auto load balance with cross-numa.
Open vSwitch CI b3acf0
    
Open vSwitch CI b3acf0
        Previously auto load balance did not trigger a reassignment when
Open vSwitch CI b3acf0
        there was any cross-numa polling as an rxq could be polled from a
Open vSwitch CI b3acf0
        different numa after reassign and it could impact estimates.
Open vSwitch CI b3acf0
    
Open vSwitch CI b3acf0
        In the case where there is only one numa with pmds available, the
Open vSwitch CI b3acf0
        same numa will always poll before and after reassignment, so estimates
Open vSwitch CI b3acf0
        are valid. Allow PMD auto load balance to trigger a reassignment in
Open vSwitch CI b3acf0
        this case.
Open vSwitch CI b3acf0
    
Open vSwitch CI b3acf0
        Acked-by: Eelco Chaudron <echaudro@redhat.com>
Open vSwitch CI b3acf0
        Acked-by: David Marchand <david.marchand@redhat.com>
Open vSwitch CI b3acf0
        Tested-by: Sunil Pai G <sunil.pai.g@intel.com>
Open vSwitch CI b3acf0
        Acked-by: Flavio Leitner <fbl@sysclose.org>
Open vSwitch CI b3acf0
        Signed-off-by: Kevin Traynor <ktraynor@redhat.com>
Open vSwitch CI b3acf0
        Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Open vSwitch CI b3acf0
    
Open vSwitch CI b3acf0
    Reported-at: https://bugzilla.redhat.com/show_bug.cgi?id=1941673
Open vSwitch CI b3acf0
    Conflicts: Commit backported from upstream master branch. Commit not
Open vSwitch CI b3acf0
    present on upstream branch-2.15. Removed NEWS file update as could cause
Open vSwitch CI b3acf0
    future merge conflicts.
Open vSwitch CI b3acf0
Open vSwitch CI daaf06
Open vSwitch CI daaf06
* Fri Mar 19 2021 Kevin Traynor <ktraynor@redhat.com> - 2.15.0-4
Open vSwitch CI 4c16cd
- redhat: Update docs for test builds [RH git: 7620c95a37]
Open vSwitch CI b3acf0
Open vSwitch CI daaf06
Open vSwitch CI fe1a04
* Tue Mar 16 2021 Open vSwitch CI <ovs-team@redhat.com> - 2.15.0-3
Open vSwitch CI 4c16cd
- Merging upstream branch-2.15 [RH git: c4fc969d7e]
Open vSwitch CI b3acf0
    Commit list:
Open vSwitch CI b3acf0
    d5dc16670e python: Send notifications after the transaction ends.
Open vSwitch CI b3acf0
    556e65e179 ovs-ctl: Allow recording hostname separately.
Open vSwitch CI b3acf0
    3982aee455 dpif-netdev: Fix crash when add dp flow without in_port field.
Open vSwitch CI b3acf0
    02096f1b37 Documentation: Fix DPDK qos example.
Open vSwitch CI b3acf0
    8f1dda3164 raft: Report disconnected in cluster/status if candidate retries election.
Open vSwitch CI b3acf0
    79e9749daa raft: Reintroduce jsonrpc inactivity probes.
Open vSwitch CI b3acf0
    2e84a4adb1 ovsdb-cs: Fix use-after-free for the request id.
Open vSwitch CI b3acf0
    d2c311dce8 connmgr: Check nullptr inside ofmonitor_report().
Open vSwitch CI b3acf0
    7307af6908 ovsdb-client: Fix needs-conversion when SERVER is explicitly specified.
Open vSwitch CI b3acf0
    2a7a635718 windows, tests: Modify service test.
Open vSwitch CI b3acf0
    9b48549c68 netdev-linux: Fix indentation.
Open vSwitch CI b3acf0
    861a9f3b4d ofproto-dpif-upcall: Fix ukey leak on udpif destroy.
Open vSwitch CI b3acf0
    339044c3cc ci: Use parallel build for distcheck.
Open vSwitch CI b3acf0
    38744b1bcb ofp-actions: Fix use-after-free while decoding RAW_ENCAP.
Open vSwitch CI b3acf0
    33abe6c052 Prepare for 2.15.1.
Open vSwitch CI b3acf0
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
* Tue Feb 16 2021 Timothy Redaelli <tredaelli@redhat.com> - 2.15.0-2
Open vSwitch CI 4c16cd
- build with ipsec support by default [RH git: 105482aee7]
Open vSwitch CI b3acf0
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
* Mon Feb 15 2021 Timothy Redaelli <tredaelli@redhat.com> - 2.15.0-1
Open vSwitch CI 4c16cd
- Use official 2.15.0 tarball [RH git: 9e107c6359]
Open vSwitch CI b3acf0
Open vSwitch CI fe1a04