|
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 |
b3acf0 |
Release: 11%{?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 |
fe1a04 |
%endif
|
|
Open vSwitch CI |
fe1a04 |
/var/lib/openvswitch
|
|
Open vSwitch CI |
fe1a04 |
%attr(750,openvswitch,openvswitch) %verify(not owner group) /var/log/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 |
b3acf0 |
* Wed Apr 14 2021 Open vSwitch CI <ovs-team@redhat.com> - 2.15.0-11
|
|
Open vSwitch CI |
b3acf0 |
- Merging upstream branch-2.15 [RH gerrit: 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 |
b3acf0 |
- Make changelog in spec file more informative [RH gerrit: 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 |
b3acf0 |
- Merging upstream branch-2.15 [RH gerrit: 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 |
b3acf0 |
- Merging upstream branch-2.15 [RH gerrit: 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 |
b3acf0 |
- Merging upstream branch-2.15 [RH gerrit: 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 |
b3acf0 |
- Merging upstream branch-2.15 [RH gerrit: 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 |
b3acf0 |
- dpif-netdev: Allow PMD auto load balance with cross-numa. (#1941673) [RH gerrit: 47e2824210]
|
|
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 |
b3acf0 |
- redhat: Update docs for test builds [RH gerrit: 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 |
b3acf0 |
- Merging upstream branch-2.15 [RH gerrit: 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 |
b3acf0 |
- build with ipsec support by default [RH gerrit: 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 |
b3acf0 |
- Use official 2.15.0 tarball [RH gerrit: 9e107c6359]
|
|
Open vSwitch CI |
b3acf0 |
|
|
Open vSwitch CI |
fe1a04 |
|