forked from pool/openvswitch
Accepting request 668409 from network
- Version bump to 2.11.0+git20190123.ad83fc9ab. Some of the changes are: * Linux datapath: - Support for the kernel versions 4.16.x and 4.17.x. * OpenFlow: - OFPMP_TABLE_FEATURES_REQUEST can now modify table features. * ovs-ofctl: - "mod-table" command can now change OpenFlow table names. * The environment variable OVS_SYSLOG_METHOD, if set, is now used as the default syslog method. * The environment variable OVS_CTL_TIMEOUT, if set, is now used as the default timeout for control utilities. * ovn: - OVN-SB schema changed: duplicated IP with same Encapsulation type is not allowed any more. Please refer to Documentation/intro/install/ovn-upgrades.rst for the instructions in case there are problems encountered when upgrading from an earlier version. - New support for IPSEC encrypted tunnels between hypervisors. - ovn-ctl: allow passing user:group ids to the OVN daemons. - IPAM/MACAM: * add the capability to dynamically assign just L2 addresses * add the capability to specify a static ip address and get the L2 one allocated dynamically using the following syntax: ovn-nbctl lsp-set-addresses <port> "dynamic <IP>" * DPDK: - Add support for DPDK 18.11 - Add support for port representors. * Userspace datapath: - Add option for simple round-robin based Rxq to PMD assignment. It can be set with pmd-rxq-assign. - Add support for Auto load balancing of PMDs (experimental) - Added new per-port configurable option to manage EMC: 'other_config:emc-enable'. * Add 'symmetric_l3' hash function. * OVS now honors 'updelay' and 'downdelay' for bonds with LACP configured. * ovs-vswitchd: - New configuration option "offload-rebalance", that enables dynamic rebalancing of offloaded flows. * The environment variable OVS_RESOLV_CONF, if set, is now used as the DNS server configuration file. * RHEL packaging: - OVN packages are split from OVS packages. A new spec file - ovn-fedora.spec.in is added to generate OVN packages. - Remove upstreamed patch: * 0001-python-c-ext-Fix-memory-leak-in-Parser_finish.patch - Remove DISABLE_RESTART_ON_UPDATE and DISABLE_STOP_ON_REMOVAL options (bsc#1117483). OBS-URL: https://build.opensuse.org/request/show/668409 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openvswitch?expand=0&rev=36
This commit is contained in:
commit
ff40f59902
@ -1,28 +0,0 @@
|
|||||||
From e120ff1f8e4dbb0b889b26e0be082376a32090bc Mon Sep 17 00:00:00 2001
|
|
||||||
From: Eric Lapointe <elapointe@corsa.com>
|
|
||||||
Date: Wed, 31 Oct 2018 12:11:42 -0400
|
|
||||||
Subject: [PATCH] python-c-ext: Fix memory leak in Parser_finish
|
|
||||||
|
|
||||||
The memory returned by json_parser_finish needs to be freed by the caller.
|
|
||||||
|
|
||||||
Signed-off-by: Eric Lapointe <elapointe@corsa.com>
|
|
||||||
Signed-off-by: Ben Pfaff <blp@ovn.org>
|
|
||||||
---
|
|
||||||
python/ovs/_json.c | 1 +
|
|
||||||
1 file changed, 1 insertion(+)
|
|
||||||
|
|
||||||
diff --git a/python/ovs/_json.c b/python/ovs/_json.c
|
|
||||||
index 8b8402025..ef7bb4b8e 100644
|
|
||||||
--- a/python/ovs/_json.c
|
|
||||||
+++ b/python/ovs/_json.c
|
|
||||||
@@ -170,6 +170,7 @@ Parser_finish(json_ParserObject * self)
|
|
||||||
json = json_parser_finish(self->_parser);
|
|
||||||
self->_parser = NULL;
|
|
||||||
obj = json_to_python(json);
|
|
||||||
+ json_destroy(json);
|
|
||||||
return obj;
|
|
||||||
}
|
|
||||||
|
|
||||||
--
|
|
||||||
2.16.4
|
|
||||||
|
|
15
_service
Normal file
15
_service
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<services>
|
||||||
|
<service name="tar_scm" mode="disabled">
|
||||||
|
<param name="url">https://github.com/openvswitch/ovs</param>
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="exclude">.git</param>
|
||||||
|
<param name="versionformat">2.11.0+git%cd.%h</param>
|
||||||
|
<param name="revision">ad83fc9ab6119abc14a46bdf71de020da02aefec</param>
|
||||||
|
<param name="filename">openvswitch</param>
|
||||||
|
</service>
|
||||||
|
<service name="recompress" mode="disabled">
|
||||||
|
<param name="file">openvswitch-*.tar</param>
|
||||||
|
<param name="compression">gz</param>
|
||||||
|
</service>
|
||||||
|
<service name="set_version" mode="disabled"/>
|
||||||
|
</services>
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:4f93c764295952848a924271250d7c6a6a53747d0019ef6ff880aa8ea6897c80
|
|
||||||
size 7522058
|
|
3
openvswitch-2.11.0+git20190123.ad83fc9ab.tar.gz
Normal file
3
openvswitch-2.11.0+git20190123.ad83fc9ab.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:2055e1e4f5586cb4732b465df7de39ba968ce83e26cbbe22eaf115fc0a1f3346
|
||||||
|
size 5654398
|
@ -1,3 +1,58 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 24 16:52:16 UTC 2019 - jcaamano@suse.com
|
||||||
|
|
||||||
|
- Fixed package name libopenvswitch-2_10-0 to libopenvswitch-2_11-0
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 24 11:34:15 UTC 2019 - Jaime Caamaño (jcaamano@suse.com)
|
||||||
|
|
||||||
|
- Version bump to 2.11.0+git20190123.ad83fc9ab. Some of the changes are:
|
||||||
|
* Linux datapath:
|
||||||
|
- Support for the kernel versions 4.16.x and 4.17.x.
|
||||||
|
* OpenFlow:
|
||||||
|
- OFPMP_TABLE_FEATURES_REQUEST can now modify table features.
|
||||||
|
* ovs-ofctl:
|
||||||
|
- "mod-table" command can now change OpenFlow table names.
|
||||||
|
* The environment variable OVS_SYSLOG_METHOD, if set, is now used
|
||||||
|
as the default syslog method.
|
||||||
|
* The environment variable OVS_CTL_TIMEOUT, if set, is now used
|
||||||
|
as the default timeout for control utilities.
|
||||||
|
* ovn:
|
||||||
|
- OVN-SB schema changed: duplicated IP with same Encapsulation type
|
||||||
|
is not allowed any more. Please refer to
|
||||||
|
Documentation/intro/install/ovn-upgrades.rst for the instructions
|
||||||
|
in case there are problems encountered when upgrading from an earlier
|
||||||
|
version.
|
||||||
|
- New support for IPSEC encrypted tunnels between hypervisors.
|
||||||
|
- ovn-ctl: allow passing user:group ids to the OVN daemons.
|
||||||
|
- IPAM/MACAM:
|
||||||
|
* add the capability to dynamically assign just L2 addresses
|
||||||
|
* add the capability to specify a static ip address and get the L2 one
|
||||||
|
allocated dynamically using the following syntax:
|
||||||
|
ovn-nbctl lsp-set-addresses <port> "dynamic <IP>"
|
||||||
|
* DPDK:
|
||||||
|
- Add support for DPDK 18.11
|
||||||
|
- Add support for port representors.
|
||||||
|
* Userspace datapath:
|
||||||
|
- Add option for simple round-robin based Rxq to PMD assignment.
|
||||||
|
It can be set with pmd-rxq-assign.
|
||||||
|
- Add support for Auto load balancing of PMDs (experimental)
|
||||||
|
- Added new per-port configurable option to manage EMC:
|
||||||
|
'other_config:emc-enable'.
|
||||||
|
* Add 'symmetric_l3' hash function.
|
||||||
|
* OVS now honors 'updelay' and 'downdelay' for bonds with LACP configured.
|
||||||
|
* ovs-vswitchd:
|
||||||
|
- New configuration option "offload-rebalance", that enables dynamic
|
||||||
|
rebalancing of offloaded flows.
|
||||||
|
* The environment variable OVS_RESOLV_CONF, if set, is now used
|
||||||
|
as the DNS server configuration file.
|
||||||
|
* RHEL packaging:
|
||||||
|
- OVN packages are split from OVS packages. A new spec
|
||||||
|
file - ovn-fedora.spec.in is added to generate OVN packages.
|
||||||
|
- Remove upstreamed patch:
|
||||||
|
* 0001-python-c-ext-Fix-memory-leak-in-Parser_finish.patch
|
||||||
|
- Remove DISABLE_RESTART_ON_UPDATE and DISABLE_STOP_ON_REMOVAL options (bsc#1117483).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Jan 20 07:58:20 UTC 2019 - Thomas Bechtold <tbechtold@suse.com>
|
Sun Jan 20 07:58:20 UTC 2019 - Thomas Bechtold <tbechtold@suse.com>
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
# needssslcertforbuild
|
# needssslcertforbuild
|
||||||
|
|
||||||
@ -22,7 +22,7 @@
|
|||||||
%if ! %{defined _fillupdir}
|
%if ! %{defined _fillupdir}
|
||||||
%define _fillupdir %{_localstatedir}/adm/fillup-templates
|
%define _fillupdir %{_localstatedir}/adm/fillup-templates
|
||||||
%endif
|
%endif
|
||||||
%define lname libopenvswitch-2_10-0
|
%define lname libopenvswitch-2_11-0
|
||||||
%ifarch aarch64 x86_64 %{ix86}
|
%ifarch aarch64 x86_64 %{ix86}
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
# DPDK enabled only SUSE/openSUSE
|
# DPDK enabled only SUSE/openSUSE
|
||||||
@ -41,7 +41,7 @@
|
|||||||
# Disable building the external kernel datapath by default
|
# Disable building the external kernel datapath by default
|
||||||
%bcond_with kmp
|
%bcond_with kmp
|
||||||
Name: openvswitch
|
Name: openvswitch
|
||||||
Version: 2.10.1
|
Version: 2.11.0+git20190123.ad83fc9ab
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A multilayer virtual network switch
|
Summary: A multilayer virtual network switch
|
||||||
# All code is Apache-2.0 except
|
# All code is Apache-2.0 except
|
||||||
@ -50,11 +50,9 @@ Summary: A multilayer virtual network switch
|
|||||||
License: Apache-2.0 AND LGPL-2.1-only AND SISSL
|
License: Apache-2.0 AND LGPL-2.1-only AND SISSL
|
||||||
Group: Productivity/Networking/System
|
Group: Productivity/Networking/System
|
||||||
Url: http://openvswitch.org/
|
Url: http://openvswitch.org/
|
||||||
Source0: http://openvswitch.org/releases/openvswitch-%{version}.tar.gz
|
Source0: openvswitch-%{version}.tar.gz
|
||||||
Source1: preamble
|
Source1: preamble
|
||||||
Source89: Module.supported.updates
|
Source89: Module.supported.updates
|
||||||
# PATCH-FIX-UPSTREAM: 0001-python-c-ext-Fix-memory-leak-in-Parser_finish.patch
|
|
||||||
Patch0: 0001-python-c-ext-Fix-memory-leak-in-Parser_finish.patch
|
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: graphviz
|
BuildRequires: graphviz
|
||||||
@ -114,10 +112,9 @@ Suggests: openvswitch-kmp
|
|||||||
%if %{with dpdk}
|
%if %{with dpdk}
|
||||||
# We need to be a bit strict with the dpdk version since
|
# We need to be a bit strict with the dpdk version since
|
||||||
# it's very possible for DPDK to change it's API between
|
# it's very possible for DPDK to change it's API between
|
||||||
# releases. This version currently requires >=17.XX and
|
# releases. This version currently requires 18.11.
|
||||||
# < 18.05
|
BuildRequires: dpdk-devel = 18.11
|
||||||
BuildRequires: dpdk-devel < 18.05
|
BuildRequires: libmnl-devel
|
||||||
BuildRequires: dpdk-devel >= 17.05
|
|
||||||
BuildRequires: libnuma-devel
|
BuildRequires: libnuma-devel
|
||||||
BuildRequires: libpcap-devel
|
BuildRequires: libpcap-devel
|
||||||
%endif
|
%endif
|
||||||
@ -320,10 +317,9 @@ performance and connectivity issues in Open vSwitch setup.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n openvswitch-%{version}
|
%setup -q -n openvswitch-%{version}
|
||||||
%patch0 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
set -- * .travis* .mailmap
|
set -- * .travis* .mailmap .cirrus.yml
|
||||||
mkdir source
|
mkdir source
|
||||||
mv "$@" source/
|
mv "$@" source/
|
||||||
mkdir obj
|
mkdir obj
|
||||||
@ -552,7 +548,6 @@ fi
|
|||||||
# admin decide when it's the best time for an OvS restart.
|
# admin decide when it's the best time for an OvS restart.
|
||||||
# 5771f476573445710834234a6a9f7bd999a027e7 ("fedora: do not restart the service on a pkg upgrade")
|
# 5771f476573445710834234a6a9f7bd999a027e7 ("fedora: do not restart the service on a pkg upgrade")
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
export DISABLE_RESTART_ON_UPDATE=yes
|
|
||||||
%service_del_postun ovsdb-server.service
|
%service_del_postun ovsdb-server.service
|
||||||
%service_del_postun ovs-vswitchd.service
|
%service_del_postun ovs-vswitchd.service
|
||||||
%service_del_postun openvswitch.service
|
%service_del_postun openvswitch.service
|
||||||
@ -593,7 +588,6 @@ exit 0
|
|||||||
|
|
||||||
%preun
|
%preun
|
||||||
# This prevents networking breakages on package removals.
|
# This prevents networking breakages on package removals.
|
||||||
export DISABLE_STOP_ON_REMOVAL=yes
|
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
%service_del_preun ovsdb-server.service
|
%service_del_preun ovsdb-server.service
|
||||||
%service_del_preun ovs-vswitchd.service
|
%service_del_preun ovs-vswitchd.service
|
||||||
@ -672,7 +666,6 @@ export DISABLE_STOP_ON_REMOVAL=yes
|
|||||||
|
|
||||||
%preun ovn-central
|
%preun ovn-central
|
||||||
# This prevents networking breakages on package removals.
|
# This prevents networking breakages on package removals.
|
||||||
export DISABLE_STOP_ON_REMOVAL=yes
|
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
%service_del_preun ovn-northd.service
|
%service_del_preun ovn-northd.service
|
||||||
%else
|
%else
|
||||||
@ -689,7 +682,6 @@ export DISABLE_STOP_ON_REMOVAL=yes
|
|||||||
|
|
||||||
%preun ovn-host
|
%preun ovn-host
|
||||||
# This prevents networking breakages on package removals.
|
# This prevents networking breakages on package removals.
|
||||||
export DISABLE_STOP_ON_REMOVAL=yes
|
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
%service_del_preun ovn-controller.service
|
%service_del_preun ovn-controller.service
|
||||||
%else
|
%else
|
||||||
@ -706,7 +698,6 @@ export DISABLE_STOP_ON_REMOVAL=yes
|
|||||||
|
|
||||||
%preun ovn-vtep
|
%preun ovn-vtep
|
||||||
# This prevents networking breakages on package removals.
|
# This prevents networking breakages on package removals.
|
||||||
export DISABLE_STOP_ON_REMOVAL=yes
|
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
%service_del_preun ovn-controller-vtep.service
|
%service_del_preun ovn-controller-vtep.service
|
||||||
%else
|
%else
|
||||||
@ -736,7 +727,6 @@ export DISABLE_STOP_ON_REMOVAL=yes
|
|||||||
%postun ovn-common -p /sbin/ldconfig
|
%postun ovn-common -p /sbin/ldconfig
|
||||||
%postun ovn-host
|
%postun ovn-host
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
export DISABLE_RESTART_ON_UPDATE=yes
|
|
||||||
%service_del_postun ovn-controller.service
|
%service_del_postun ovn-controller.service
|
||||||
%else
|
%else
|
||||||
%if 0%{?systemd_postun:1}
|
%if 0%{?systemd_postun:1}
|
||||||
@ -748,7 +738,6 @@ export DISABLE_STOP_ON_REMOVAL=yes
|
|||||||
|
|
||||||
%postun ovn-vtep
|
%postun ovn-vtep
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
export DISABLE_RESTART_ON_UPDATE=yes
|
|
||||||
%service_del_postun ovn-controller-vtep.service
|
%service_del_postun ovn-controller-vtep.service
|
||||||
%else
|
%else
|
||||||
%if 0%{?systemd_postun:1}
|
%if 0%{?systemd_postun:1}
|
||||||
@ -760,7 +749,6 @@ export DISABLE_STOP_ON_REMOVAL=yes
|
|||||||
|
|
||||||
%preun test
|
%preun test
|
||||||
# This prevents networking breakages on package removals.
|
# This prevents networking breakages on package removals.
|
||||||
export DISABLE_STOP_ON_REMOVAL=yes
|
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
%service_del_preun openvswitch-testcontroller
|
%service_del_preun openvswitch-testcontroller
|
||||||
%else
|
%else
|
||||||
@ -777,7 +765,6 @@ export DISABLE_STOP_ON_REMOVAL=yes
|
|||||||
|
|
||||||
%postun test
|
%postun test
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
export DISABLE_RESTART_ON_UPDATE=yes
|
|
||||||
%service_del_postun openvswitch-testcontroller
|
%service_del_postun openvswitch-testcontroller
|
||||||
%else
|
%else
|
||||||
%if 0%{?systemd_postun:1}
|
%if 0%{?systemd_postun:1}
|
||||||
@ -819,6 +806,7 @@ export DISABLE_STOP_ON_REMOVAL=yes
|
|||||||
%{_datadir}/openvswitch/scripts/ovs-ctl
|
%{_datadir}/openvswitch/scripts/ovs-ctl
|
||||||
%{_datadir}/openvswitch/scripts/ovs-kmod-ctl
|
%{_datadir}/openvswitch/scripts/ovs-kmod-ctl
|
||||||
%{_datadir}/openvswitch/scripts/ovs-lib
|
%{_datadir}/openvswitch/scripts/ovs-lib
|
||||||
|
%{_datadir}/openvswitch/scripts/ovs-monitor-ipsec
|
||||||
%{_datadir}/openvswitch/scripts/ovs-save
|
%{_datadir}/openvswitch/scripts/ovs-save
|
||||||
%{_datadir}/openvswitch/vswitch.ovsschema
|
%{_datadir}/openvswitch/vswitch.ovsschema
|
||||||
%{_mandir}/man1/ovsdb-client.1%{?ext_man}
|
%{_mandir}/man1/ovsdb-client.1%{?ext_man}
|
||||||
@ -826,6 +814,7 @@ export DISABLE_STOP_ON_REMOVAL=yes
|
|||||||
%{_mandir}/man1/ovsdb-tool.1%{?ext_man}
|
%{_mandir}/man1/ovsdb-tool.1%{?ext_man}
|
||||||
%{_mandir}/man5/ovs-vswitchd.conf.db.5%{?ext_man}
|
%{_mandir}/man5/ovs-vswitchd.conf.db.5%{?ext_man}
|
||||||
%{_mandir}/man5/ovsdb-server.5%{?ext_man}
|
%{_mandir}/man5/ovsdb-server.5%{?ext_man}
|
||||||
|
%{_mandir}/man7/ovs-actions.7%{?ext_man}
|
||||||
%{_mandir}/man7/ovs-fields.7%{?ext_man}
|
%{_mandir}/man7/ovs-fields.7%{?ext_man}
|
||||||
%{_mandir}/man8/ovs-appctl.8%{?ext_man}
|
%{_mandir}/man8/ovs-appctl.8%{?ext_man}
|
||||||
%{_mandir}/man8/ovs-bugtool.8%{?ext_man}
|
%{_mandir}/man8/ovs-bugtool.8%{?ext_man}
|
||||||
|
Loading…
Reference in New Issue
Block a user