bbaaef
# Spec file for Open Virtual Network (OVN).
bbaaef
bbaaef
# Copyright (C) 2018 Red Hat, Inc.
bbaaef
#
bbaaef
# Copying and distribution of this file, with or without modification,
bbaaef
# are permitted in any medium without royalty provided the copyright
bbaaef
# notice and this notice are preserved.  This file is offered as-is,
bbaaef
# without warranty of any kind.
bbaaef
#
bbaaef
# If tests have to be skipped while building, specify the '--without check'
bbaaef
# option. For example:
bbaaef
#     rpmbuild -bb --without check rhel/ovn-fedora.spec
bbaaef
#
bbaaef
bbaaef
# This defines the base package name's version.
bbaaef
%define pkgver 2.11
bbaaef
%define pkgname ovn%{pkgver}
bbaaef
bbaaef
#%%global commit0 f11b99776c46831184ac30065c6cdf911061bb5a
bbaaef
#%%global date 20190223
bbaaef
#%%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
bbaaef
bbaaef
# If libcap-ng isn't available and there is no need for running OVS
bbaaef
# as regular user, specify the '--without libcapng'
bbaaef
%bcond_without libcapng
bbaaef
bbaaef
# option to build ovn-docker package
bbaaef
%bcond_with ovn_docker
bbaaef
bbaaef
# Enable PIE, bz#955181
bbaaef
%global _hardened_build 1
bbaaef
bbaaef
# some distros (e.g: RHEL-7) don't define _rundir macro yet
bbaaef
# Fedora 15 onwards uses /run as _rundir
bbaaef
%if 0%{!?_rundir:1}
bbaaef
%define _rundir /run
bbaaef
%endif
bbaaef
bbaaef
# Build python2 (that provides python) and python3 subpackages on Fedora
bbaaef
# Build only python3 (that provides python) subpackage on RHEL8
bbaaef
# Build only python subpackage on RHEL7
bbaaef
%if 0%{?rhel} > 7 || 0%{?fedora}
bbaaef
# Use Python3
bbaaef
%global _py python3
bbaaef
%global _py2 python2
bbaaef
%global with_python3 1
bbaaef
%if 0%{?fedora}
bbaaef
%global with_python2 1
bbaaef
%else
bbaaef
%global with_python2 0
bbaaef
%endif
bbaaef
# On RHEL8 Sphinx is included in buildroot
bbaaef
%global external_sphinx 1
bbaaef
%else
bbaaef
# Use Python2
bbaaef
%global _py python
bbaaef
%global _py2 python
bbaaef
%global with_python2 1
bbaaef
%global with_python3 0
bbaaef
# Don't use external sphinx (RHV doesn't have optional repositories enabled)
bbaaef
%global external_sphinx 0
bbaaef
%endif
bbaaef
bbaaef
Name: %{pkgname}
bbaaef
Summary: Open Virtual Network support
bbaaef
Group: System Environment/Daemons
bbaaef
URL: http://www.openvswitch.org/
bbaaef
Version: %{pkgver}.1
bbaaef
Release: 53%{?commit0:.%{date}git%{shortcommit0}}%{?dist}
bbaaef
Provides: openvswitch%{pkgver}-ovn-common = %{?epoch:%{epoch}:}%{version}-%{release}
bbaaef
Obsoletes: openvswitch%{pkgver}-ovn-common < 2.11.0-1
bbaaef
bbaaef
# Nearly all of openvswitch is ASL 2.0.  The bugtool is LGPLv2+, and the
bbaaef
# lib/sflow*.[ch] files are SISSL
bbaaef
License: ASL 2.0 and LGPLv2+ and SISSL
bbaaef
bbaaef
%if 0%{?commit0:1}
bbaaef
Source: https://github.com/openvswitch/ovs/archive/%{commit0}.tar.gz#/openvswitch-%{shortcommit0}.tar.gz
bbaaef
%else
bbaaef
Source: https://www.openvswitch.org/releases/openvswitch-%{version}.tar.gz
bbaaef
%endif
bbaaef
bbaaef
%define docutilsver 0.12
bbaaef
%define pygmentsver 1.4
bbaaef
%define sphinxver   1.1.3
bbaaef
Source100: https://pypi.io/packages/source/d/docutils/docutils-%{docutilsver}.tar.gz
bbaaef
Source101: https://pypi.io/packages/source/P/Pygments/Pygments-%{pygmentsver}.tar.gz
bbaaef
Source102: https://pypi.io/packages/source/S/Sphinx/Sphinx-%{sphinxver}.tar.gz
bbaaef
bbaaef
Source500: configlib.sh
bbaaef
Source501: gen_config_group.sh
bbaaef
Source502: set_config.sh
bbaaef
bbaaef
# Important: source503 is used as the actual copy file
bbaaef
# @TODO: this causes a warning - fix it?
bbaaef
Source504: arm64-armv8a-linuxapp-gcc-config
bbaaef
Source505: ppc_64-power8-linuxapp-gcc-config
bbaaef
Source506: x86_64-native-linuxapp-gcc-config
bbaaef
bbaaef
# ovn-patches
bbaaef
bbaaef
# OVN (including OVS if required) backports (0 - 399)
bbaaef
# Bug 1741057
bbaaef
Patch2: 0001-Make-pidfile_is_running-more-robust-against-empty-pi.patch
bbaaef
bbaaef
# Bug 1749739
bbaaef
Patch10: 0001-Handle-GARP-reply-packets-from-provider-networks-onl.patch
bbaaef
bbaaef
# Bug 1751942
bbaaef
Patch20: 0001-ovn-Exclude-inport-and-outport-symbol-tables-from-co.patch
bbaaef
bbaaef
# Bug 1743577
bbaaef
Patch30: 0001-northd-introduce-build_empty_lb_event_flow-routine.patch
bbaaef
Patch31: 0002-add-meter-support-to-trigger_event-action.patch
bbaaef
Patch32: 0003-northd-add-rate-limiting-support-for-SB-controller-e.patch
bbaaef
Patch33: 0004-northd-add-empty_lb-controller_event-for-logical-rou.patch
bbaaef
bbaaef
# Bug 1756466
bbaaef
Patch40: 0001-Disable-conjunction-by-force-cross-product-for-all-t.patch
bbaaef
bbaaef
# Bug 1580542
bbaaef
Patch50: 0001-Add-egress-QoS-mapping-for-non-tunnel-interfaces.patch
bbaaef
Patch51: 0002-northd-add-the-possibility-to-define-localnet-as-qos.patch
bbaaef
Patch52: 0003-northd-introduce-logical-flow-for-localnet-egress-sh.patch
bbaaef
bbaaef
# Bug 1729846, 1757714 & 1757715
bbaaef
Patch60: 0001-ovn-northd-Use-HMAP_FOR_EACH-when-adding-multicast-l.patch
bbaaef
Patch61: 0002-ovn-northd-Add-IGMP-Relay-support.patch
bbaaef
Patch62: 0003-Learn-the-mac-binding-only-if-required.patch
bbaaef
Patch63: 0004-ovn-northd-Add-static-IP-multicast-flood-configurati.patch
bbaaef
Patch64: 0001-ovn-northd-Fix-IP-multicast-flooding-to-mrouter.patch
bbaaef
bbaaef
# Bug 1699332
bbaaef
Patch70: 0001-Add-RDNSS-support-to-OVN.patch
bbaaef
bbaaef
# Bug 1764718
bbaaef
Patch80: 0001-Add-DNSSL-support-to-OVN.patch
bbaaef
bbaaef
# Bug 1764032
bbaaef
Patch90: 0001-Revert-conjunctive-match-removal-patches.patch
bbaaef
Patch91: 0002-Combine-conjunctions-with-identical-matches-into-one.patch
bbaaef
Patch92: 0001-Partially-revert-Exclude-inport-and-outport-symbol-t.patch
bbaaef
bbaaef
# Bug 1768347
bbaaef
Patch100: 0001-northd-Fix-table-ID-for-IPv6-router-ingress.patch
bbaaef
Patch101: 0002-actions-Add-IPv6-support-to-lflow-NAT-actions.patch
bbaaef
Patch102: 0003-ovn-nbctl-Allow-IPv6-NAT-rules-to-be-added.patch
bbaaef
Patch103: 0004-northd-Add-lflows-for-IPv6-NAT.patch
bbaaef
Patch104: 0005-system-ovn-Add-IPv6-NAT-test-cases.patch
bbaaef
Patch105: 0006-controller-Downgrade-a-warning-log-message.patch
bbaaef
bbaaef
#Bug 1762341
bbaaef
Patch110: 0001-Fix-virtual-port-binding-when-the-parents-are-schedu.patch
bbaaef
bbaaef
#Bug 1769043
bbaaef
Patch120: 0001-Prevent-erroneous-duplicate-IP-address-messages.patch
bbaaef
bbaaef
# Bug 1770953
bbaaef
Patch130: 0001-lflow.c-Fix-memory-leak-of-lflow_ref_list_node-ref_n.patch
bbaaef
bbaaef
# Bug 1769709
bbaaef
Patch140: 0001-ovn-northd-Validate-dnat_and_snat-external_mac-logic.patch
bbaaef
bbaaef
# Bug 1762777
bbaaef
Patch150: 0001-Fix-ha-chassis-failover-issues-for-stale-ha-chassis-.patch
bbaaef
bbaaef
# Bug 1773605
bbaaef
Patch160: 0001-northd-Match-IPv4-or-IPv6-for-MAC-resolution.patch
bbaaef
Patch161: 0002-Skip-IPv6-NS-packets-in-router-egress-SNAT-pipeline.patch
bbaaef
Patch162: 0001-Fix-testsuite-85-ensure-one-gw-controller-restart-in.patch
bbaaef
bbaaef
# Bug 1756945
bbaaef
Patch170: 0001-ovn-northd-Fix-get_router_load_balancer_ips-for-mixe.patch
bbaaef
Patch171: 0002-ovn-northd-Limit-ARP-ND-broadcast-domain-whenever-po.patch
bbaaef
Patch172: 0003-ovn-northd-Avoid-empty-address-list-when-limiting-AR.patch
bbaaef
bbaaef
# Bug 1779112
bbaaef
# Bug 1778164
bbaaef
# Bug 1779124
bbaaef
Patch180: 0001-ovn-controller-Consider-non-virtual-ports-first-when.patch
bbaaef
Patch181: 0001-ovn-controller-Add-missing-port-group-lflow-referenc.patch
bbaaef
Patch182: 0001-ovn-controller-Add-command-to-trigger-an-I-P-full-re.patch
bbaaef
bbaaef
# Bug 1779212
bbaaef
Patch190: 0001-Add-support-to-Default-Router-Preference-PRF-RFC-419.patch
bbaaef
Patch191: 0002-Add-support-for-Route-Info-Option-in-RA-RFC-4191.patch
bbaaef
bbaaef
# Bug 1703162
bbaaef
Patch200: 0001-OVN-Do-not-replace-router-port-mac-on-gateway-chassi.patch
bbaaef
Patch201: 0002-OVN-Vlan-backed-DVR-N-S-redirect-type-option.patch
bbaaef
Patch202: 0003-OVN-Vlan-backed-DVR-N-S-avoid-get_arp-on-non-redirec.patch
bbaaef
Patch203: 0004-OVN-Vlan-backed-DVR-N-S-redirect-packet-via-localnet.patch
bbaaef
Patch204: 0005-Replace-chassis-mac-with-router-port-mac-on-destinat.patch
bbaaef
Patch205: 0006-OVN-ADD-nbctl-cli-to-mark-a-dnat_and_snat-rule-as-st.patch
bbaaef
Patch206: 0007-OVN-Use-ip4.src-and-ip4.dst-actions-for-NAT-rules.patch
bbaaef
Patch207: 0008-Fix-the-segfault-seen-in-ovn-controller-when-running.patch
bbaaef
Patch208: 0009-ovn-northd-Add-support-for-Load-Balancer-health-chec.patch
bbaaef
Patch209: 0010-Add-a-new-action-handle_svc_check.patch
bbaaef
Patch210: 0011-Send-service-monitor-health-checks.patch
bbaaef
Patch211: 0012-northd-Remove-misleading-warning-log-message.patch
bbaaef
bbaaef
# Bug 1787319
bbaaef
Patch215: 0001-ovn-controller-Refactor-I-P-engine_run-tracking.patch
bbaaef
Patch216: 0002-ovn-controller-Add-per-node-states-to-I-P-engine.patch
bbaaef
Patch217: 0003-ovn-controller-Add-separate-I-P-engine-node-for-proc.patch
bbaaef
Patch218: 0004-ovn-controller-Fix-use-of-dangling-pointers-in-I-P-r.patch
bbaaef
bbaaef
# Bug 1787361
bbaaef
Patch220: 0001-ovn-controller-Run-I-P-engine-even-when-no-SB-txn-is.patch
bbaaef
bbaaef
# Bug 1787000
bbaaef
Patch230: 0001-pinctrl.c-Fix-maybe-uninitialized-warnings-with-old-.patch
bbaaef
Patch231: 0002-DNSSL-copy-dnssl-string-in-order-to-avoid-truncated-.patch
bbaaef
Patch232: 0003-RA-Route-Info-Option-copy-route-info-string-in-order.patch
bbaaef
bbaaef
# Bug 1788456
bbaaef
Patch240: 0001-ovn-controller-Don-t-monitor-connection-table-column.patch
bbaaef
Patch241: 0002-Restrict-ARP-IPv6-ND-replies-for-LB-VIP-only-on-chas.patch
bbaaef
bbaaef
# Bug 1791388
bbaaef
Patch250: 0001-RHEL-only-Add-compatibility-with-openvswitch2.11-2.1.patch
bbaaef
bbaaef
# Bug 1781223
bbaaef
Patch260: 0001-nbctl-Log-the-source-of-duplicate-IP-addresses.patch
bbaaef
Patch261: 0002-northd-Log-all-dynamic-address-assignments.patch
bbaaef
Patch262: 0003-northd-Load-config-before-processing-nbdb-contents.patch
bbaaef
Patch263: 0004-tests-Updated-expected-log-message.patch
bbaaef
bbaaef
# Bug 1703162
bbaaef
Patch270: 0001-ovn-northd-Fix-Pre-LB-logical-flows-with-IPv4-and-IP.patch
bbaaef
Patch271: 0002-ovn-northd-Consider-load-balancer-active-backends-in.patch
bbaaef
bbaaef
# Bug 1795697
bbaaef
Patch280: 0001-ovn-northd-Address-scale-issues-with-DNAT-flows.patch
bbaaef
bbaaef
# Bug 1797873
bbaaef
Patch290: 0001-controller-grant-cap_net_admin-to-ovn-controller.patch
bbaaef
bbaaef
# Bug 1788193
bbaaef
Patch300: 0001-pinctrl-fix-IP-buffering-with-connection-tracking.patch
bbaaef
Patch301: 0002-Manage-ARP-process-locally-in-a-DVR-scenario.patch
bbaaef
bbaaef
# Bug 1811119
bbaaef
Patch310: 0001-Broadcast-DHCPREPLY-when-BROADCAST-flag-is-set.patch
bbaaef
bbaaef
# Bug 1813050
bbaaef
Patch320: 0001-ovn-northd-Add-lflows-to-by-pass-the-svc-monitor-pac.patch
bbaaef
bbaaef
# Bug 1805709
bbaaef
Patch330: 0001-ovn-northd-Don-t-add-arp-responder-flows-for-lports-.patch
bbaaef
bbaaef
# Bug 1816620
bbaaef
Patch340: 0001-ovn-northd-Forward-ARP-requests-on-localnet-ports.patch
bbaaef
Patch341: 0002-ovn.at-Fix-ARP-test-that-fails-due-to-timing.patch
bbaaef
bbaaef
# Bug 1815316
bbaaef
Patch350: 0001-controller-use-LLA-IPv6-address-as-NS-source-address.patch
bbaaef
bbaaef
# Bug 1818844
bbaaef
Patch360: 0001-ovn-controller-Fix-potential-segfault-with-virtual-p.patch
bbaaef
Patch361: 0001-ovn-controller-Skip-vport-bindings-done-through-OVS-.patch
bbaaef
bbaaef
# Bug 1803005
bbaaef
Patch370: 0001-ovn-ctl-Provide-the-option-to-configure-inactive-pro.patch
bbaaef
bbaaef
# Bug 1814127
bbaaef
Patch380: 0001-ovn-northd-Fix-IP-local-multicast-flooding.patch
bbaaef
bbaaef
# Bug 1825483
bbaaef
Patch390: 0001-pinctrl-Handle-service-monitors-even-if-the-lport-do.patch
bbaaef
bbaaef
# Bug 1827526
bbaaef
Patch400: 0001-northd-Allow-64-after-ipv6_prefix.patch
bbaaef
bbaaef
# Bug 1835750
bbaaef
Patch410: 0001-Make-is_switch-in-lflow.c-a-util-function.patch
bbaaef
Patch411: 0002-ovn-controller-Minimize-SB-DB-port_binding-lookups.patch
bbaaef
Patch412: 0003-ovn-controller.c-Fix-memory-leak-of-local_datapath-p.patch
bbaaef
Patch413: 0004-ovn-controller-Remove-ports-from-struct-local_datapa.patch
bbaaef
bbaaef
# Bug 1834433
bbaaef
Patch420: 0001-ovn-northd-Remove-useless-flow-for-GW_REDIRECT.patch
bbaaef
Patch421: 0002-Revert-Manage-ARP-process-locally-in-a-DVR-scenario.patch
bbaaef
Patch422: 0003-controller-fix-ip-buffering-with-static-routes.patch
bbaaef
Patch423: 0004-northd-manage-ARP-request-locally-for-FIP-traffic.patch
bbaaef
bbaaef
# Bug 1848401
bbaaef
Patch430: 0001-ovsdb-idl-Try-committing-the-pending-txn-in-ovsdb_id.patch
bbaaef
Patch431: 0002-northd-By-pass-IPv6-Router-Adv-and-Router-Solicitati.patch
bbaaef
bbaaef
# Bug 1801734
bbaaef
Patch440: 0001-pinctrl-Support-DHCPRELEASE-and-DHCPINFORM-in-native.patch
bbaaef
bbaaef
# Bug 1804595
bbaaef
patch450: 0001-Honour-router_preference-for-solicited-RA.patch
bbaaef
bbaaef
# Bug 1848818
bbaaef
Patch460: 0001-Rely-on-unique-name-for-ovn-qos-meters.patch
bbaaef
bbaaef
# Bug 1846849
bbaaef
Patch470: 0001-DNS-Make-DNS-lookups-case-insensitive.patch
bbaaef
bbaaef
# Bug 1825701
bbaaef
Patch480: 0001-northd-Fix-IPAM-IPv4-start-address-calculation.patch
bbaaef
bbaaef
# FIXME Sphinx is used to generate some manpages, unfortunately, on RHEL, it's
bbaaef
# in the -optional repository and so we can't require it directly since RHV
bbaaef
# doesn't have the -optional repository enabled and so TPS fails
bbaaef
%if %{external_sphinx}
bbaaef
BuildRequires: %{_py}-sphinx
bbaaef
%else
bbaaef
# Sphinx dependencies
bbaaef
BuildRequires: %{_py}-devel
bbaaef
BuildRequires: %{_py}-setuptools
bbaaef
#BuildRequires: %{_py}-docutils
bbaaef
BuildRequires: %{_py}-jinja2
bbaaef
BuildRequires: %{_py}-nose
bbaaef
#BuildRequires: %{_py}-pygments
bbaaef
# docutils dependencies
bbaaef
BuildRequires: %{_py}-imaging
bbaaef
# pygments dependencies
bbaaef
BuildRequires: %{_py}-nose
bbaaef
%endif
bbaaef
bbaaef
BuildRequires: gcc gcc-c++ make
bbaaef
BuildRequires: autoconf automake libtool
bbaaef
BuildRequires: systemd-units openssl openssl-devel
bbaaef
%if %{with_python3}
bbaaef
BuildRequires: python3-devel python3-six python3-setuptools
bbaaef
%endif
bbaaef
%if %{with_python2}
bbaaef
BuildRequires: %{_py2}-devel %{_py2}-six %{_py2}-setuptools
bbaaef
%endif
bbaaef
BuildRequires: desktop-file-utils
bbaaef
BuildRequires: groff-base graphviz
bbaaef
BuildRequires: unbound-devel
bbaaef
bbaaef
# make check dependencies
bbaaef
BuildRequires: procps-ng
bbaaef
%if %{with_python2}
bbaaef
BuildRequires: pyOpenSSL
bbaaef
%else
bbaaef
BuildRequires: python3-pyOpenSSL
bbaaef
%endif
bbaaef
bbaaef
%if %{with libcapng}
bbaaef
BuildRequires: libcap-ng libcap-ng-devel
bbaaef
%endif
bbaaef
bbaaef
Requires: hostname openssl iproute module-init-tools
bbaaef
bbaaef
Requires(post): systemd-units
bbaaef
Requires(preun): systemd-units
bbaaef
Requires(postun): systemd-units
bbaaef
bbaaef
# to skip running checks, pass --without check
bbaaef
%bcond_without check
bbaaef
bbaaef
%description
bbaaef
OVN, the Open Virtual Network, is a system to support virtual network
bbaaef
abstraction.  OVN complements the existing capabilities of OVS to add
bbaaef
native support for virtual network abstractions, such as virtual L2 and L3
bbaaef
overlays and security groups.
bbaaef
bbaaef
%package central
bbaaef
Summary: Open Virtual Network support
bbaaef
License: ASL 2.0
bbaaef
Requires: %{pkgname}
bbaaef
Requires: firewalld-filesystem
bbaaef
Provides: openvswitch%{pkgver}-ovn-central = %{?epoch:%{epoch}:}%{version}-%{release}
bbaaef
Obsoletes: openvswitch%{pkgver}-ovn-central < 2.11.0-1
bbaaef
bbaaef
%description central
bbaaef
OVN DB servers and ovn-northd running on a central node.
bbaaef
bbaaef
%package host
bbaaef
Summary: Open Virtual Network support
bbaaef
License: ASL 2.0
bbaaef
Requires: %{pkgname}
bbaaef
Requires: firewalld-filesystem
bbaaef
Provides: openvswitch%{pkgver}-ovn-host = %{?epoch:%{epoch}:}%{version}-%{release}
bbaaef
Obsoletes: openvswitch%{pkgver}-ovn-host < 2.11.0-1
bbaaef
bbaaef
%description host
bbaaef
OVN controller running on each host.
bbaaef
bbaaef
%package vtep
bbaaef
Summary: Open Virtual Network support
bbaaef
License: ASL 2.0
bbaaef
Requires: %{pkgname}
bbaaef
Provides: openvswitch%{pkgver}-ovn-vtep = %{?epoch:%{epoch}:}%{version}-%{release}
bbaaef
Obsoletes: openvswitch%{pkgver}-ovn-vtep < 2.11.0-1
bbaaef
bbaaef
%description vtep
bbaaef
OVN vtep controller
bbaaef
bbaaef
%if %{with ovn_docker}
bbaaef
%package docker
bbaaef
Summary: Open Virtual Network support
bbaaef
License: ASL 2.0
bbaaef
Requires: %{pkgname} %{_py2}-openvswitch
bbaaef
Provides: openvswitch%{pkgver}-ovn-docker = %{?epoch:%{epoch}:}%{version}-%{release}
bbaaef
Obsoletes: openvswitch%{pkgver}-ovn-docker < 2.11.0-1
bbaaef
bbaaef
%description docker
bbaaef
Docker network plugins for OVN.
bbaaef
%endif
bbaaef
bbaaef
%prep
bbaaef
%autosetup -N -c
bbaaef
%if 0%{?commit0:1}
bbaaef
find ovs-%{commit0}/ -maxdepth 1 -mindepth 1 -exec mv -t . {} +
bbaaef
rmdir ovs-%{commit0}/
bbaaef
%else
bbaaef
find openvswitch-%{version}/ -maxdepth 1 -mindepth 1 -exec mv -t . {} +
bbaaef
rmdir openvswitch-%{version}/
bbaaef
%endif
bbaaef
%autopatch -p 1
bbaaef
%if ! %{external_sphinx}
bbaaef
%setup -q -D -T -a 100 -a 101 -a 102
bbaaef
%endif
bbaaef
bbaaef
%build
bbaaef
# Build Sphinx on RHEL
bbaaef
%if ! %{external_sphinx}
bbaaef
export PYTHONPATH="${PYTHONPATH:+$PYTHONPATH:}%{_builddir}/pytmp/lib/python"
bbaaef
for x in docutils-%{docutilsver} Pygments-%{pygmentsver} Sphinx-%{sphinxver}; do
bbaaef
    pushd "$x"
bbaaef
    %{_py} setup.py install --home %{_builddir}/pytmp
bbaaef
    popd
bbaaef
done
bbaaef
bbaaef
export PATH="$PATH:%{_builddir}/pytmp/bin"
bbaaef
%endif
bbaaef
bbaaef
%if 0%{?commit0:1}
bbaaef
# fix the snapshot unreleased version to be the released one.
bbaaef
sed -i.old -e "s/^AC_INIT(openvswitch,.*,/AC_INIT(openvswitch, %{version},/" configure.ac
bbaaef
%endif
bbaaef
./boot.sh
bbaaef
bbaaef
%configure \
bbaaef
%if %{with libcapng}
bbaaef
        --enable-libcapng \
bbaaef
%else
bbaaef
        --disable-libcapng \
bbaaef
%endif
bbaaef
        --enable-ssl \
bbaaef
        --with-pkidir=%{_sharedstatedir}/openvswitch/pki
bbaaef
make %{?_smp_mflags}
bbaaef
bbaaef
%install
bbaaef
rm -rf $RPM_BUILD_ROOT
bbaaef
make install DESTDIR=$RPM_BUILD_ROOT
bbaaef
bbaaef
for service in ovn-controller ovn-controller-vtep ovn-northd; do
bbaaef
        install -p -D -m 0644 \
bbaaef
                        rhel/usr_lib_systemd_system_${service}.service \
bbaaef
                        $RPM_BUILD_ROOT%{_unitdir}/${service}.service
bbaaef
done
bbaaef
bbaaef
rm -rf $RPM_BUILD_ROOT/%{_datadir}/openvswitch/python/
bbaaef
bbaaef
install -d -m 0755 $RPM_BUILD_ROOT/%{_sharedstatedir}/openvswitch
bbaaef
bbaaef
install -d $RPM_BUILD_ROOT%{_prefix}/lib/firewalld/services/
bbaaef
install -p -m 0644 rhel/usr_lib_firewalld_services_ovn-central-firewall-service.xml \
bbaaef
        $RPM_BUILD_ROOT%{_prefix}/lib/firewalld/services/ovn-central-firewall-service.xml
bbaaef
install -p -m 0644 rhel/usr_lib_firewalld_services_ovn-host-firewall-service.xml \
bbaaef
        $RPM_BUILD_ROOT%{_prefix}/lib/firewalld/services/ovn-host-firewall-service.xml
bbaaef
bbaaef
install -d -m 0755 $RPM_BUILD_ROOT%{_prefix}/lib/ocf/resource.d/ovn
bbaaef
ln -s %{_datadir}/openvswitch/scripts/ovndb-servers.ocf \
bbaaef
      $RPM_BUILD_ROOT%{_prefix}/lib/ocf/resource.d/ovn/ovndb-servers
bbaaef
bbaaef
# remove OVS unpackages files
bbaaef
rm -f $RPM_BUILD_ROOT%{_bindir}/ovs*
bbaaef
rm -f $RPM_BUILD_ROOT%{_bindir}/vtep-ctl
bbaaef
rm -f $RPM_BUILD_ROOT%{_sbindir}/ovs*
bbaaef
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/ovs*
bbaaef
rm -f $RPM_BUILD_ROOT%{_mandir}/man5/ovs*
bbaaef
rm -f $RPM_BUILD_ROOT%{_mandir}/man5/vtep*
bbaaef
rm -f $RPM_BUILD_ROOT%{_mandir}/man7/ovs*
bbaaef
rm -f $RPM_BUILD_ROOT%{_mandir}/man8/ovs*
bbaaef
rm -f $RPM_BUILD_ROOT%{_mandir}/man8/vtep*
bbaaef
rm -f $RPM_BUILD_ROOT%{_datadir}/openvswitch/ovs*
bbaaef
rm -f $RPM_BUILD_ROOT%{_datadir}/openvswitch/vswitch.ovsschema
bbaaef
rm -f $RPM_BUILD_ROOT%{_datadir}/openvswitch/vtep.ovsschema
bbaaef
rm -f $RPM_BUILD_ROOT%{_datadir}/openvswitch/scripts/ovs*
bbaaef
rm -rf $RPM_BUILD_ROOT%{_datadir}/openvswitch/bugtool-plugins
bbaaef
rm -f $RPM_BUILD_ROOT%{_includedir}/openvswitch/*
bbaaef
rm -f $RPM_BUILD_ROOT%{_includedir}/openflow/*
bbaaef
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
bbaaef
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
bbaaef
rm -f $RPM_BUILD_ROOT%{_libdir}/pkgconfig/*.pc
bbaaef
rm -f $RPM_BUILD_ROOT%{_includedir}/openvswitch/*
bbaaef
rm -f $RPM_BUILD_ROOT%{_includedir}/openflow/*
bbaaef
rm -f $RPM_BUILD_ROOT%{_includedir}/ovn/*
bbaaef
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/ovs-appctl-bashcomp.bash
bbaaef
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/ovs-vsctl-bashcomp.bash
bbaaef
rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/openvswitch
bbaaef
bbaaef
%if %{without ovn_docker}
bbaaef
rm -f $RPM_BUILD_ROOT/%{_bindir}/ovn-docker-overlay-driver \
bbaaef
        $RPM_BUILD_ROOT/%{_bindir}/ovn-docker-underlay-driver
bbaaef
%endif
bbaaef
bbaaef
%check
bbaaef
%if %{with check}
bbaaef
    touch resolv.conf
bbaaef
    export OVS_RESOLV_CONF=$(pwd)/resolv.conf
bbaaef
    if make check TESTSUITEFLAGS='%{_smp_mflags} -k ovn' ||
bbaaef
       make check TESTSUITEFLAGS='--recheck -k ovn'; then :;
bbaaef
    else
bbaaef
        cat tests/testsuite.log
bbaaef
        # Presently a test case - "2796: ovn -- ovn-controller incremental processing"
bbaaef
        # is failing on aarch64 arch. Let's not exit for this arch
bbaaef
        # until we figure out why it is failing.
bbaaef
        %ifnarch aarch64
bbaaef
            exit 1
bbaaef
        %endif
bbaaef
    fi
bbaaef
%endif
bbaaef
bbaaef
%clean
bbaaef
rm -rf $RPM_BUILD_ROOT
bbaaef
bbaaef
%pre central
bbaaef
if [ $1 -eq 1 ] ; then
bbaaef
    # Package install.
bbaaef
    /bin/systemctl status ovn-northd.service &>/dev/null
bbaaef
    ovn_status=$?
bbaaef
    rpm -ql openvswitch-ovn-central > /dev/null
bbaaef
    if [[ "$?" = "0" && "$ovn_status" = "0" ]]; then
bbaaef
        # ovn-northd service is running which means old openvswitch-ovn-central
bbaaef
        # is already installed and it will be cleaned up. So start ovn-northd
bbaaef
        # service when posttrans central is called.
bbaaef
        touch %{_localstatedir}/lib/rpm-state/ovn-northd
bbaaef
    fi
bbaaef
fi
bbaaef
bbaaef
%pre host
bbaaef
if [ $1 -eq 1 ] ; then
bbaaef
    # Package install.
bbaaef
    /bin/systemctl status ovn-controller.service &>/dev/null
bbaaef
    ovn_status=$?
bbaaef
    rpm -ql openvswitch-ovn-host > /dev/null
bbaaef
    if [[ "$?" = "0" && "$ovn_status" = "0" ]]; then
bbaaef
        # ovn-controller service is running which means old
bbaaef
        # openvswitch-ovn-host is installed and it will be cleaned up. So
bbaaef
        # start ovn-controller service when posttrans host is called.
bbaaef
        touch %{_localstatedir}/lib/rpm-state/ovn-controller
bbaaef
    fi
bbaaef
fi
bbaaef
bbaaef
%pre vtep
bbaaef
if [ $1 -eq 1 ] ; then
bbaaef
    # Package install.
bbaaef
    /bin/systemctl status ovn-controller-vtep.service >/dev/null
bbaaef
    ovn_status=$?
bbaaef
    rpm -ql openvswitch-ovn-vtep > /dev/null
bbaaef
    if [[ "$?" = "0" && "$ovn_status" = "0" ]]; then
bbaaef
        # ovn-controller-vtep service is running which means old
bbaaef
        # openvswitch-ovn-vtep is installed and it will be cleaned up. So
bbaaef
        # start ovn-controller-vtep service when posttrans host is called.
bbaaef
        touch %{_localstatedir}/lib/rpm-state/ovn-controller-vtep
bbaaef
    fi
bbaaef
fi
bbaaef
bbaaef
%preun central
bbaaef
%if 0%{?systemd_preun:1}
bbaaef
    %systemd_preun ovn-northd.service
bbaaef
%else
bbaaef
    if [ $1 -eq 0 ] ; then
bbaaef
        # Package removal, not upgrade
bbaaef
        /bin/systemctl --no-reload disable ovn-northd.service >/dev/null 2>&1 || :
bbaaef
        /bin/systemctl stop ovn-northd.service >/dev/null 2>&1 || :
bbaaef
    fi
bbaaef
%endif
bbaaef
bbaaef
%preun host
bbaaef
%if 0%{?systemd_preun:1}
bbaaef
    %systemd_preun ovn-controller.service
bbaaef
%else
bbaaef
    if [ $1 -eq 0 ] ; then
bbaaef
        # Package removal, not upgrade
bbaaef
        /bin/systemctl --no-reload disable ovn-controller.service >/dev/null 2>&1 || :
bbaaef
        /bin/systemctl stop ovn-controller.service >/dev/null 2>&1 || :
bbaaef
    fi
bbaaef
%endif
bbaaef
bbaaef
%preun vtep
bbaaef
%if 0%{?systemd_preun:1}
bbaaef
    %systemd_preun ovn-controller-vtep.service
bbaaef
%else
bbaaef
    if [ $1 -eq 0 ] ; then
bbaaef
        # Package removal, not upgrade
bbaaef
        /bin/systemctl --no-reload disable ovn-controller-vtep.service >/dev/null 2>&1 || :
bbaaef
        /bin/systemctl stop ovn-controller-vtep.service >/dev/null 2>&1 || :
bbaaef
    fi
bbaaef
%endif
bbaaef
bbaaef
%post central
bbaaef
%if 0%{?systemd_post:1}
bbaaef
    %systemd_post ovn-northd.service
bbaaef
%else
bbaaef
    # Package install, not upgrade
bbaaef
    if [ $1 -eq 1 ]; then
bbaaef
        /bin/systemctl daemon-reload >dev/null || :
bbaaef
    fi
bbaaef
%endif
bbaaef
bbaaef
%post host
bbaaef
%if 0%{?systemd_post:1}
bbaaef
    %systemd_post ovn-controller.service
bbaaef
%else
bbaaef
    # Package install, not upgrade
bbaaef
    if [ $1 -eq 1 ]; then
bbaaef
        /bin/systemctl daemon-reload >dev/null || :
bbaaef
    fi
bbaaef
%endif
bbaaef
bbaaef
%post vtep
bbaaef
%if 0%{?systemd_post:1}
bbaaef
    %systemd_post ovn-controller-vtep.service
bbaaef
%else
bbaaef
    # Package install, not upgrade
bbaaef
    if [ $1 -eq 1 ]; then
bbaaef
        /bin/systemctl daemon-reload >dev/null || :
bbaaef
    fi
bbaaef
%endif
bbaaef
bbaaef
%postun
bbaaef
bbaaef
%postun central
bbaaef
%if 0%{?systemd_postun_with_restart:1}
bbaaef
    %systemd_postun_with_restart ovn-northd.service
bbaaef
%else
bbaaef
    /bin/systemctl daemon-reload >/dev/null 2>&1 || :
bbaaef
    if [ "$1" -ge "1" ] ; then
bbaaef
    # Package upgrade, not uninstall
bbaaef
        /bin/systemctl try-restart ovn-northd.service >/dev/null 2>&1 || :
bbaaef
    fi
bbaaef
%endif
bbaaef
bbaaef
%postun host
bbaaef
%if 0%{?systemd_postun_with_restart:1}
bbaaef
    %systemd_postun_with_restart ovn-controller.service
bbaaef
%else
bbaaef
    /bin/systemctl daemon-reload >/dev/null 2>&1 || :
bbaaef
    if [ "$1" -ge "1" ] ; then
bbaaef
        # Package upgrade, not uninstall
bbaaef
        /bin/systemctl try-restart ovn-controller.service >/dev/null 2>&1 || :
bbaaef
    fi
bbaaef
%endif
bbaaef
bbaaef
%postun vtep
bbaaef
%if 0%{?systemd_postun_with_restart:1}
bbaaef
    %systemd_postun_with_restart ovn-controller-vtep.service
bbaaef
%else
bbaaef
    /bin/systemctl daemon-reload >/dev/null 2>&1 || :
bbaaef
    if [ "$1" -ge "1" ] ; then
bbaaef
        # Package upgrade, not uninstall
bbaaef
        /bin/systemctl try-restart ovn-controller-vtep.service >/dev/null 2>&1 || :
bbaaef
    fi
bbaaef
%endif
bbaaef
bbaaef
%posttrans central
bbaaef
if [ $1 -eq 1 ]; then
bbaaef
    # Package install, not upgrade
bbaaef
    if [ -e %{_localstatedir}/lib/rpm-state/ovn-northd ]; then
bbaaef
        rm %{_localstatedir}/lib/rpm-state/ovn-northd
bbaaef
        /bin/systemctl start ovn-northd.service >/dev/null 2>&1 || :
bbaaef
    fi
bbaaef
fi
bbaaef
bbaaef
bbaaef
%posttrans host
bbaaef
if [ $1 -eq 1 ]; then
bbaaef
    # Package install, not upgrade
bbaaef
    if [ -e %{_localstatedir}/lib/rpm-state/ovn-controller ]; then
bbaaef
        rm %{_localstatedir}/lib/rpm-state/ovn-controller
bbaaef
        /bin/systemctl start ovn-controller.service >/dev/null 2>&1 || :
bbaaef
    fi
bbaaef
fi
bbaaef
bbaaef
%posttrans vtep
bbaaef
if [ $1 -eq 1 ]; then
bbaaef
    # Package install, not upgrade
bbaaef
    if [ -e %{_localstatedir}/lib/rpm-state/ovn-controller-vtep ]; then
bbaaef
        rm %{_localstatedir}/lib/rpm-state/ovn-controller-vtep
bbaaef
        /bin/systemctl start ovn-controller-vtep.service >/dev/null 2>&1 || :
bbaaef
    fi
bbaaef
fi
bbaaef
bbaaef
%files
bbaaef
%{_bindir}/ovn-nbctl
bbaaef
%{_bindir}/ovn-sbctl
bbaaef
%{_bindir}/ovn-trace
bbaaef
%{_bindir}/ovn-detrace
bbaaef
%{_datadir}/openvswitch/scripts/ovn-ctl
bbaaef
%{_datadir}/openvswitch/scripts/ovndb-servers.ocf
bbaaef
%{_mandir}/man8/ovn-ctl.8*
bbaaef
%{_mandir}/man8/ovn-nbctl.8*
bbaaef
%{_mandir}/man8/ovn-trace.8*
bbaaef
%{_mandir}/man1/ovn-detrace.1*
bbaaef
%{_mandir}/man7/ovn-architecture.7*
bbaaef
%{_mandir}/man8/ovn-sbctl.8*
bbaaef
%{_mandir}/man5/ovn-nb.5*
bbaaef
%{_mandir}/man5/ovn-sb.5*
bbaaef
%{_prefix}/lib/ocf/resource.d/ovn/ovndb-servers
bbaaef
%if %{with_python2}
bbaaef
%{_datadir}/openvswitch/scripts/ovn-bugtool-nbctl-show
bbaaef
%{_datadir}/openvswitch/scripts/ovn-bugtool-sbctl-lflow-list
bbaaef
%{_datadir}/openvswitch/scripts/ovn-bugtool-sbctl-show
bbaaef
%endif
bbaaef
bbaaef
%if %{with ovn_docker}
bbaaef
%files docker
bbaaef
%{_bindir}/ovn-docker-overlay-driver
bbaaef
%{_bindir}/ovn-docker-underlay-driver
bbaaef
%endif
bbaaef
bbaaef
%files central
bbaaef
%{_bindir}/ovn-northd
bbaaef
%{_mandir}/man8/ovn-northd.8*
bbaaef
%config %{_datadir}/openvswitch/ovn-nb.ovsschema
bbaaef
%config %{_datadir}/openvswitch/ovn-sb.ovsschema
bbaaef
%{_unitdir}/ovn-northd.service
bbaaef
%{_prefix}/lib/firewalld/services/ovn-central-firewall-service.xml
bbaaef
bbaaef
%files host
bbaaef
%{_bindir}/ovn-controller
bbaaef
%{_mandir}/man8/ovn-controller.8*
bbaaef
%{_unitdir}/ovn-controller.service
bbaaef
%{_prefix}/lib/firewalld/services/ovn-host-firewall-service.xml
bbaaef
bbaaef
%files vtep
bbaaef
%{_bindir}/ovn-controller-vtep
bbaaef
%{_mandir}/man8/ovn-controller-vtep.8*
bbaaef
%{_unitdir}/ovn-controller-vtep.service
bbaaef
bbaaef
%changelog
bbaaef
* Fri Jul 10 2020 Lorenzo Bianconi <lorenzo.bianconi@redhat.com> - 2.11.1-53
bbaaef
- Backport "northd: Fix IPAM IPv4 start address calculation" (#1825701)
bbaaef
bbaaef
* Thu Jul 9 2020 Lorenzo Bianconi <lorenzo.bianconi@redhat.com> - 2.11.1-52
bbaaef
- Backport "DNS: Make DNS lookups case insensitive" (#1846849)
bbaaef
bbaaef
* Thu Jul 9 2020 Lorenzo Bianconi <lorenzo.bianconi@redhat.com> - 2.11.1-51
bbaaef
- Backport "Rely on unique name for ovn qos meters" (#1848818)
bbaaef
bbaaef
* Thu Jun 25 2020 Lorenzo Bianconi <lorenzo.bianconi@redhat.com> - 2.11.1-50
bbaaef
- Backport "Honour router_preference for solicited RA" (#1804595)
bbaaef
bbaaef
* Thu Jun 25 2020 Numan Siddique <nusiddiq@redhat.com> - 2.11.1-48
bbaaef
- Backport "pinctrl: Support DHCPRELEASE and DHCPINFORM in native OVN dhcp responder." (#1801734)
bbaaef
bbaaef
* Thu Jun 18 2020 Numan Siddique <nusiddiq@redhat.com> - 2.11.1-47
bbaaef
- Backport "northd: By pass IPv6 Router Adv and Router Solicitation packets from ACL stages." (#1848401)
bbaaef
- Backport "ovsdb idl: Try committing the pending txn in  ovsdb_idl_loop_run."
bbaaef
bbaaef
* Wed May 27 2020 Lorenzo Bianconi <lorenzo.bianconi@redhat.com> - 2.11.1-47
bbaaef
- Backport "ovn-northd: Remove useless flow for GW_REDIRECT" (#1834433)
bbaaef
- Backport "Revert "Manage ARP process locally in a DVR scenario" (#1834433)
bbaaef
- Backport "controller: fix ip buffering with static routes" (#1834433)
bbaaef
- Backport "northd: manage ARP request locally for FIP traffic" (#1834433)
bbaaef
bbaaef
* Thu May 14 2020 Numan Siddique <nusiddiq@redhat.com> - 2.11.1-46
bbaaef
- Backport "Make is_switch() in lflow.c a util function" (#1835750)
bbaaef
- Backport "ovn-controller: Minimize SB DB port_binding lookups." (#1835750)
bbaaef
- Backport "ovn-controller.c: Fix memory leak of local_datapath->ports." (#1835750)
bbaaef
- Backport "ovn-controller: Remove ports from struct local_datapaths." (#1835750)
bbaaef
bbaaef
* Sat May 09 2020 Numan Siddique <nusiddiq@redhat.com> - 2.11.1-45
bbaaef
- Backport "northd: Allow /64 after ipv6_prefix" (#1827526)
bbaaef
bbaaef
* Sat Apr 18 2020 Numan Siddique <nusiddiq@redhat.com> - 2.11.1-44
bbaaef
- Backport "pinctrl: Handle service monitors even if the lport doesn't have IPv4 addresses set." (#1825483)
bbaaef
bbaaef
* Wed Apr 15 2020 Dumitru Ceara <dceara@redhat.com> - 2.11.1-43
bbaaef
- Backport "ovn-northd: Fix IP local multicast flooding.". (#1814127)
bbaaef
bbaaef
* Fri Apr 10 2020 Numan Siddique <nusiddiq@redhat.com> - 2.11.1-42
bbaaef
- Backport "ovn-ctl: Provide the option to configure inactive probe from standby to active". (#1803005)
bbaaef
bbaaef
* Thu Apr 09 2020 Dumitru Ceara <dceara@redhat.com> - 2.11.1-41
bbaaef
- Backport "ovn-controller: Fix potential segfault with "virtual" port bindings." (#1818844)
bbaaef
- Backport "ovn-controller: Skip vport bindings done through OVS external_ids:iface-id." (#1818844)
bbaaef
bbaaef
* Thu Apr 02 2020 Lorenzo Bianconi <lorenzo.bianconi@redhat.com> - 2.11.1-40
bbaaef
- Backport "controller: use LLA IPv6 address as NS source address" (#1815316)
bbaaef
bbaaef
* Tue Mar 24 2020 Dumitru Ceara <dceara@redhat.com> - 2.11.1-39
bbaaef
- Backport "ovn-northd: Forward ARP requests on localnet ports." (#1816620)
bbaaef
- Backport "ovn.at: Fix ARP test that fails due to timing." (#1816620)
bbaaef
bbaaef
* Mon Mar 23 2020 Numan Siddique <nusiddiq@redhat.com> - 2.11.1-38
bbaaef
- Backport "ovn-northd: Don't add arp responder flows for lports with 'unknown' address." (#1805709)
bbaaef
bbaaef
* Fri Mar 13 2020 Numan Siddique <nusiddiq@redhat.com> - 2.11.1-37
bbaaef
- Backport "ovn-northd: Add lflows to by pass the svc monitor packets from conntrack". (#1813050)
bbaaef
bbaaef
* Fri Mar 6 2020 Ihar Hrachyshka <ihrachys@redhat.com> - 2.11.1-36
bbaaef
- Backport "Broadcast DHCPREPLY when BROADCAST flag is set" (#1811119)
bbaaef
bbaaef
* Mon Mar 2 2020 Lorenzo Bianconi <lorenzo.bianconi@redhat.com> - 2.11.1-35
bbaaef
- Backport "pinctrl: fix IP buffering with connection-tracking" (#1788193)
bbaaef
- Backport "Manage ARP process locally in a DVR scenario" (#1788193)
bbaaef
bbaaef
* Fri Feb 28 2020 Lorenzo Bianconi <lorenzo.bianconi@redhat.com> - 2.11.1-34
bbaaef
- Backport "controller: grant cap_net_admin to ovn-controller" (#1797873)
bbaaef
bbaaef
* Tue Feb 4 2020 Numan Siddique <nusiddiq@redhat.com> - 2.11.1-33
bbaaef
* Backport "ovn-northd: Address scale issues with DNAT flows." (1795697)
bbaaef
bbaaef
* Thu Jan 30 2020 Numan Siddique <nusiddiq@redhat.com> - 2.11.1-32
bbaaef
* Backport "[RFE] LB health check : ovn-northd: Consider load balancer active backends in router pipeline" (#1703162)
bbaaef
bbaaef
* Fri Jan 24 2020 Dumitru Ceara <dceara@redhat.com> - 2.11.1-31
bbaaef
- Backport "tests: Updated expected log message" (#1781223)
bbaaef
- Backport "nbctl: Log the source of duplicate IP addresses" (#1781223)
bbaaef
- Backport "northd: Log all dynamic address assignments" (#1781223)
bbaaef
- Backport "northd: Load config before processing nbdb contents" (#1781223)
bbaaef
bbaaef
* Thu Jan 16 2020 Timothy Redaelli <tredaelli@redhat.com> - 2.11.1-30
bbaaef
- Add a RHEL-only patch to read the OVS_USER_ID from
bbaaef
  /etc/openvswitch/default.conf and /etc/sysconfig/openvswitch.
bbaaef
  This is needed for openvswitch2.11 < 2.11.0-43 compatibility (#1791388)
bbaaef
bbaaef
* Fri Jan 10 2020 Numan Siddique <nusiddiq@redhat.com> - 2.11.1-29
bbaaef
- Backport "ovn-controller: Don't monitor connection table columns"
bbaaef
- Backport "Restrict ARP/IPv6 ND replies for LB VIP only on chassis redirect port" (#1788456)
bbaaef
bbaaef
* Thu Jan 09 2020 Lorenzo Bianconi <lorenzo.bianconi@redhat.com> - 2.11.1-28
bbaaef
- Backport "pinctrl.c: Fix maybe-uninitialized warnings with old GCC versions" (#1787000)
bbaaef
- Backport "DNSSL: copy dnssl string in order to avoid truncated value" (#1787000)
bbaaef
- Backport "RA Route Info Option: copy route info string in order to avoid truncated value" (#1787000)
bbaaef
bbaaef
* Thu Jan 02 2020 Dumitru Ceara <dceara@redhat.com> - 2.11.1-27
bbaaef
- Backport "ovn-controller: Run I-P engine even when no SB txn is available." (#1787361)
bbaaef
bbaaef
* Thu Jan 02 2020 Dumitru Ceara <dceara@redhat.com> - 2.11.1-26
bbaaef
- Backport "ovn-controller: Refactor I-P engine_run() tracking." (#1787318)
bbaaef
- Backport "ovn-controller: Add per node states to I-P engine." (#1787318)
bbaaef
- Backport "ovn-controller: Add separate I-P engine node for processing ct-zones." (#1787318)
bbaaef
- Backport "ovn-controller: Fix use of dangling pointers in I-P runtime_data." (#1787318)
bbaaef
bbaaef
* Thu Dec 19 2019 Mark Michelson <mmichels@redhat.com> - 2.11.1-25
bbaaef
- Do not force crossproducts on string expressions (#1764032)
bbaaef
bbaaef
* Thu Dec 05 2019 Numan Siddique <nusiddiq@redhat.com> - 2.11.1-24
bbaaef
- Backport "[RFE] Support for load balancing health checks in OVN" (#1703162)
bbaaef
- Backport "Stateless NAT support (backported due to conflicts)"
bbaaef
- Backport "Ankur's Vlan backed DVR N-S patches (backported due to conflicts)"
bbaaef
bbaaef
* Tue Dec 03 2019 Lorenzo Bianconi <lorenzo.bianconi@redhat.com> - 2.11.1-23
bbaaef
- Backport "Add support to Default Router Preference (PRF) - RFC4191" (#1779212)
bbaaef
- Backport "Add support for Route Info Option in RA - RFC4191"
bbaaef
bbaaef
* Tue Dec 3 2019 Dumitru Ceara <dceara@redhat.com> - 2.11.1-22
bbaaef
- Backport "ovn-controller: Consider non-virtual ports first when updating bindings." (#1779112)
bbaaef
- Backport "ovn-controller: Add missing port group lflow references." (#1778164)
bbaaef
- Backport "ovn-controller: Add command to trigger an I-P full recompute." (#1779124)
bbaaef
bbaaef
* Tue Nov 26 2019 Dumitru Ceara <dceara@redhat.com> - 2.11.1-21
bbaaef
- Backport "ovn-northd: Fix get_router_load_balancer_ips() for  mixed address families."
bbaaef
- Backport "ovn-northd: Limit ARP/ND broadcast domain whenever possible." (#1756945)
bbaaef
- Backport "ovn-northd: Avoid empty address list when limiting ARP/ND broadcast." (#1756945)
bbaaef
bbaaef
* Tue Nov 19 2019 Numan Siddique <nusiddiq@redhat.com> - 2.11.1-20
bbaaef
- Backport "Skip IPv6 NS packets in router egress SNAT pipeline" (#1773605)
bbaaef
- Backport "northd: Match IPv4 or IPv6 for MAC resolution"
bbaaef
- Removed - Requires: openvswitch2.11
bbaaef
bbaaef
* Tue Nov 12 2019 Dumitru Ceara <dceara@redhat.com> - 2.11.1-19
bbaaef
- Backport "Fix ha chassis failover issues for stale ha chassis entries" (#1762777)
bbaaef
bbaaef
* Tue Nov 12 2019 Dumitru Ceara <dceara@redhat.com> - 2.11.1-18
bbaaef
- Backport "ovn-northd: Validate dnat_and_snat external_mac/logical_ip." (#1769709)
bbaaef
bbaaef
* Mon Nov 11 2019 Mark Michelson <mmichels@redhat.com> - 2.11.1-17
bbaaef
- Revert support for openvswitch2.12
bbaaef
bbaaef
* Mon Nov 11 2019 Mark Michelson <mmichels@redhat.com> - 2.11.1-16
bbaaef
- Update "Requires" to allow for openvswitch2.12
bbaaef
bbaaef
* Mon Nov 11 2019 Dumitru Ceara <dceara@redhat.com> - 2.11.1-15
bbaaef
- Backport "lflow.c: Fix memory leak of lflow_ref_list_node->ref_name." (#1770953)
bbaaef
bbaaef
* Tue Nov 05 2019 Mark Michelson <mmichels@redhat.com> - 2.11.1-14
bbaaef
- Backport "Prevent erroneous duplicate IP address messages" (#1769043)
bbaaef
bbaaef
* Mon Nov 04 2019  Numan Siddique <nusiddiq@redhat.com> - 2.11.1-13
bbaaef
- Backport "Fix virtual port binding when the parents are scheduled in same chassis" (#1762341)
bbaaef
bbaaef
* Mon Nov 04 2019  Numan Siddique <nusiddiq@redhat.com> - 2.11.1-12
bbaaef
- Backport "Support IPv6 NAT" (#1768347)
bbaaef
bbaaef
* Sun Nov 3 2019 Mark Michelson <mmichels@redhat.com> - 2.11.1-11
bbaaef
- Backport "Revert conjunctive match removal patches" (#1764032)
bbaaef
- Backport "Combine conjunctions with identical matches into one" (#1764032)
bbaaef
bbaaef
* Wed Oct 30 2019  Lorenzo Bianconi <lorenzo.bianconi@redhat.com> - 2.11.1-10
bbaaef
- Backport "Add DNSSL support to OVN" (#1764718)
bbaaef
bbaaef
* Wed Oct 30 2019  Lorenzo Bianconi <lorenzo.bianconi@redhat.com> - 2.11.1-9
bbaaef
- Backport "Add RDNSS support to OVN" (#1699332)
bbaaef
bbaaef
* Wed Oct 16 2019  Dumitru Ceara <dceara@redhat.com> - 2.11.1-8
bbaaef
- Backport "ovn-northd: Fix IP multicast flooding to mrouter." (#1757714)
bbaaef
bbaaef
* Thu Oct 10 2019  Numan Siddique <nusiddiq@redhat.com> - 2.11.1-7
bbaaef
- Fixed the patch apply errors.
bbaaef
bbaaef
* Wed Oct 9 2019  Dumitru Ceara <dceara@redhat.com> - 2.11.1-6
bbaaef
- Backport "ovn-northd: Use HMAP_FOR_EACH when adding multicast lflows" (#1757714)
bbaaef
- Backport "ovn-northd: Add IGMP Relay support" (#1757714)
bbaaef
- Backport "ovn-northd: Add static IP multicast flood configuration" (#1757715)
bbaaef
bbaaef
* Wed Oct 2 2019  Dumitru Ceara <dceara@redhat.com> - 2.11.1-5
bbaaef
- Backport "Learn the mac binding only if required" (#1729846)
bbaaef
bbaaef
* Tue Oct 1 2019  Lorenzo Bianconi <lorenzo.bianconi@redhat.com> - 2.11.1-4
bbaaef
- Backport "Introduce localnet egress QoS support" (#1580542)
bbaaef
bbaaef
* Fri Sep 27 2019  Numan Siddique <nusiddiq@redhat.com> - 2.11.1-3
bbaaef
- Backport " Disable conjunction by force cross product for all the fields." (#1756466)
bbaaef
bbaaef
* Mon Sep 16 2019  Lorenzo Bianconi <lorenzo.bianconi@redhat.com> - 2.11.1-2
bbaaef
- Backport "Northd: add empty_lb controller_event for logical router" (#1743577)
bbaaef
bbaaef
* Sat Sep 14 2019  Numan Siddique <nusiddiq@redhat.com> - 2.11.1-1
bbaaef
- Backport "Exclude inport and outport symbol tables from conjunction" (#1751942)
bbaaef
bbaaef
* Fri Sep 06 2019  Numan Siddique <nusiddiq@redhat.com> - 2.11.1-0
bbaaef
- Sync 2.11.1-0 with upstream 2.12.0 so that we have all the I-P series patches (#1748102)
bbaaef
bbaaef
* Tue Sep 03 2019  Numan Siddique <nusiddiq@redhat.com> - 2.11.0-37
bbaaef
- Backport firt 3 patches of I-P series (#1748102)
bbaaef
bbaaef
* Fri Aug 23 2019  Lorenzo Bianconi <lorenzo.bianconi@redhat.com> - 2.11.0-36
bbaaef
- Backport "Remove ageing check in run_put_mac_binding" (#1745002)
bbaaef
bbaaef
* Fri Aug 23 2019 Dumitru Ceara <dceara@redhat.com> - 2.11.0-35
bbaaef
- Backport "pinctrl: Fix DNS packet parsing" (#1744991)
bbaaef
bbaaef
* Fri Aug 23 2019  Numan Siddique <nusiddiq@redhat.com> - 2.11.0-34
bbaaef
- Backport "ovn-controller: Provide the option to configure inactivity probe interval for OpenFlow conn" (#1744962)
bbaaef
bbaaef
* Tue Aug 20 2019  Numan Siddique <nusiddiq@redhat.com> - 2.11.0-33
bbaaef
- Backport "Make pidfile_is_running more robust against empty pidfiles" (#1741057)
bbaaef
bbaaef
* Tue Aug 06 2019  Numan Siddique <nusiddiq@redhat.com> - 2.11.0-32
bbaaef
- Backport "Support binding a logical port based on the GARP from the VIF" (#1699350)
bbaaef
bbaaef
* Tue Aug 06 2019  Lorenzo Bianconi <lorenzo.bianconi@redhat.com> - 2.11.0-31
bbaaef
- Backport "Fix default L4 default proto reported by ovn-nbctl" (#1734743)
bbaaef
bbaaef
* Mon Aug 05 2019  Numan Siddique <nusiddiq@redhat.com> - 2.11.0-30
bbaaef
- Backport "Don't emit ICMP need to frag on LRP with no IPv4 address" (#1737341)
bbaaef
bbaaef
* Mon Aug 05 2019  Numan Siddique <nusiddiq@redhat.com> - 2.11.0-29
bbaaef
- Revert Backport "Support binding a logical port based on the GARP from the VIF" (#1699350)
bbaaef
bbaaef
* Mon Aug 05 2019  Numan Siddique <nusiddiq@redhat.com> - 2.11.0-28
bbaaef
- Backport " Support binding a logical port based on the GARP from the VIF" (#1699350)
bbaaef
bbaaef
* Mon Aug 05 2019  Numan Siddique <nusiddiq@redhat.com> - 2.11.0-27
bbaaef
- Backport ovn-northd pause/resume support (#1720728)
bbaaef
bbaaef
* Wed Jul 17 2019  Lorenzo Bianconi <lorenzo.bianconi@redhat.com> - 2.11.0-26
bbaaef
- Backport ovn uindling support (#1730759)
bbaaef
bbaaef
* Wed Jul 17 2019  Numan Siddique <nusiddiq@redhat.com> - 2.11.0-25
bbaaef
- Backport related to GARP handling for router ips (#1561880)
bbaaef
bbaaef
* Tue Jul 9 2019 Lorenzo Bianconi <lorenzo.bianconi@redhat.com> - 2.11.0-24
bbaaef
- Backport related to ip buffering with gw router port issue (#1728318)
bbaaef
bbaaef
* Mon Jul 1 2019 Lorenzo Bianconi <lorenzo.bianconi@redhat.com> - 2.11.0-23
bbaaef
- Backport "OVN: add the possibility to specify tunnel dst port" (#1720371)
bbaaef
bbaaef
* Mon Jun 24 2019 Dumitru Ceara <dceara@redhat.com> - 2.11.0-22
bbaaef
- Backport "ovn-controller: Fix parsing of OVN tunnel IDs" (#1708131)
bbaaef
bbaaef
* Mon Jun 24 2019 Numan Siddique <nusiddiq@redhat.com> - 2.11.0-21
bbaaef
- Backport "ovn-nbctl.8.xml: Fix typo." (#1720194)
bbaaef
bbaaef
* Mon Jun 17 2019 Numan Siddique <nusiddiq@redhat.com> - 2.11.0-20
bbaaef
- Backport "ovn: Add support for DHCP option 15 - domain name" (#1721012)
bbaaef
bbaaef
* Thu Jun 06 2019 Timothy Redaelli <tredaelli@redhat.com> - 2.11.0-19
bbaaef
- Avoid collisions during installation of sources in debuginfo package (#1717933)
bbaaef
bbaaef
* Mon May 27 2019 Dumitru Ceara <dceara@redhat.com> - 2.11.0-18
bbaaef
- Backport "ovn: Properly set the index for chassis lookup" (#1698462)
bbaaef
bbaaef
* Tue May 14 2019 Dumitru Ceara <dceara@redhat.com> - 2.11.0-17
bbaaef
- Backport "stopwatch: Free stopwatch packets after processing" (#1698462)
bbaaef
bbaaef
* Fri Apr 26 2019 Numan Siddique <nusiddiq@redhat.com> - 2.11.0-16
bbaaef
- Fix the ovn-northd sync issue with HA_Chassis group (#1666673)
bbaaef
bbaaef
* Wed Apr 24 2019 Numan Siddique <nusiddiq@redhat.com> - 2.11.0-15
bbaaef
- Backport "RFE: Limit Geneve to within Transport Zones" (#1702550)
bbaaef
bbaaef
* Wed Apr 24 2019 Numan Siddique <nusiddiq@redhat.com> - 2.11.0-14
bbaaef
- Backport "RFE: [OVN] Fragmentation support" (#1702331)
bbaaef
bbaaef
* Sat Apr 20 2019 Numan Siddique <nusiddiq@redhat.com> - 2.11.0-13
bbaaef
- Backport "RFE: OVN - Support Logical ports of type external" (#1666673)
bbaaef
bbaaef
* Thu Apr 18 2019 Lorenzo Bianconi <lorenzo.bianconi@redhat.com> - 2.11.0-12
bbaaef
- Backport "OVN: fix DVR Floating IP support" (#1701183)
bbaaef
bbaaef
* Wed Apr 17 2019 Timothy Redaelli <tredaelli@redhat.com> - 2.11.0-11
bbaaef
- Add 'Obsoletes' to the old OVN openvswitch2.11 sub-packages to allow to upgrade from FDP.A
bbaaef
bbaaef
* Wed Apr 17 2019 Lorenzo Bianconi <lorenzo.bianconi@redhat.com> - 2.11.0-10
bbaaef
- Backport "OVN: add the possibility to configure a static IPv4/IPv6 address and dynamic MAC"
bbaaef
bbaaef
* Tue Apr 16 2019 Timothy Redaelli <tredaelli@redhat.com> - 2.11.0-9
bbaaef
- Remove 'Obsoletes' lines like on openvswitch2.11 package
bbaaef
bbaaef
* Tue Apr 16 2019 Numan Siddique <nusiddiq@redhat.com> - 2.11.0-8
bbaaef
- Fix the 'Provides' to include '%pkgver'
bbaaef
bbaaef
* Tue Mar 26 2019 Numan Siddique <nusiddiq@redhat.com> - 2.11.0-7
bbaaef
- Backport Fixes for #1677616 (pinctrl thread) and fixes related to IPv6 RA."
bbaaef
bbaaef
* Tue Mar 19 2019 Numan Siddique <nusiddiq@redhat.com> - 2.11.0-6
bbaaef
- Removed ovn-common package and moved all the related files to main 'ovn' package.
bbaaef
bbaaef
* Tue Mar 19 2019 Timothy Redaelli <tredaelli@redhat.com> - 2.11.0-5
bbaaef
- Disable ovn-docker subpackage by default
bbaaef
bbaaef
* Thu Mar 07 2019 Mark Michelson <mmichels@redhat.com> - 2.11.0-4
bbaaef
- Backport "OVN: Add port addresses to IPAM after all ports are joined."
bbaaef
bbaaef
* Sat Mar 02 2019 Numan Siddique <nusiddiq@redhat.com> - 2.11.0-3
bbaaef
- Backport "ovn-controller: Provide the option to set the datapath-type of br-int" (#1684796)
bbaaef
bbaaef
* Fri Mar 01 2019 Timothy Redaelli <tredaelli@redhat.com> - 2.11.0-2
bbaaef
- Backport "rhel: Use PIDFile on forking systemd service files" (#1684477)
bbaaef
bbaaef
* Thu Feb 28 2019 Numan Siddique <nusiddiq@redhat.com> - 2.11.0-1
bbaaef
- Update to official 2.11 release
bbaaef
bbaaef
* Wed Jan 23 2019 Numan Siddique <nusiddiq@redhat.com> - 2.11.0-0.20190117git4e4f80e
bbaaef
- Update to OVS 2.11 branch
bbaaef
bbaaef
* Thu Jan 17 2019 Numan Siddique <nusiddiq@redhat.com> - 2.11.0-0.20190117gitab66223
bbaaef
- Update to a snapshot of OVS 2.11 from master
bbaaef
bbaaef
* Thu Dec 20 2018 Numan Siddique <nusiddiq@redhat.com>
bbaaef
- OVS/OVN split.