2141b4
# Copyright (C) 2009, 2010, 2013, 2014 Nicira Networks, Inc.
2141b4
#
2141b4
# Copying and distribution of this file, with or without modification,
2141b4
# are permitted in any medium without royalty provided the copyright
2141b4
# notice and this notice are preserved.  This file is offered as-is,
2141b4
# without warranty of any kind.
2141b4
#
2141b4
# If tests have to be skipped while building, specify the '--without check'
2141b4
# option. For example:
2141b4
# rpmbuild -bb --without check rhel/openvswitch-fedora.spec
2141b4
2141b4
# This defines the base package name's version.
2141b4
2141b4
%define pkgver 2.13
31b994
%define pkgname ovn23.06
2141b4
2141b4
# If libcap-ng isn't available and there is no need for running OVS
2141b4
# as regular user, specify the '--without libcapng'
2141b4
%bcond_without libcapng
2141b4
2141b4
# Enable PIE, bz#955181
2141b4
%global _hardened_build 1
2141b4
2141b4
# RHEL-7 doesn't define _rundir macro yet
2141b4
# Fedora 15 onwards uses /run as _rundir
2141b4
%if 0%{!?_rundir:1}
2141b4
%define _rundir /run
2141b4
%endif
2141b4
2141b4
# Build python2 (that provides python) and python3 subpackages on Fedora
2141b4
# Build only python3 (that provides python) subpackage on RHEL8
2141b4
# Build only python subpackage on RHEL7
2141b4
%if 0%{?rhel} > 7 || 0%{?fedora}
2141b4
# On RHEL8 Sphinx is included in buildroot
2141b4
%global external_sphinx 1
2141b4
%else
2141b4
# Don't use external sphinx (RHV doesn't have optional repositories enabled)
2141b4
%global external_sphinx 0
2141b4
%endif
2141b4
2141b4
# We would see rpmlinit error - E: hardcoded-library-path in '% {_prefix}/lib'.
2141b4
# But there is no solution to fix this. Using {_lib} macro will solve the
2141b4
# rpmlink error, but will install the files in /usr/lib64/.
2141b4
# OVN pacemaker ocf script file is copied in /usr/lib/ocf/resource.d/ovn/
2141b4
# and we are not sure if pacemaker looks into this path to find the
2141b4
# OVN resource agent script.
2141b4
%global ovnlibdir %{_prefix}/lib
2141b4
2141b4
Name: %{pkgname}
2141b4
Summary: Open Virtual Network support
2141b4
Group: System Environment/Daemons
2141b4
URL: http://www.ovn.org/
31b994
Version: 23.06.1
31b994
Release: 11%{?commit0:.%{date}git%{shortcommit0}}%{?dist}
2141b4
Provides: openvswitch%{pkgver}-ovn-common = %{?epoch:%{epoch}:}%{version}-%{release}
2141b4
Obsoletes: openvswitch%{pkgver}-ovn-common < 2.11.0-1
2141b4
2141b4
# Nearly all of openvswitch is ASL 2.0.  The bugtool is LGPLv2+, and the
2141b4
# lib/sflow*.[ch] files are SISSL
2141b4
License: ASL 2.0 and LGPLv2+ and SISSL
2141b4
31b994
%define ovncommit a20f880efdba9dcf19c1df77b31a3b8b9dffa345
31b994
2141b4
# Always pull an upstream release, since this is what we rebase to.
31b994
Source: https://github.com/ovn-org/ovn/archive/%{ovncommit}.tar.gz#/ovn-%{version}.tar.gz
2141b4
31b994
%define ovscommit 0187eadfce4505d502e57c0e688b830f0a1ec728
31b994
%define ovsshortcommit 0187ead
2141b4
2141b4
Source10: https://github.com/openvswitch/ovs/archive/%{ovscommit}.tar.gz#/openvswitch-%{ovsshortcommit}.tar.gz
2141b4
%define ovsdir ovs-%{ovscommit}
2141b4
2141b4
%define docutilsver 0.12
2141b4
%define pygmentsver 1.4
2141b4
%define sphinxver   1.1.3
2141b4
Source100: https://pypi.io/packages/source/d/docutils/docutils-%{docutilsver}.tar.gz
2141b4
Source101: https://pypi.io/packages/source/P/Pygments/Pygments-%{pygmentsver}.tar.gz
2141b4
Source102: https://pypi.io/packages/source/S/Sphinx/Sphinx-%{sphinxver}.tar.gz
2141b4
2141b4
Source500: configlib.sh
2141b4
Source501: gen_config_group.sh
2141b4
Source502: set_config.sh
2141b4
2141b4
# Important: source503 is used as the actual copy file
2141b4
# @TODO: this causes a warning - fix it?
2141b4
Source504: arm64-armv8a-linuxapp-gcc-config
2141b4
Source505: ppc_64-power8-linuxapp-gcc-config
2141b4
Source506: x86_64-native-linuxapp-gcc-config
2141b4
2141b4
Patch:     %{pkgname}.patch
2141b4
2141b4
# FIXME Sphinx is used to generate some manpages, unfortunately, on RHEL, it's
2141b4
# in the -optional repository and so we can't require it directly since RHV
2141b4
# doesn't have the -optional repository enabled and so TPS fails
2141b4
%if %{external_sphinx}
2141b4
BuildRequires: python3-sphinx
2141b4
%else
2141b4
# Sphinx dependencies
2141b4
BuildRequires: python-devel
2141b4
BuildRequires: python-setuptools
2141b4
#BuildRequires: python2-docutils
2141b4
BuildRequires: python-jinja2
2141b4
BuildRequires: python-nose
2141b4
#BuildRequires: python2-pygments
2141b4
# docutils dependencies
2141b4
BuildRequires: python-imaging
2141b4
# pygments dependencies
2141b4
BuildRequires: python-nose
2141b4
%endif
2141b4
2141b4
BuildRequires: gcc gcc-c++ make
2141b4
BuildRequires: autoconf automake libtool
2141b4
BuildRequires: systemd-units openssl openssl-devel
2141b4
BuildRequires: python3-devel python3-setuptools
2141b4
BuildRequires: desktop-file-utils
2141b4
BuildRequires: groff-base graphviz
2141b4
BuildRequires: unbound-devel
2141b4
2141b4
# make check dependencies
2141b4
BuildRequires: procps-ng
2141b4
%if 0%{?rhel} == 8 || 0%{?fedora}
2141b4
BuildRequires: python3-pyOpenSSL
2141b4
%endif
2141b4
BuildRequires: tcpdump
2141b4
2141b4
%if %{with libcapng}
2141b4
BuildRequires: libcap-ng libcap-ng-devel
2141b4
%endif
2141b4
2141b4
Requires: hostname openssl iproute module-init-tools
2141b4
2141b4
Requires(post): systemd-units
2141b4
Requires(preun): systemd-units
2141b4
Requires(postun): systemd-units
2141b4
2141b4
# to skip running checks, pass --without check
2141b4
%bcond_without check
2141b4
2141b4
%description
2141b4
OVN, the Open Virtual Network, is a system to support virtual network
2141b4
abstraction.  OVN complements the existing capabilities of OVS to add
2141b4
native support for virtual network abstractions, such as virtual L2 and L3
2141b4
overlays and security groups.
2141b4
2141b4
%package central
2141b4
Summary: Open Virtual Network support
2141b4
License: ASL 2.0
2141b4
Requires: %{pkgname}
2141b4
Requires: firewalld-filesystem
2141b4
Provides: openvswitch%{pkgver}-ovn-central = %{?epoch:%{epoch}:}%{version}-%{release}
2141b4
Obsoletes: openvswitch%{pkgver}-ovn-central < 2.11.0-1
2141b4
2141b4
%description central
2141b4
OVN DB servers and ovn-northd running on a central node.
2141b4
2141b4
%package host
2141b4
Summary: Open Virtual Network support
2141b4
License: ASL 2.0
2141b4
Requires: %{pkgname}
2141b4
Requires: firewalld-filesystem
2141b4
Provides: openvswitch%{pkgver}-ovn-host = %{?epoch:%{epoch}:}%{version}-%{release}
2141b4
Obsoletes: openvswitch%{pkgver}-ovn-host < 2.11.0-1
2141b4
2141b4
%description host
2141b4
OVN controller running on each host.
2141b4
2141b4
%package vtep
2141b4
Summary: Open Virtual Network support
2141b4
License: ASL 2.0
2141b4
Requires: %{pkgname}
2141b4
Provides: openvswitch%{pkgver}-ovn-vtep = %{?epoch:%{epoch}:}%{version}-%{release}
2141b4
Obsoletes: openvswitch%{pkgver}-ovn-vtep < 2.11.0-1
2141b4
2141b4
%description vtep
2141b4
OVN vtep controller
2141b4
2141b4
%prep
31b994
%autosetup -n ovn-%{ovncommit} -a 10 -p 1
2141b4
2141b4
%build
2141b4
%if 0%{?commit0:1}
2141b4
# fix the snapshot unreleased version to be the released one.
2141b4
sed -i.old -e "s/^AC_INIT(openvswitch,.*,/AC_INIT(openvswitch, %{version},/" configure.ac
2141b4
%endif
2141b4
./boot.sh
2141b4
2141b4
# OVN source code is now separate.
2141b4
# Build openvswitch first.
2141b4
# XXX Current openvswitch2.13 doesn't
2141b4
# use "2.13.0" for version. It's a commit hash
2141b4
pushd %{ovsdir}
2141b4
./boot.sh
2141b4
%configure \
2141b4
%if %{with libcapng}
2141b4
        --enable-libcapng \
2141b4
%else
2141b4
        --disable-libcapng \
2141b4
%endif
2141b4
        --enable-ssl \
2141b4
        --with-pkidir=%{_sharedstatedir}/openvswitch/pki
2141b4
2141b4
make %{?_smp_mflags}
2141b4
popd
2141b4
2141b4
# Build OVN.
2141b4
# XXX OVS version needs to be updated when ovs2.13 is updated.
2141b4
%configure \
2141b4
        --with-ovs-source=$PWD/%{ovsdir} \
2141b4
%if %{with libcapng}
2141b4
        --enable-libcapng \
2141b4
%else
2141b4
        --disable-libcapng \
2141b4
%endif
2141b4
        --enable-ssl \
2141b4
        --with-pkidir=%{_sharedstatedir}/openvswitch/pki
2141b4
2141b4
make %{?_smp_mflags}
2141b4
2141b4
%install
2141b4
%make_install
2141b4
install -p -D -m 0644 \
2141b4
        rhel/usr_share_ovn_scripts_systemd_sysconfig.template \
2141b4
        $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/ovn
2141b4
2141b4
for service in ovn-controller ovn-controller-vtep ovn-northd; do
2141b4
        install -p -D -m 0644 \
2141b4
                        rhel/usr_lib_systemd_system_${service}.service \
2141b4
                        $RPM_BUILD_ROOT%{_unitdir}/${service}.service
2141b4
done
2141b4
2141b4
install -d -m 0755 $RPM_BUILD_ROOT/%{_sharedstatedir}/ovn
2141b4
2141b4
install -d $RPM_BUILD_ROOT%{ovnlibdir}/firewalld/services/
2141b4
install -p -m 0644 rhel/usr_lib_firewalld_services_ovn-central-firewall-service.xml \
2141b4
        $RPM_BUILD_ROOT%{ovnlibdir}/firewalld/services/ovn-central-firewall-service.xml
2141b4
install -p -m 0644 rhel/usr_lib_firewalld_services_ovn-host-firewall-service.xml \
2141b4
        $RPM_BUILD_ROOT%{ovnlibdir}/firewalld/services/ovn-host-firewall-service.xml
2141b4
2141b4
install -d -m 0755 $RPM_BUILD_ROOT%{ovnlibdir}/ocf/resource.d/ovn
2141b4
ln -s %{_datadir}/ovn/scripts/ovndb-servers.ocf \
2141b4
      $RPM_BUILD_ROOT%{ovnlibdir}/ocf/resource.d/ovn/ovndb-servers
2141b4
2141b4
install -p -D -m 0644 rhel/etc_logrotate.d_ovn \
2141b4
        $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d/ovn
2141b4
2141b4
# remove unneeded files.
2141b4
rm -f $RPM_BUILD_ROOT%{_bindir}/ovs*
2141b4
rm -f $RPM_BUILD_ROOT%{_bindir}/vtep-ctl
2141b4
rm -f $RPM_BUILD_ROOT%{_sbindir}/ovs*
2141b4
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/ovs*
2141b4
rm -f $RPM_BUILD_ROOT%{_mandir}/man5/ovs*
2141b4
rm -f $RPM_BUILD_ROOT%{_mandir}/man5/vtep*
2141b4
rm -f $RPM_BUILD_ROOT%{_mandir}/man7/ovs*
2141b4
rm -f $RPM_BUILD_ROOT%{_mandir}/man8/ovs*
2141b4
rm -f $RPM_BUILD_ROOT%{_mandir}/man8/vtep*
2141b4
rm -rf $RPM_BUILD_ROOT%{_datadir}/ovn/python
2141b4
rm -f $RPM_BUILD_ROOT%{_datadir}/ovn/scripts/ovs*
2141b4
rm -rf $RPM_BUILD_ROOT%{_datadir}/ovn/bugtool-plugins
2141b4
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
2141b4
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
2141b4
rm -f $RPM_BUILD_ROOT%{_libdir}/pkgconfig/*.pc
2141b4
rm -f $RPM_BUILD_ROOT%{_includedir}/ovn/*
2141b4
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/ovs-appctl-bashcomp.bash
2141b4
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/ovs-vsctl-bashcomp.bash
2141b4
rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/openvswitch
2141b4
rm -f $RPM_BUILD_ROOT%{_datadir}/ovn/scripts/ovn-bugtool*
2141b4
rm -f $RPM_BUILD_ROOT/%{_bindir}/ovn-docker-overlay-driver \
2141b4
        $RPM_BUILD_ROOT/%{_bindir}/ovn-docker-underlay-driver
2141b4
2141b4
%check
2141b4
%if %{with check}
2141b4
    touch resolv.conf
2141b4
    export OVS_RESOLV_CONF=$(pwd)/resolv.conf
2141b4
    if ! make check TESTSUITEFLAGS='%{_smp_mflags}'; then
2141b4
        cat tests/testsuite.log
2141b4
        if ! make check TESTSUITEFLAGS='--recheck'; then
2141b4
            cat tests/testsuite.log
2141b4
            # Presently a test case - "2796: ovn -- ovn-controller incremental processing"
2141b4
            # is failing on aarch64 arch. Let's not exit for this arch
2141b4
            # until we figure out why it is failing.
2141b4
            # Test case 93: ovn.at:12105       ovn -- ACLs on Port Groups is failing
2141b4
            # repeatedly on s390x. This needs to be investigated.
2141b4
            %ifnarch aarch64
2141b4
            %ifnarch ppc64le
2141b4
            %ifnarch s390x
2141b4
                exit 1
2141b4
            %endif
2141b4
            %endif
2141b4
            %endif
2141b4
        fi
2141b4
    fi
2141b4
%endif
2141b4
2141b4
%clean
2141b4
rm -rf $RPM_BUILD_ROOT
2141b4
2141b4
%pre central
2141b4
if [ $1 -eq 1 ] ; then
2141b4
    # Package install.
2141b4
    /bin/systemctl status ovn-northd.service >/dev/null
2141b4
    ovn_status=$?
2141b4
    rpm -ql openvswitch-ovn-central > /dev/null
2141b4
    if [[ "$?" = "0" && "$ovn_status" = "0" ]]; then
2141b4
        # ovn-northd service is running which means old openvswitch-ovn-central
2141b4
        # is already installed and it will be cleaned up. So start ovn-northd
2141b4
        # service when posttrans central is called.
2141b4
        touch %{_localstatedir}/lib/rpm-state/ovn-northd
2141b4
    fi
2141b4
fi
2141b4
2141b4
%pre host
2141b4
if [ $1 -eq 1 ] ; then
2141b4
    # Package install.
2141b4
    /bin/systemctl status ovn-controller.service >/dev/null
2141b4
    ovn_status=$?
2141b4
    rpm -ql openvswitch-ovn-host > /dev/null
2141b4
    if [[ "$?" = "0" && "$ovn_status" = "0" ]]; then
2141b4
        # ovn-controller service is running which means old
2141b4
        # openvswitch-ovn-host is installed and it will be cleaned up. So
2141b4
        # start ovn-controller service when posttrans host is called.
2141b4
        touch %{_localstatedir}/lib/rpm-state/ovn-controller
2141b4
    fi
2141b4
fi
2141b4
2141b4
%pre vtep
2141b4
if [ $1 -eq 1 ] ; then
2141b4
    # Package install.
2141b4
    /bin/systemctl status ovn-controller-vtep.service >/dev/null
2141b4
    ovn_status=$?
2141b4
    rpm -ql openvswitch-ovn-vtep > /dev/null
2141b4
    if [[ "$?" = "0" && "$ovn_status" = "0" ]]; then
2141b4
        # ovn-controller-vtep service is running which means old
2141b4
        # openvswitch-ovn-vtep is installed and it will be cleaned up. So
2141b4
        # start ovn-controller-vtep service when posttrans host is called.
2141b4
        touch %{_localstatedir}/lib/rpm-state/ovn-controller-vtep
2141b4
    fi
2141b4
fi
2141b4
2141b4
%preun central
2141b4
%if 0%{?systemd_preun:1}
2141b4
    %systemd_preun ovn-northd.service
2141b4
%else
2141b4
    if [ $1 -eq 0 ] ; then
2141b4
        # Package removal, not upgrade
2141b4
        /bin/systemctl --no-reload disable ovn-northd.service >/dev/null 2>&1 || :
2141b4
        /bin/systemctl stop ovn-northd.service >/dev/null 2>&1 || :
2141b4
    fi
2141b4
%endif
2141b4
2141b4
%preun host
2141b4
%if 0%{?systemd_preun:1}
2141b4
    %systemd_preun ovn-controller.service
2141b4
%else
2141b4
    if [ $1 -eq 0 ] ; then
2141b4
        # Package removal, not upgrade
2141b4
        /bin/systemctl --no-reload disable ovn-controller.service >/dev/null 2>&1 || :
2141b4
        /bin/systemctl stop ovn-controller.service >/dev/null 2>&1 || :
2141b4
    fi
2141b4
%endif
2141b4
2141b4
%preun vtep
2141b4
%if 0%{?systemd_preun:1}
2141b4
    %systemd_preun ovn-controller-vtep.service
2141b4
%else
2141b4
    if [ $1 -eq 0 ] ; then
2141b4
        # Package removal, not upgrade
2141b4
        /bin/systemctl --no-reload disable ovn-controller-vtep.service >/dev/null 2>&1 || :
2141b4
        /bin/systemctl stop ovn-controller-vtep.service >/dev/null 2>&1 || :
2141b4
    fi
2141b4
%endif
2141b4
2141b4
%post
2141b4
%if %{with libcapng}
2141b4
if [ $1 -eq 1 ]; then
2141b4
    sed -i 's:^#OVN_USER_ID=:OVN_USER_ID=:' %{_sysconfdir}/sysconfig/ovn
2141b4
    sed -i 's:\(.*su\).*:\1 openvswitch openvswitch:' %{_sysconfdir}/logrotate.d/ovn
2141b4
fi
2141b4
%endif
2141b4
2141b4
%post central
2141b4
%if 0%{?systemd_post:1}
2141b4
    %systemd_post ovn-northd.service
2141b4
%else
2141b4
    # Package install, not upgrade
2141b4
    if [ $1 -eq 1 ]; then
2141b4
        /bin/systemctl daemon-reload >dev/null || :
2141b4
    fi
2141b4
%endif
2141b4
2141b4
%post host
2141b4
%if 0%{?systemd_post:1}
2141b4
    %systemd_post ovn-controller.service
2141b4
%else
2141b4
    # Package install, not upgrade
2141b4
    if [ $1 -eq 1 ]; then
2141b4
        /bin/systemctl daemon-reload >dev/null || :
2141b4
    fi
2141b4
%endif
2141b4
2141b4
%post vtep
2141b4
%if 0%{?systemd_post:1}
2141b4
    %systemd_post ovn-controller-vtep.service
2141b4
%else
2141b4
    # Package install, not upgrade
2141b4
    if [ $1 -eq 1 ]; then
2141b4
        /bin/systemctl daemon-reload >dev/null || :
2141b4
    fi
2141b4
%endif
2141b4
2141b4
%postun
2141b4
2141b4
%postun central
2141b4
%if 0%{?systemd_postun_with_restart:1}
2141b4
    %systemd_postun_with_restart ovn-northd.service
2141b4
%else
2141b4
    /bin/systemctl daemon-reload >/dev/null 2>&1 || :
2141b4
    if [ "$1" -ge "1" ] ; then
2141b4
    # Package upgrade, not uninstall
2141b4
        /bin/systemctl try-restart ovn-northd.service >/dev/null 2>&1 || :
2141b4
    fi
2141b4
%endif
2141b4
2141b4
%postun host
2141b4
%if 0%{?systemd_postun_with_restart:1}
2141b4
    %systemd_postun_with_restart ovn-controller.service
2141b4
%else
2141b4
    /bin/systemctl daemon-reload >/dev/null 2>&1 || :
2141b4
    if [ "$1" -ge "1" ] ; then
2141b4
        # Package upgrade, not uninstall
2141b4
        /bin/systemctl try-restart ovn-controller.service >/dev/null 2>&1 || :
2141b4
    fi
2141b4
%endif
2141b4
2141b4
%postun vtep
2141b4
%if 0%{?systemd_postun_with_restart:1}
2141b4
    %systemd_postun_with_restart ovn-controller-vtep.service
2141b4
%else
2141b4
    /bin/systemctl daemon-reload >/dev/null 2>&1 || :
2141b4
    if [ "$1" -ge "1" ] ; then
2141b4
        # Package upgrade, not uninstall
2141b4
        /bin/systemctl try-restart ovn-controller-vtep.service >/dev/null 2>&1 || :
2141b4
    fi
2141b4
%endif
2141b4
2141b4
%posttrans central
2141b4
if [ $1 -eq 1 ]; then
2141b4
    # Package install, not upgrade
2141b4
    if [ -e %{_localstatedir}/lib/rpm-state/ovn-northd ]; then
2141b4
        rm %{_localstatedir}/lib/rpm-state/ovn-northd
2141b4
        /bin/systemctl start ovn-northd.service >/dev/null 2>&1 || :
2141b4
    fi
2141b4
fi
2141b4
2141b4
2141b4
%posttrans host
2141b4
if [ $1 -eq 1 ]; then
2141b4
    # Package install, not upgrade
2141b4
    if [ -e %{_localstatedir}/lib/rpm-state/ovn-controller ]; then
2141b4
        rm %{_localstatedir}/lib/rpm-state/ovn-controller
2141b4
        /bin/systemctl start ovn-controller.service >/dev/null 2>&1 || :
2141b4
    fi
2141b4
fi
2141b4
2141b4
%posttrans vtep
2141b4
if [ $1 -eq 1 ]; then
2141b4
    # Package install, not upgrade
2141b4
    if [ -e %{_localstatedir}/lib/rpm-state/ovn-controller-vtep ]; then
2141b4
        rm %{_localstatedir}/lib/rpm-state/ovn-controller-vtep
2141b4
        /bin/systemctl start ovn-controller-vtep.service >/dev/null 2>&1 || :
2141b4
    fi
2141b4
fi
2141b4
2141b4
%files
2141b4
%{_bindir}/ovn-nbctl
2141b4
%{_bindir}/ovn-sbctl
2141b4
%{_bindir}/ovn-trace
2141b4
%{_bindir}/ovn-detrace
2141b4
%{_bindir}/ovn_detrace.py
2141b4
%{_bindir}/ovn-appctl
2141b4
%{_bindir}/ovn-ic-nbctl
2141b4
%{_bindir}/ovn-ic-sbctl
2141b4
%dir %{_datadir}/ovn/
2141b4
%dir %{_datadir}/ovn/scripts/
2141b4
%{_datadir}/ovn/scripts/ovn-ctl
2141b4
%{_datadir}/ovn/scripts/ovn-lib
2141b4
%{_datadir}/ovn/scripts/ovndb-servers.ocf
2141b4
%{_mandir}/man8/ovn-ctl.8*
2141b4
%{_mandir}/man8/ovn-appctl.8*
2141b4
%{_mandir}/man8/ovn-nbctl.8*
2141b4
%{_mandir}/man8/ovn-ic-nbctl.8*
2141b4
%{_mandir}/man8/ovn-trace.8*
2141b4
%{_mandir}/man1/ovn-detrace.1*
2141b4
%{_mandir}/man7/ovn-architecture.7*
2141b4
%{_mandir}/man8/ovn-sbctl.8*
2141b4
%{_mandir}/man8/ovn-ic-sbctl.8*
2141b4
%{_mandir}/man5/ovn-nb.5*
2141b4
%{_mandir}/man5/ovn-ic-nb.5*
2141b4
%{_mandir}/man5/ovn-sb.5*
2141b4
%{_mandir}/man5/ovn-ic-sb.5*
2141b4
%dir %{ovnlibdir}/ocf/resource.d/ovn/
2141b4
%{ovnlibdir}/ocf/resource.d/ovn/ovndb-servers
2141b4
%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/logrotate.d/ovn
2141b4
%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/sysconfig/ovn
2141b4
2141b4
%files central
2141b4
%{_bindir}/ovn-northd
2141b4
%{_bindir}/ovn-ic
2141b4
%{_mandir}/man8/ovn-northd.8*
2141b4
%{_mandir}/man8/ovn-ic.8*
2141b4
%{_datadir}/ovn/ovn-nb.ovsschema
2141b4
%{_datadir}/ovn/ovn-ic-nb.ovsschema
2141b4
%{_datadir}/ovn/ovn-sb.ovsschema
2141b4
%{_datadir}/ovn/ovn-ic-sb.ovsschema
2141b4
%{_unitdir}/ovn-northd.service
2141b4
%{ovnlibdir}/firewalld/services/ovn-central-firewall-service.xml
2141b4
2141b4
%files host
2141b4
%{_bindir}/ovn-controller
2141b4
%{_mandir}/man8/ovn-controller.8*
2141b4
%{_unitdir}/ovn-controller.service
2141b4
%{ovnlibdir}/firewalld/services/ovn-host-firewall-service.xml
2141b4
2141b4
%files vtep
2141b4
%{_bindir}/ovn-controller-vtep
2141b4
%{_mandir}/man8/ovn-controller-vtep.8*
2141b4
%{_unitdir}/ovn-controller-vtep.service
2141b4
2141b4
%changelog
31b994
* Thu Sep 14 2023 Lorenzo Bianconi <lorenzo.bianconi@redhat.com> - 23.06.1-11
31b994
- northd: check if parent_name is set for tag_request 0
31b994
[Upstream: c869db90e2b18515caad8ad95555d989d3379e3f]
eaa8cd
31b994
* Thu Sep 14 2023 Ales Musil <amusil@redhat.com> - 23.06.1-10
31b994
- ofctrl: Prevent conjunction duplication (#2175928)
31b994
[Upstream: 4281178a8882d0194ce8edf35018227ab20fa80e]
eaa8cd
31b994
* Thu Sep 14 2023 Ales Musil <amusil@redhat.com> - 23.06.1-9
31b994
- ofctrl: Do not try to program long flows (#1955167)
31b994
[Upstream: f18bbbbc1ec0110cde8146ea4e2b34b1ec488ba7]
eaa8cd
31b994
* Mon Sep 11 2023 Dumitru Ceara <dceara@redhat.com> - 23.06.1-8
31b994
- northd: Always ct commit ECMP symmetric traffic in the original direction.
31b994
[Upstream: 6de90ba4c43e1798a63167fd7f790126cf240e9c]
eaa8cd
31b994
* Wed Sep 06 2023 Ihar Hrachyshka <ihrachys@redhat.com> - 23.06.1-7
31b994
- Use correct nw_ttl=255 to match against legit NAs
31b994
[Upstream: 059d1337af1be97b8f89fcf65e2ba6c9ae217d76]
f94e6b
31b994
* Wed Sep 06 2023 Dumitru Ceara <dceara@redhat.com> - 23.06.1-6
31b994
- checkpatch: Ignore yml files when checking line lengths.
31b994
[Upstream: 18b9ca0630c537b142d6ac849a6a2092d4f5bc0f]
f94e6b
31b994
* Wed Aug 30 2023 Ales Musil <amusil@redhat.com> - 23.06.1-5
31b994
- northd: Make sure that skip_snat=true is evaluated before force_snat (#2224260)
31b994
[Upstream: 04cf3fd8c2de752ac6ca538f6570547a69dcaac3]
f94e6b
31b994
* Tue Aug 29 2023 Mark Michelson <mmichels@redhat.com> - 23.06.1-4
31b994
- Prepare for 23.06.2.
31b994
[Upstream: c215b5237d46e7aa3b7e095f1e955db5b646e4eb]
2141b4