commit openvswitch for openSUSE:Factory

2020-11-04 Thread root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2020-11-04 18:26:04

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new.11331 (New)


Package is "openvswitch"

Wed Nov  4 18:26:04 2020 rev:53 rq:845688 version:unknown

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2020-09-29 
19:05:46.974052592 +0200
+++ /work/SRC/openSUSE:Factory/.openvswitch.new.11331/openvswitch.changes   
2020-11-04 18:31:19.468289753 +0100
@@ -1,0 +2,6 @@
+Tue Nov  3 10:50:49 UTC 2020 - Jaime Caamaño Ruiz 
+
+- Replaced `%service_del_postun -n` with `%service_del_postun_without_restart`
+  (bsc#1117483).
+
+---



Other differences:
--
++ openvswitch.spec ++
--- /var/tmp/diff_new_pack.Ni6SZl/_old  2020-11-04 18:31:20.168288201 +0100
+++ /var/tmp/diff_new_pack.Ni6SZl/_new  2020-11-04 18:31:20.172288192 +0100
@@ -797,7 +797,7 @@
 # admin decide when it's the best time for an OvS restart.
 # 5771f476573445710834234a6a9f7bd999a027e7 ("fedora: do not restart the 
service on a pkg upgrade")
 %if 0%{?suse_version}
-%service_del_postun -n ovsdb-server.service -n ovs-vswitchd.service -n 
openvswitch.service -n ovs-delete-transient-ports.service
+%service_del_postun_without_restart ovsdb-server.service 
ovs-vswitchd.service openvswitch.service ovs-delete-transient-ports.service
 %else
 %if 0%{?systemd_postun:1}
 %systemd_postun openvswitch.service
@@ -808,12 +808,12 @@
 
 %postun ipsec
 %if 0%{?suse_version}
-   %service_del_postun -n openvswitch-ipsec.service
+   %service_del_postun_without_restart openvswitch-ipsec.service
 %endif
 
 %postun test
 %if 0%{?suse_version}
-%service_del_postun -n openvswitch-testcontroller
+%service_del_postun_without_restart openvswitch-testcontroller
 %else
 %if 0%{?systemd_postun:1}
 %systemd_postun openvswitch-testcontroller.service
@@ -1015,7 +1015,7 @@
 
 %postun -n ovn-central
 %if 0%{?suse_version}
-%service_del_postun -n ovn-northd.service
+%service_del_postun_without_restart ovn-northd.service
 %else
 %if 0%{?systemd_postun:1}
 %systemd_postun ovn-northd.service
@@ -1026,7 +1026,7 @@
 
 %postun -n ovn-host
 %if 0%{?suse_version}
-%service_del_postun -n ovn-controller.service
+%service_del_postun_without_restart ovn-controller.service
 %else
 %if 0%{?systemd_postun:1}
 %systemd_postun ovn-controller.service
@@ -1037,7 +1037,7 @@
 
 %postun -n ovn-vtep
 %if 0%{?suse_version}
-%service_del_postun -n ovn-controller-vtep.service
+%service_del_postun_without_restart ovn-controller-vtep.service
 %else
 %if 0%{?systemd_postun:1}
 %systemd_postun ovn-controller-vtep.service




commit openvswitch for openSUSE:Factory

2020-09-29 Thread root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2020-09-29 19:05:38

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new.4249 (New)


Package is "openvswitch"

Tue Sep 29 19:05:38 2020 rev:52 rq:838587 version:unknown

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2020-09-04 
11:14:06.319090839 +0200
+++ /work/SRC/openSUSE:Factory/.openvswitch.new.4249/openvswitch.changes
2020-09-29 19:05:46.974052592 +0200
@@ -1,0 +2,7 @@
+Tue Sep 29 10:41:30 UTC 2020 - Jaime Caamaño Ruiz 
+
+- Fix wrong default directories for OVS python utilities (bsc#1176273). 
+- Add upstream patches to fix openvswitch-ipsec service (bsc#1176273).
+  * 0001-ipsec-Fix-Strongswan-configuration-syntax.patch
+
+---
@@ -4 +11 @@
-- Update openvswitch to 2.13.0. For a list of changes, check
+- Update openvswitch to 2.14.0. For a list of changes, check

New:

  0001-ipsec-Fix-Strongswan-configuration-syntax.patch



Other differences:
--
++ openvswitch.spec ++
--- /var/tmp/diff_new_pack.J68k37/_old  2020-09-29 19:05:47.694053319 +0200
+++ /var/tmp/diff_new_pack.J68k37/_new  2020-09-29 19:05:47.698053323 +0200
@@ -70,6 +70,8 @@
 Patch3: 0001-rhel-Fix-reload-of-OVS_USER_ID-on-startup.patch
 # PATCH-FIX-OPENSUSE: 0001-Use-double-hash-for-OVS_USER_ID-comment.patch
 Patch4: 0001-Use-double-hash-for-OVS_USER_ID-comment.patch
+# PATCH-FIX-UPSTREAM: 0001-ipsec-Fix-Strongswan-configuration-syntax.patch
+Patch5: 0001-ipsec-Fix-Strongswan-configuration-syntax.patch
 #OVN patches
 # PATCH-FIX-OPENSUSE: 0001-Run-ovn-as-openvswitch-openvswitch.patch
 Patch20:0001-Run-ovn-as-openvswitch-openvswitch.patch
@@ -261,6 +263,7 @@
 # OVN preambles from now on, overwrites Version and URL
 %package -n ovn
 Version:%{ovn_version}
+Release:0
 Summary:Open Virtual Network diagnostic utilities
 License:Apache-2.0
 Group:  Productivity/Networking/System
@@ -285,6 +288,7 @@
 
 %package -n ovn-central
 Version:%{ovn_version}
+Release:0
 Summary:Open Virtual Network support for Open vSwitch
 License:Apache-2.0
 Group:  Productivity/Networking/System
@@ -293,8 +297,8 @@
 Requires:   ovn = %{ovn_version}
 # openvswitch-ovn has been split into 
openvswitch-ovn-{central,common,docker,host,vtep}
 Provides:   %{name}-dpdk-ovn:%{_bindir}/ovn-northd
-Provides:   %{name}-ovn:%{_bindir}/ovn-northd
 Provides:   %{name}-ovn-central = %{ovn_version}
+Provides:   %{name}-ovn:%{_bindir}/ovn-northd
 Obsoletes:  %{name}-ovn-central < 2.13.0
 
 %description -n ovn-central
@@ -302,6 +306,7 @@
 
 %package -n ovn-host
 Version:%{ovn_version}
+Release:0
 Summary:Open Virtual Network support for Open vSwitch
 License:Apache-2.0
 Group:  Productivity/Networking/System
@@ -310,8 +315,8 @@
 Requires:   ovn = %{ovn_version}
 # openvswitch-ovn has been split into 
openvswitch-ovn-{central,common,docker,host,vtep}
 Provides:   %{name}-dpdk-ovn:%{_bindir}/ovn-controller
-Provides:   %{name}-ovn:%{_bindir}/ovn-controller
 Provides:   %{name}-ovn-host = %{ovn_version}
+Provides:   %{name}-ovn:%{_bindir}/ovn-controller
 Obsoletes:  %{name}-ovn-host < 2.13.0
 
 %description -n ovn-host
@@ -319,6 +324,7 @@
 
 %package -n ovn-vtep
 Version:%{ovn_version}
+Release:0
 Summary:Open Virtual Network VTEP controller for Open vSwitch
 License:Apache-2.0
 Group:  Productivity/Networking/System
@@ -327,8 +333,8 @@
 Requires:   ovn = %{ovn_version}
 # openvswitch-ovn has been split into 
openvswitch-ovn-{central,common,docker,host,vtep}
 Provides:   %{name}-dpdk-ovn:%{_bindir}/ovn-controller-vtep
-Provides:   %{name}-ovn:%{_bindir}/ovn-controller-vtep
 Provides:   %{name}-ovn-vtep = %{ovn_version}
+Provides:   %{name}-ovn:%{_bindir}/ovn-controller-vtep
 Obsoletes:  %{name}-ovn-vtep < 2.13.0
 
 %description -n ovn-vtep
@@ -336,6 +342,7 @@
 
 %package -n ovn-docker
 Version:%{ovn_version}
+Release:0
 Summary:Docker network plugins for OVN
 License:Apache-2.0
 Group:  Productivity/Networking/System
@@ -345,8 +352,8 @@
 Requires:   python3-openvswitch = %{ovs_version}
 # openvswitch-ovn has been split into 
openvswitch-ovn-{central,common,docker,host,vtep}
 Provides:   %{name}-dpdk-ovn:%{_bindir}/ovn-docker-overlay-driver
-Provides:   %{name}-ovn:%{_bindir}/ovn-docker-overlay-driver
 Provides:   %{name}-ovn-docker = %{ovn_version}
+Provides:  

commit openvswitch for openSUSE:Factory

2020-09-04 Thread root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2020-09-04 11:13:05

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new.3399 (New)


Package is "openvswitch"

Fri Sep  4 11:13:05 2020 rev:51 rq:831923 version:unknown

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2020-06-23 
21:05:48.278076806 +0200
+++ /work/SRC/openSUSE:Factory/.openvswitch.new.3399/openvswitch.changes
2020-09-04 11:14:06.319090839 +0200
@@ -1,0 +2,8 @@
+Tue Sep  1 13:50:47 UTC 2020 - Jaime Caamaño Ruiz 
+
+- Update openvswitch to 2.13.0. For a list of changes, check
+  https://github.com/openvswitch/ovs/blob/v2.14.0/NEWS 
+- Update OVN to 20.06.2. For a list of changes, check
+  https://github.com/ovn-org/ovn/blob/v20.06.2/NEWS 
+
+---

Old:

  openvswitch-2.13.0.tar.gz
  ovn-20.03.0.tar.gz

New:

  openvswitch-2.14.0.tar.gz
  ovn-20.06.2.tar.gz



Other differences:
--
++ openvswitch.spec ++
--- /var/tmp/diff_new_pack.YZfI11/_old  2020-09-04 11:14:08.379091874 +0200
+++ /var/tmp/diff_new_pack.YZfI11/_new  2020-09-04 11:14:08.383091877 +0200
@@ -17,10 +17,10 @@
 # needssslcertforbuild
 
 
-%define ovs_lname libopenvswitch-2_13-0
-%define ovn_lname libovn-20_03-0
-%define ovs_version 2.13.0
-%define ovn_version 20.03.0
+%define ovs_lname libopenvswitch-2_14-0
+%define ovn_lname libovn-20_06-0
+%define ovs_version 2.14.0
+%define ovn_version 20.06.2
 %define ovs_dir ovs-%{ovs_version}
 %define ovn_dir ovn-%{ovn_version}
 %define rpmstate %{_rundir}/openvswitch-rpm-state-

++ openvswitch-2.13.0.tar.gz -> openvswitch-2.14.0.tar.gz ++
/work/SRC/openSUSE:Factory/openvswitch/openvswitch-2.13.0.tar.gz 
/work/SRC/openSUSE:Factory/.openvswitch.new.3399/openvswitch-2.14.0.tar.gz 
differ: char 5, line 1

++ ovn-20.03.0.tar.gz -> ovn-20.06.2.tar.gz ++
 31670 lines of diff (skipped)




commit openvswitch for openSUSE:Factory

2020-06-23 Thread root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2020-06-23 21:05:16

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new.2956 (New)


Package is "openvswitch"

Tue Jun 23 21:05:16 2020 rev:50 rq:816321 version:unknown

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2020-06-04 
17:56:58.353102473 +0200
+++ /work/SRC/openSUSE:Factory/.openvswitch.new.2956/openvswitch.changes
2020-06-23 21:05:48.278076806 +0200
@@ -1,0 +2,11 @@
+Mon Jun 15 13:21:22 UTC 2020 - Jaime Caamaño Ruiz 
+
+- Fix preserving old default OVS_USER_ID for users that removed the
+  override at /etc/sysconfig/openvswitch or for users affected by
+  fillup bug below (bsc#1172861).
+- Add patch to workaround a possible fillup issue that could cause
+  existing openvswitch configuration to be unintendedly altered during
+  upgrades (bsc#1172929).
+  * 0001-Use-double-hash-for-OVS_USER_ID-comment.patch
+
+---

New:

  0001-Use-double-hash-for-OVS_USER_ID-comment.patch



Other differences:
--
++ openvswitch.spec ++
--- /var/tmp/diff_new_pack.Ic0L7i/_old  2020-06-23 21:05:48.830078590 +0200
+++ /var/tmp/diff_new_pack.Ic0L7i/_new  2020-06-23 21:05:48.834078602 +0200
@@ -68,6 +68,8 @@
 Patch2: 0001-Don-t-change-permissions-of-dev-hugepages.patch
 # PATCH-FIX-UPSTREAM: 0001-rhel-Fix-reload-of-OVS_USER_ID-on-startup.patch
 Patch3: 0001-rhel-Fix-reload-of-OVS_USER_ID-on-startup.patch
+# PATCH-FIX-OPENSUSE: 0001-Use-double-hash-for-OVS_USER_ID-comment.patch
+Patch4: 0001-Use-double-hash-for-OVS_USER_ID-comment.patch
 #OVN patches
 # PATCH-FIX-OPENSUSE: 0001-Run-ovn-as-openvswitch-openvswitch.patch
 Patch20:0001-Run-ovn-as-openvswitch-openvswitch.patch
@@ -387,6 +389,7 @@
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 cd %{ovn_dir}
 %patch20 -p1
 
@@ -825,19 +828,47 @@
 systemctl enable openvswitch.service
 fi
 
+ovsdbdir_regex="^[[:space:]]*OVS_DBDIR[[:space:]]*="
+ovsuserid_regex="^[[:space:]]*OVS_USER_ID[[:space:]]*="
+ovsvar_valueregex="[^=]*=[[:space:]]*["'"'"']{0,1}([^"'"'"']*)["'"'"']{0,1}[[:space:]]*$"
+conf="%{_sysconfdir}/sysconfig/openvswitch"
+ovsdbdir=$(grep -E "${ovsdbdir_regex}" "${conf}" | tail -1 | sed -E --posix 
's|'"${ovsvar_valueregex}"'|\1|')
+ovsuserid=$(grep -E "${ovsuserid_regex}" "${conf}" | tail -1 | sed -E --posix 
's|'"${ovsvar_valueregex}"'|\1|')
+
 # Default DB path changed from /etc/openvswitch to /var/lib/openvswitch.
 # But try to keep the old path for upgraded users already making use of it.
-ovsdbpid=$(systemctl is-active --quiet ovsdb-server && systemctl show -p 
MainPID --value ovsdb-server || echo 0)
-if [ $ovsdbpid -gt 0 ] && [ -n "$(find /proc/$ovsdbpid/fd/ -type l -lname 
'%{_sysconfdir}/openvswitch/conf.db')" ]; then
+if [ -z "$ovsdbdir" ]; then
+ovsdbpid=$(systemctl is-active --quiet ovsdb-server && systemctl show -p 
MainPID --value ovsdb-server || echo 0)
+if [ $ovsdbpid -gt 0 ] && [ -n "$(find /proc/$ovsdbpid/fd/ -type l -lname 
'%{_sysconfdir}/openvswitch/conf.db')" ]; then
 # We have ovsdb-server pid from the unit file with DB open at the old path.
-# If we did not override OVS_DBDIR already, do it.
-if ! grep -qE "^OVS_DBDIR=" %{_sysconfdir}/sysconfig/openvswitch; then
-sed -i -e '1{r /dev/stdin' -e 'N}' 
%{_sysconfdir}/sysconfig/openvswitch << EOF
+ovsdbdir="%{_sysconfdir}/openvswitch"
+sed -i -e '1{r /dev/stdin' -e 'N}' 
"%{_sysconfdir}/sysconfig/openvswitch" << EOF
+
 # OVS_DBDIR was automatically inserted here on openvswitch package upgrade to
 # preserve the currently used /etc/openvswitch as the database directory.
 # Note that new installs use /var/lib/openvswitch as the default database
 # directory by omission.
-OVS_DBDIR=%{_sysconfdir}/openvswitch
+OVS_DBDIR="%{_sysconfdir}/openvswitch"
+
+EOF
+fi
+fi
+
+# Default OVS user changed from root:root to openvswitch:openvswitch.
+# But try to keep root:root for upgraded users already making use of it.
+# Use .conf.db.~lock~ instead of conf.db as conf.db might have been moved
+# to a backup on a previous run attempt.
+if [ -z "$ovsuserid" -a -n "$ovsdbdir" -a -f "$ovsdbdir/.conf.db.~lock~" ]; 
then
+ovsuserid=$(stat -c "%U:%G" "$ovsdbdir/.conf.db.~lock~")
+if [ "$ovsuserid" = "root:root" ]; then
+sed -i -e '1{r /dev/stdin' -e 'N}' 
"%{_sysconfdir}/sysconfig/openvswitch" << EOF
+
+# OVS_USER_ID was automatically inserted here on openvswitch package upgrade to
+# preserve the currently used root:root as the openvswitch running credentials.
+# Note that new installs use 

commit openvswitch for openSUSE:Factory

2020-06-04 Thread root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2020-06-04 17:56:54

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new.3606 (New)


Package is "openvswitch"

Thu Jun  4 17:56:54 2020 rev:49 rq:811480 version:unknown

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2020-06-02 
14:43:58.780534309 +0200
+++ /work/SRC/openSUSE:Factory/.openvswitch.new.3606/openvswitch.changes
2020-06-04 17:56:58.353102473 +0200
@@ -1,0 +2,5 @@
+Wed Jun  3 14:53:21 UTC 2020 - Jaime Caamaño Ruiz 
+
+- add missing provides/obsoletes for python3-openvswitch-test 
+
+---



Other differences:
--
++ openvswitch.spec ++
--- /var/tmp/diff_new_pack.SeuVpt/_old  2020-06-04 17:56:59.113104853 +0200
+++ /var/tmp/diff_new_pack.SeuVpt/_new  2020-06-04 17:56:59.117104865 +0200
@@ -247,6 +247,8 @@
 Requires:   python3
 Requires:   python3-Twisted
 Requires:   python3-ovs = %{version}
+Provides:   python3-%{name}-test = %{version}
+Obsoletes:  python3-%{name}-test < 2.13.0
 
 %description test
 Open vSwitch is a software-based Ethernet switch.




commit openvswitch for openSUSE:Factory

2020-06-02 Thread root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2020-06-02 14:43:07

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new.3606 (New)


Package is "openvswitch"

Tue Jun  2 14:43:07 2020 rev:48 rq:807822 version:unknown

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2020-02-14 
16:39:23.783653350 +0100
+++ /work/SRC/openSUSE:Factory/.openvswitch.new.3606/openvswitch.changes
2020-06-02 14:43:58.780534309 +0200
@@ -1,0 +2,34 @@
+Mon May  4 11:38:26 UTC 2020 - Jaime Caamaño Ruiz 
+
+- Update openvswitch to 2.13.0. 
+  * For a list of changes, check
+https://github.com/openvswitch/ovs/blob/v2.13.0/NEWS 
+  * This version drops python2 binding support. Only python3 bindings
+provided going forward.
+  * Tool ovs-vlan-bug-workaround is no longer provided.
+- OVN was split to its own repo but is still built together with OVS and as
+  such from this same source package. OVN initial version is 20.03.
+  * For a list of changes, check
+https://github.com/ovn-org/ovn/blob/v20.03.0/NEWS
+  * Packages openvswitch-ovn* are renamed to ovn*.
+  * OVN now has its own sysconfig and log paths.
+- Add OVS patch to be proposed upstream:
+  * 0001-rhel-Fix-reload-of-OVS_USER_ID-on-startup.patch
+- Patch instead of post-processing configuration files to set running
+  credentials (bsc#1157338):
+  * 0001-Run-openvswitch-as-openvswitch-openvswitch.patch
+  * 0001-Run-ovn-as-openvswitch-openvswitch.patch
+- Will no longer change group ownership of /dev/hugepages to 'hugetlbfs'
+  (bsc#1140835). System admin should mount hugepages on a path and permissions 
of
+  his choosing for OVS. Add patch:
+  * 0001-Don-t-change-permissions-of-dev-hugepages.patch
+- Will no longer install udev rule to change group ownership of vfio devices to
+  'hugetlbfs'. Group name does not make much sense in this case and ownership 
of
+  vfio devices should be coordinated system wide or per device.
+- Will no longer run under group 'hugetlbfs' on new installs with DPDK enabled.
+  OVS will now run under group 'openvswitch' whether compiled with DPDK support
+  or not.
+- OVS persistent state is now saved on /var/lib/openvswitch instead of
+  /etc/openvswitch for new installs.
+
+---

Old:

  openvswitch-2.12.0.tar.gz

New:

  0001-Don-t-change-permissions-of-dev-hugepages.patch
  0001-Run-openvswitch-as-openvswitch-openvswitch.patch
  0001-Run-ovn-as-openvswitch-openvswitch.patch
  0001-rhel-Fix-reload-of-OVS_USER_ID-on-startup.patch
  openvswitch-2.13.0.tar.gz
  ovn-20.03.0.tar.gz



Other differences:
--
++ openvswitch.spec ++
 1453 lines (skipped)
 between /work/SRC/openSUSE:Factory/openvswitch/openvswitch.spec
 and /work/SRC/openSUSE:Factory/.openvswitch.new.3606/openvswitch.spec

++ 0001-Don-t-change-permissions-of-dev-hugepages.patch ++
>From e54cce931bafa12176989a5d59e3839f1bcfdf0c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jaime=20Caama=C3=B1o=20Ruiz?= 
Date: Wed, 6 May 2020 16:32:28 +0200
Subject: [PATCH 1/2] Don't change permissions of /dev/hugepages

For SLES/openSUSE, don't change permissions of /dev/hugepages as that is
a system path. Sysadmin shoudl mount hugepages on a path and permission
of his choosing if OVS either manually or via hugeadm.
---
 rhel/usr_lib_systemd_system_ovs-vswitchd.service.in | 4 
 1 file changed, 4 deletions(-)

diff --git a/rhel/usr_lib_systemd_system_ovs-vswitchd.service.in 
b/rhel/usr_lib_systemd_system_ovs-vswitchd.service.in
index ff43dae96..08355d950 100644
--- a/rhel/usr_lib_systemd_system_ovs-vswitchd.service.in
+++ b/rhel/usr_lib_systemd_system_ovs-vswitchd.service.in
@@ -16,10 +16,6 @@ EnvironmentFile=/etc/openvswitch/default.conf
 EnvironmentFile=-/etc/sysconfig/openvswitch
 EnvironmentFile=-/run/openvswitch.useropts
 LimitSTACK=2M
-@begin_dpdk@
-ExecStartPre=-/bin/sh -c '/usr/bin/chown :$${OVS_USER_ID##*:} /dev/hugepages'
-ExecStartPre=-/usr/bin/chmod 0775 /dev/hugepages
-@end_dpdk@
 ExecStart=/usr/share/openvswitch/scripts/ovs-ctl \
   --no-ovsdb-server --no-monitor --system-id=random \
   ${OVS_USER_OPT} \
-- 
2.16.4

++ 0001-Run-openvswitch-as-openvswitch-openvswitch.patch ++
>From 4de3a6e6fc67125a900913598344881c0b0bed71 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jaime=20Caama=C3=B1o=20Ruiz?= 
Date: Fri, 8 May 2020 11:15:57 +0200
Subject: [PATCH] Run openvswitch as openvswitch:openvswitch

Change default run configuration to unprivilieged user openvswitch and
group openvswitch. Expect any further customization from user in
sysconfig/openvswitch, including setting it back to 

commit openvswitch for openSUSE:Factory

2020-02-14 Thread root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2020-02-14 16:39:18

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new.26092 (New)


Package is "openvswitch"

Fri Feb 14 16:39:18 2020 rev:47 rq:774221 version:2.12.0

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2019-10-31 
22:39:04.885384309 +0100
+++ /work/SRC/openSUSE:Factory/.openvswitch.new.26092/openvswitch.changes   
2020-02-14 16:39:23.783653350 +0100
@@ -1,0 +2,5 @@
+Thu Feb 13 18:06:02 UTC 2020 - Dirk Mueller 
+
+- add missing sortedcontainers dependency to the python bindings
+
+---



Other differences:
--
++ openvswitch.spec ++
--- /var/tmp/diff_new_pack.66SdY2/_old  2020-02-14 16:39:24.551653778 +0100
+++ /var/tmp/diff_new_pack.66SdY2/_new  2020-02-14 16:39:24.555653780 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package openvswitch
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -49,7 +49,7 @@
 # - utilities/bugtool which is LGPL-2.1
 License:Apache-2.0 AND LGPL-2.1-only AND SISSL
 Group:  Productivity/Networking/System
-Url:http://openvswitch.org/
+URL:http://openvswitch.org/
 Source0:http://openvswitch.org/releases/openvswitch-%{version}.tar.gz
 Source1:preamble
 Source89:   Module.supported.updates
@@ -292,6 +292,7 @@
 Requires:   %{lname} = %{version}
 Requires:   python2
 Requires:   python2-six
+Requires:   python2-sortedcontainers
 Provides:   python-%{name} = %{version}
 Provides:   python-ovs = %{version}
 Provides:   python2-%{name} = %{version}
@@ -309,6 +310,7 @@
 Requires:   %{lname} = %{version}
 Requires:   python3
 Requires:   python3-six
+Requires:   python3-sortedcontainers
 Provides:   python3-%{name} = %{version}
 Obsoletes:  python3-%{name} < 2.10.1
 




commit openvswitch for openSUSE:Factory

2019-10-31 Thread root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2019-10-31 22:39:03

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new.2990 (New)


Package is "openvswitch"

Thu Oct 31 22:39:03 2019 rev:46 rq:744470 version:2.12.0

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2019-08-09 
16:53:42.769463971 +0200
+++ /work/SRC/openSUSE:Factory/.openvswitch.new.2990/openvswitch.changes
2019-10-31 22:39:04.885384309 +0100
@@ -1,0 +2,11 @@
+Mon Oct 28 14:56:34 UTC 2019 - Jaime Caamaño Ruiz 
+
+- Update openvswitch to 2.12.0. For a list of changes, check
+  https://github.com/openvswitch/ovs/blob/master/NEWS 
+- Removed patches that are already included upstream:
+  * 0001-rhel-secure-openvswitch-useropts.patch
+  * 0002-rhel-let-ctl-handle-runtime-directory.patch
+- Rebased patches:
+  * 0001-Use-strongswan-for-openvswitch-ipsec-service.patch
+
+---

Old:

  0001-rhel-secure-openvswitch-useropts.patch
  0002-rhel-let-ctl-handle-runtime-directory.patch
  openvswitch-2.11.1.tar.gz

New:

  openvswitch-2.12.0.tar.gz



Other differences:
--
++ openvswitch.spec ++
--- /var/tmp/diff_new_pack.DdvRxz/_old  2019-10-31 22:39:06.153385884 +0100
+++ /var/tmp/diff_new_pack.DdvRxz/_new  2019-10-31 22:39:06.185385924 +0100
@@ -22,7 +22,7 @@
 %if ! %{defined _fillupdir}
   %define _fillupdir %{_localstatedir}/adm/fillup-templates
 %endif
-%define lname libopenvswitch-2_11-0
+%define lname libopenvswitch-2_12-0
 %ifarch aarch64 x86_64
 %if 0%{?suse_version}
 # DPDK enabled only SUSE/openSUSE
@@ -41,7 +41,7 @@
 # Disable building the external kernel datapath by default
 %bcond_with kmp
 Name:   openvswitch
-Version:2.11.1
+Version:2.12.0
 Release:0
 Summary:A multilayer virtual network switch
 # All code is Apache-2.0 except
@@ -55,10 +55,6 @@
 Source89:   Module.supported.updates
 # PATCH-FIX-OPENSUSE: Use-strongswan-for-openvswitch-ipsec-service.patch
 Patch0: 0001-Use-strongswan-for-openvswitch-ipsec-service.patch
-# PATCH-FIX-UPSTREAM: 0001-rhel-secure-openvswitch-useropts.patch
-Patch1: 0001-rhel-secure-openvswitch-useropts.patch
-# PATCH-FIX-UPSTREAM: 0002-rhel-let-ctl-handle-runtime-directory.patch
-Patch2: 0002-rhel-let-ctl-handle-runtime-directory.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  graphviz
@@ -118,9 +114,9 @@
 %if %{with dpdk}
 # We need to be a bit strict with the dpdk version since
 # it's very possible for DPDK to change it's API between
-# releases. This version currently requires 18.11.
+# releases. This version currently requires 18.11.2.
 BuildRequires:  dpdk-devel < 18.12
-BuildRequires:  dpdk-devel >= 18.11
+BuildRequires:  dpdk-devel >= 18.11.2
 BuildRequires:  libmnl-devel
 BuildRequires:  libnuma-devel
 BuildRequires:  libpcap-devel
@@ -343,8 +339,6 @@
 %prep
 %setup -q -n openvswitch-%{version}
 %patch0 -p1
-%patch1 -p1
-%patch2 -p1
 
 %build
 set -- * .travis* .mailmap .cirrus.yml

++ 0001-Use-strongswan-for-openvswitch-ipsec-service.patch ++
--- /var/tmp/diff_new_pack.DdvRxz/_old  2019-10-31 22:39:06.233385984 +0100
+++ /var/tmp/diff_new_pack.DdvRxz/_new  2019-10-31 22:39:06.233385984 +0100
@@ -1,7 +1,7 @@
-From 6aca005f17aecf003da9a85f8dd099baef771572 Mon Sep 17 00:00:00 2001
+From f786cf97880bdf1ebed65db2f560ff15f1f29413 Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Jaime=20Caama=C3=B1o=20Ruiz?= 
-Date: Fri, 26 Apr 2019 15:27:05 +0200
-Subject: [PATCH 1/6] Use strongswan for openvswitch-ipsec service
+Date: Mon, 28 Oct 2019 15:14:19 +0100
+Subject: [PATCH] Use strongswan for openvswitch-ipsec service
 
 Since libreswan is not packaged for Leap/SLES, use strongswan for the
 time being.
@@ -10,12 +10,12 @@
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/rhel/usr_lib_systemd_system_openvswitch-ipsec.service 
b/rhel/usr_lib_systemd_system_openvswitch-ipsec.service
-index 6e309aa57..34e3f4c90 100644
+index d8f47af68..3c4a40138 100644
 --- a/rhel/usr_lib_systemd_system_openvswitch-ipsec.service
 +++ b/rhel/usr_lib_systemd_system_openvswitch-ipsec.service
-@@ -6,7 +6,7 @@ After=openvswitch.service
- [Service]
+@@ -7,7 +7,7 @@ After=openvswitch.service
  Type=forking
+ PIDFile=/var/run/openvswitch/ovs-monitor-ipsec.pid
  ExecStart=/usr/share/openvswitch/scripts/ovs-ctl \
 ---ike-daemon=libreswan start-ovs-ipsec
 +--ike-daemon=strongswan start-ovs-ipsec

++ openvswitch-2.11.1.tar.gz -> openvswitch-2.12.0.tar.gz ++
/work/SRC/openSUSE:Factory/openvswitch/openvswitch-2.11.1.tar.gz 

commit openvswitch for openSUSE:Factory

2019-08-09 Thread root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2019-08-09 16:53:41

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new.9556 (New)


Package is "openvswitch"

Fri Aug  9 16:53:41 2019 rev:45 rq:721761 version:2.11.1

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2019-07-18 
15:20:11.272146550 +0200
+++ /work/SRC/openSUSE:Factory/.openvswitch.new.9556/openvswitch.changes
2019-08-09 16:53:42.769463971 +0200
@@ -1,0 +2,5 @@
+Thu Aug  8 11:55:36 UTC 2019 -  
+
+- Fixed missing obsoletes for old python-ovs (bsc#1138948).
+
+---



Other differences:
--
++ openvswitch.spec ++
--- /var/tmp/diff_new_pack.KP03LN/_old  2019-08-09 16:53:43.853463711 +0200
+++ /var/tmp/diff_new_pack.KP03LN/_new  2019-08-09 16:53:43.857463710 +0200
@@ -300,6 +300,7 @@
 Provides:   python-ovs = %{version}
 Provides:   python2-%{name} = %{version}
 Obsoletes:  python-%{name} < 2.8.1
+Obsoletes:  python-ovs < 2.8.1
 Obsoletes:  python2-%{name} < 2.10.1
 
 %description -n python2-ovs




commit openvswitch for openSUSE:Factory

2019-06-24 Thread root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2019-06-24 21:52:55

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new.4615 (New)


Package is "openvswitch"

Mon Jun 24 21:52:55 2019 rev:43 rq:711567 version:2.11.1

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2019-06-12 
13:19:22.608549529 +0200
+++ /work/SRC/openSUSE:Factory/.openvswitch.new.4615/openvswitch.changes
2019-06-24 21:53:54.540131315 +0200
@@ -1,0 +2,5 @@
+Thu Jun 20 12:00:42 UTC 2019 -  
+
+- Update DPDK dependency to support DPDK 18.11.2. 
+
+---



Other differences:
--
++ openvswitch.spec ++
--- /var/tmp/diff_new_pack.18JrSq/_old  2019-06-24 21:53:56.524132848 +0200
+++ /var/tmp/diff_new_pack.18JrSq/_new  2019-06-24 21:53:56.568132882 +0200
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 # needssslcertforbuild
 
@@ -119,7 +119,8 @@
 # We need to be a bit strict with the dpdk version since
 # it's very possible for DPDK to change it's API between
 # releases. This version currently requires 18.11.
-BuildRequires:  dpdk-devel = 18.11
+BuildRequires:  dpdk-devel < 18.12
+BuildRequires:  dpdk-devel >= 18.11
 BuildRequires:  libmnl-devel
 BuildRequires:  libnuma-devel
 BuildRequires:  libpcap-devel




commit openvswitch for openSUSE:Factory

2019-06-12 Thread root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2019-06-12 13:19:18

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new.4811 (New)


Package is "openvswitch"

Wed Jun 12 13:19:18 2019 rev:42 rq:709321 version:2.11.1

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2019-05-15 
12:35:34.364341542 +0200
+++ /work/SRC/openSUSE:Factory/.openvswitch.new.4811/openvswitch.changes
2019-06-12 13:19:22.608549529 +0200
@@ -1,0 +2,7 @@
+Mon Jun 10 17:12:00 UTC 2019 -  
+
+- Add upstream patches to fix bsc#1135884:
+  * 0001-rhel-secure-openvswitch-useropts.patch  
+  * 0002-rhel-let-ctl-handle-runtime-directory.patch
+
+---

New:

  0001-rhel-secure-openvswitch-useropts.patch
  0002-rhel-let-ctl-handle-runtime-directory.patch



Other differences:
--
++ openvswitch.spec ++
--- /var/tmp/diff_new_pack.esOGgO/_old  2019-06-12 13:19:23.180549268 +0200
+++ /var/tmp/diff_new_pack.esOGgO/_new  2019-06-12 13:19:23.184549266 +0200
@@ -55,6 +55,10 @@
 Source89:   Module.supported.updates
 # PATCH-FIX-OPENSUSE: Use-strongswan-for-openvswitch-ipsec-service.patch
 Patch0: 0001-Use-strongswan-for-openvswitch-ipsec-service.patch
+# PATCH-FIX-UPSTREAM: 0001-rhel-secure-openvswitch-useropts.patch
+Patch1: 0001-rhel-secure-openvswitch-useropts.patch
+# PATCH-FIX-UPSTREAM: 0002-rhel-let-ctl-handle-runtime-directory.patch
+Patch2: 0002-rhel-let-ctl-handle-runtime-directory.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  graphviz
@@ -336,6 +340,8 @@
 %prep
 %setup -q -n openvswitch-%{version}
 %patch0 -p1
+%patch1 -p1
+%patch2 -p1
 
 %build
 set -- * .travis* .mailmap .cirrus.yml
@@ -903,6 +909,7 @@
 %endif
 %attr(750,root,root) %dir %{_localstatedir}/log/openvswitch
 %ghost %attr(755,root,root) %{_rundir}/openvswitch
+%ghost %attr(644,root,root) %{_rundir}/openvswitch.useropts
 %if %{with dpdk}
 %{_prefix}/lib/udev/rules.d/91-vfio.rules
 %endif

++ 0001-rhel-secure-openvswitch-useropts.patch ++
>From aec69da8a2385b3d1368b484aa247876fbc2018d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jaime=20Caama=C3=B1o=20Ruiz?= 
Date: Wed, 8 May 2019 13:53:47 +0200
Subject: [PATCH 1/2] rhel: secure openvswitch useropts
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

The openvswitch useropts file is being stored in a directory where the
openvswitch user has write permissions. The openvswitch user can then
manipulate the file to change the user under which switchd daemon runs.

This patch changes the file to /var/openvswitch.useropts preventing any
manipulation.

Signed-off-by: Jaime Caamaño Ruiz 
Signed-off-by: Ben Pfaff 
---
 rhel/usr_lib_systemd_system_ovsdb-server.service | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rhel/usr_lib_systemd_system_ovsdb-server.service 
b/rhel/usr_lib_systemd_system_ovsdb-server.service
index 70da1ec95..0f9d936b3 100644
--- a/rhel/usr_lib_systemd_system_ovsdb-server.service
+++ b/rhel/usr_lib_systemd_system_ovsdb-server.service
@@ -11,8 +11,8 @@ Restart=on-failure
 EnvironmentFile=/etc/openvswitch/default.conf
 EnvironmentFile=-/etc/sysconfig/openvswitch
 ExecStartPre=/usr/bin/chown ${OVS_USER_ID} /var/run/openvswitch 
/var/log/openvswitch
-ExecStartPre=/bin/sh -c 'rm -f /run/openvswitch/useropts; if [ 
"$${OVS_USER_ID/:*/}" != "root" ]; then /usr/bin/echo 
"OVSUSER=--ovs-user=${OVS_USER_ID}" > /run/openvswitch/useropts; fi'
-EnvironmentFile=-/run/openvswitch/useropts
+ExecStartPre=/bin/sh -c 'rm -f /run/openvswitch.useropts; if [ 
"$${OVS_USER_ID/:*/}" != "root" ]; then /usr/bin/echo 
"OVSUSER=--ovs-user=${OVS_USER_ID}" > /run/openvswitch.useropts; fi'
+EnvironmentFile=-/run/openvswitch.useropts
 ExecStart=/usr/share/openvswitch/scripts/ovs-ctl \
   --no-ovs-vswitchd --no-monitor --system-id=random \
   ${OVSUSER} \
-- 
2.16.4

++ 0002-rhel-let-ctl-handle-runtime-directory.patch ++
>From eb48aba90b582df6dd7d2798a34ac31f7ed68282 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jaime=20Caama=C3=B1o=20Ruiz?= 
Date: Mon, 10 Jun 2019 14:58:10 +0200
Subject: [PATCH] rhel: let *-ctl handle runtime directory
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Recent versions of systemd restores RuntimeDirectory ownership to the
unit's User in between execution of *Exec directives (see [1]). Using
ExecStartPre to reset RuntimeDirectory ownership to OVS_USER no longer
works as expected.

The ctl scripts already handle creation of the runtime directory with
correct ownership and permissions 

commit openvswitch for openSUSE:Factory

2019-05-15 Thread root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2019-05-15 12:35:32

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new.5148 (New)


Package is "openvswitch"

Wed May 15 12:35:32 2019 rev:41 rq:703094 version:2.11.1

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2019-05-06 
13:28:18.705393139 +0200
+++ /work/SRC/openSUSE:Factory/.openvswitch.new.5148/openvswitch.changes
2019-05-15 12:35:34.364341542 +0200
@@ -1,0 +2,5 @@
+Mon May  6 17:08:26 UTC 2019 -  
+
+- Use temporary directory for python build. 
+
+---



Other differences:
--
++ openvswitch.spec ++
--- /var/tmp/diff_new_pack.rDhTja/_old  2019-05-15 12:35:36.232336590 +0200
+++ /var/tmp/diff_new_pack.rDhTja/_new  2019-05-15 12:35:36.232336590 +0200
@@ -400,10 +400,6 @@
 touch resolv.conf
 export OVS_RESOLV_CONF=$(pwd)/resolv.conf
 
-# Python build macros have moved out of the build directory some
-# extra_dist files that are required for check, put them back.
-cp python/_build.tmp/*.py python/build/
-
 # Recheck tests before we declare them broken. If that fails, dump
 # the log and exit. >2.5.0 uses the RECHECK env variable so this
 # needs to be taken into consideration for future releases.
@@ -509,22 +505,17 @@
 %{buildroot}%{python2_sitelib}
 
 # Python subpackages
-pushd source/python
+# Build on a temporary directory.
+pushd $(mktemp -d -p source/build-aux)
+cp -a ../../python/* $(pwd)/
+
+# Some build files are in sources while others are generated directly on
+# buildroot as part of make_install (dirs.py), so update the former with the
+# latter.
+cp -a %{buildroot}%{_datadir}/openvswitch/python/* $(pwd)/
 
 export LDFLAGS="${LDFLAGS} -L %{buildroot}%{_libdir}"
-export CPPFLAGS="-I ../include"
-
-# Set python environment
-sed \
--e '/^##/d' \
--e 's,[@]pkgdatadir[@],%{_datadir}/%{name},g' \
--e 's,[@]RUNDIR[@],%{_rundir},g' \
--e 's,[@]LOGDIR[@],%{_localstatedir}/log,g' \
--e 's,[@]bindir[@],%{_bindir},g' \
--e 's,[@]sysconfdir[@],%{_sysconfdir},g' \
--e 's,[@]DBDIR[@],%{_sysconfdir}/%{name},g' \
-< ovs/dirs.py.template \
-> ovs/dirs.py
+export CPPFLAGS="-I ../../include"
 
 %if 0%{?suse_version}
 # SLES




commit openvswitch for openSUSE:Factory

2019-05-06 Thread root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2019-05-06 13:28:11

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new.5148 (New)


Package is "openvswitch"

Mon May  6 13:28:11 2019 rev:40 rq:700964 version:2.11.1

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2019-03-26 
15:45:40.848074513 +0100
+++ /work/SRC/openSUSE:Factory/.openvswitch.new.5148/openvswitch.changes
2019-05-06 13:28:18.705393139 +0200
@@ -1,0 +2,59 @@
+Mon Apr 29 14:12:36 UTC 2019 -  
+
+- Fix problem preventing new installs to run as non root (bsc#1132029),
+  including: 
+  * Align with upstream so that no running configuration is changed on
+upgrades, specifically to avoid changes on the user Open vSwitch runs
+under.
+  * hugetblfs groups is created as system group.
+- Add missing opnvswitch-ipsec package and systemd service.
+- Add patch to use strongswan instead of libreswan for openvswitch-ipsec.
+  libreswan package not available currently.
+  * 0001-Use-strongswan-for-openvswitch-ipsec-service.patch
+- Add missing ovs-delete-transient-ports systemd service.
+- Align installed headers with upstream.
+- Fix problem preventing rpm build '--with check'.
+- Fix python environment that had directories pointing to /usr/local.
+- Version bump to 2.11.1. Some of the changes are:
+  * netdev-tc-offloads: Fix probe tc block support
+  * rhel: Include all header files in the Fedora's devel package
+  * reconnect.c: Don't transition back to ACTIVE when forced to RECONNECT.
+  * OVN: Make periodic RAs consistent with RA responder.
+  * OVN: Always send prefix option in RAs
+  * OVN: Use offset instead of pointer into ofpbuf
+  * ofproto: fix the bug of bucket counter is not updated
+  * netdev-dpdk: Print netdev name for txq mapping.
+  * dpif-netdev-perf: Fix millisecond stats precision with slower TSC.
+  * ifupdown.sh: Add missing "--may-exist" option
+  * dpif-netdev-perf: Fix double update of perf histograms.
+  * dpdk: Stop dumping memzones to stdout.
+  * dpctl: Drop parser debug information.
+  * netdev-tc-offloads: Properly get the block id on flow del/get
+  * netdev-tc-offloads: Improve log message for icmpv6 offload not supported
+  * conntrack: Replace structure copy by memcpy().
+  * conntrack: Lookup only 'UNNAT conns' in 'nat_clean()'.
+  * conntrack: Fix race for NAT cleanup.
+  * ovn-nbctl: Don't segfault when ovn-northd doesn't configure dynamic 
addresses.
+  * datapath-windows: Add annotations to find vport functions
+  * datapath-windows: Guard vport usage in user.c
+  * datapath-windows: Fix potential deadlock in event subscription
+  * datapath-windows: Fix race condition during port creation
+  * datapath-windows: Fix nbl cleanup when memory allocation fails
+  * netdev-linux: Remove ingress qdisc before trying to add shared block
+  * netdev-tc-offloads: Remove ingress qdisc on tc init flow api
+  * ovsdb-idl: Fix memory leak of idl->remote.
+  * travis: Remove 'sudo' configuration.
+  * OVN: Add port addresses to IPAM after all ports are joined.
+  * dpif-netlink: Free leaked ofpbuf by using ofpbuf_delete
+  * OVN: update RA next_announce according to {min, max}_interval
+  * rconn: Avoid occasional immediate connection failures.
+  * dpdk: Fix case-sensitivity of dpdk-init knob.
+  * NEWS: Clean up the 2.11.0 release notes a bit.
+  * conntrack: Fix L4 csum for V6 extension hdr pkts.
+  * packets: Change return type for 'packet_csum_upperlayer6()'.
+  * ovsdb-client: Fix typo.
+  * ovn-nbctl: Daemon mode should retry when IDL connection lost.
+  * ofctl: break the loop if ovs_pcap_read returns error
+  * netlink: added check to prevent netlink attribute overflow
+
+---

Old:

  openvswitch-2.11.0.tar.gz

New:

  0001-Use-strongswan-for-openvswitch-ipsec-service.patch
  openvswitch-2.11.1.tar.gz



Other differences:
--
++ openvswitch.spec ++
--- /var/tmp/diff_new_pack.pBS9LU/_old  2019-05-06 13:28:20.405396840 +0200
+++ /var/tmp/diff_new_pack.pBS9LU/_new  2019-05-06 13:28:20.445396927 +0200
@@ -41,7 +41,7 @@
 # Disable building the external kernel datapath by default
 %bcond_with kmp
 Name:   openvswitch
-Version:2.11.0
+Version:2.11.1
 Release:0
 Summary:A multilayer virtual network switch
 # All code is Apache-2.0 except
@@ -53,6 +53,8 @@
 Source0:http://openvswitch.org/releases/openvswitch-%{version}.tar.gz
 Source1:preamble
 Source89:   Module.supported.updates
+# PATCH-FIX-OPENSUSE: Use-strongswan-for-openvswitch-ipsec-service.patch
+Patch0: 

commit openvswitch for openSUSE:Factory

2019-03-26 Thread root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2019-03-26 15:45:35

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new.25356 (New)


Package is "openvswitch"

Tue Mar 26 15:45:35 2019 rev:39 rq:688598 version:2.11.0

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2019-03-24 
15:01:50.459165146 +0100
+++ /work/SRC/openSUSE:Factory/.openvswitch.new.25356/openvswitch.changes   
2019-03-26 15:45:40.848074513 +0100
@@ -1,0 +2,5 @@
+Mon Mar 25 14:18:56 UTC 2019 -  
+
+- Disable dpdk on ix86, aligned with dpdk package.
+
+---



Other differences:
--
++ openvswitch.spec ++
--- /var/tmp/diff_new_pack.rU3vts/_old  2019-03-26 15:45:42.140073891 +0100
+++ /var/tmp/diff_new_pack.rU3vts/_new  2019-03-26 15:45:42.144073890 +0100
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # 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
 
@@ -23,7 +23,7 @@
   %define _fillupdir %{_localstatedir}/adm/fillup-templates
 %endif
 %define lname libopenvswitch-2_11-0
-%ifarch aarch64 x86_64 %{ix86}
+%ifarch aarch64 x86_64
 %if 0%{?suse_version}
 # DPDK enabled only SUSE/openSUSE
 %bcond_without dpdk




commit openvswitch for openSUSE:Factory

2019-03-24 Thread root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2019-03-24 15:01:47

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new.25356 (New)


Package is "openvswitch"

Sun Mar 24 15:01:47 2019 rev:38 rq:687928 version:2.11.0

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2019-03-05 
12:20:23.876931530 +0100
+++ /work/SRC/openSUSE:Factory/.openvswitch.new.25356/openvswitch.changes   
2019-03-24 15:01:50.459165146 +0100
@@ -1,0 +2,6 @@
+Thu Mar 21 15:12:55 UTC 2019 - Jan Engelhardt 
+
+- Combine %service_* calls to reduce generated boilerplate.
+- Reduce scriptlets' hard dependency on systemd.
+
+---



Other differences:
--
++ openvswitch.spec ++
--- /var/tmp/diff_new_pack.UtFYSt/_old  2019-03-24 15:01:51.419165023 +0100
+++ /var/tmp/diff_new_pack.UtFYSt/_new  2019-03-24 15:01:51.419165023 +0100
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 # needssslcertforbuild
 
@@ -87,7 +87,7 @@
 Requires(post): %fillup_prereq
 Requires(pre):  shadow
 Suggests:   logrotate
-%{?systemd_requires}
+%{?systemd_ordering}
 %else
 BuildRequires:  findutils
 BuildRequires:  openssl-devel
@@ -525,9 +525,7 @@
 chown -R openvswitch:openvswitch %{_localstatedir}/log/openvswitch
 fi
 %if 0%{?suse_version}
-   %service_add_post ovsdb-server.service
-   %service_add_post ovs-vswitchd.service
-   %service_add_post openvswitch.service
+   %service_add_post ovsdb-server.service ovs-vswitchd.service 
openvswitch.service
%{fillup_only -n openvswitch}
 %else
 %if 0%{?systemd_post:1}
@@ -559,9 +557,7 @@
 # admin decide when it's the best time for an OvS restart.
 # 5771f476573445710834234a6a9f7bd999a027e7 ("fedora: do not restart the 
service on a pkg upgrade")
 %if 0%{?suse_version}
-%service_del_postun -n ovsdb-server.service
-%service_del_postun -n ovs-vswitchd.service
-%service_del_postun -n openvswitch.service
+%service_del_postun -n ovsdb-server.service -n ovs-vswitchd.service -n 
openvswitch.service
 %else
 %if 0%{?systemd_postun:1}
 %systemd_postun %{name}.service
@@ -572,9 +568,7 @@
 
 %pre
 %if 0%{?suse_version}
-%service_add_pre ovsdb-server.service
-%service_add_pre ovs-vswitchd.service
-%service_add_pre openvswitch.service
+%service_add_pre ovsdb-server.service ovs-vswitchd.service openvswitch.service
 %endif
 # Save the "enabled" state across the transition of
 # ownership of openvswitch.service from openvswitch-switch to
@@ -599,9 +593,7 @@
 
 %preun
 %if 0%{?suse_version}
-%service_del_preun ovsdb-server.service
-%service_del_preun ovs-vswitchd.service
-%service_del_preun openvswitch.service
+%service_del_preun ovsdb-server.service ovs-vswitchd.service 
openvswitch.service
 %else
 %if 0%{?systemd_preun:1}
 %systemd_preun %{name}.service




commit openvswitch for openSUSE:Factory

2019-03-05 Thread root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2019-03-05 12:20:16

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new.28833 (New)


Package is "openvswitch"

Tue Mar  5 12:20:16 2019 rev:37 rq:681219 version:2.11.0

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2019-02-04 
14:24:13.601087457 +0100
+++ /work/SRC/openSUSE:Factory/.openvswitch.new.28833/openvswitch.changes   
2019-03-05 12:20:23.876931530 +0100
@@ -1,0 +2,57 @@
+Thu Feb 28 11:16:58 UTC 2019 - jcaam...@suse.com
+
+- Version bump to 2.11.0. Some of the changes are:
+   * Linux datapath:
+ - Support for the kernel versions 4.16.x and 4.17.x.
+ - Support for the kernel versions 4.18.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  "dynamic "
+   * 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.
+- Revisit DISABLE_RESTART_ON_UPDATE and DISABLE_STOP_ON_REMOVAL options
+  (bsc#1117483). DISABLE_STOP_ON_REMOVAL is removed. DISABLE_RESTART_ON_UPDATE
+  is replaced by '%service_del_postun -n'. $FIRST_ARG is replaced by $1.
+- Add extra openvswitch headers (bsc#1125897).
+
+---
+Fri Feb 15 16:16:32 UTC 2019 - jcaam...@suse.com
+
+- Obsolete old python[2]-openvswitch-test subpackages (bsc#1124435).
+
+---

Old:

  _service
  openvswitch-2.11.0+git20190123.ad83fc9ab.tar.gz

New:

  openvswitch-2.11.0.tar.gz



Other differences:
--
++ openvswitch.spec ++
--- /var/tmp/diff_new_pack.2VhuPq/_old  2019-03-05 12:20:25.232931116 +0100
+++ /var/tmp/diff_new_pack.2VhuPq/_new  2019-03-05 12:20:25.236931115 +0100
@@ -41,7 +41,7 @@
 # Disable building the external kernel datapath by default
 %bcond_with kmp
 Name:   openvswitch
-Version:2.11.0+git20190123.ad83fc9ab
+Version:2.11.0
 Release:0
 Summary:A multilayer virtual network switch
 # All code is Apache-2.0 except
@@ -50,7 +50,7 @@
 License:Apache-2.0 AND LGPL-2.1-only AND SISSL
 Group:  Productivity/Networking/System
 Url:http://openvswitch.org/
-Source0:openvswitch-%{version}.tar.gz
+Source0:http://openvswitch.org/releases/openvswitch-%{version}.tar.gz
 Source1:preamble
 Source89:   Module.supported.updates
 BuildRequires:  autoconf
@@ -117,6 +117,7 @@
 BuildRequires:  libmnl-devel
 BuildRequires:  libnuma-devel
 BuildRequires:  libpcap-devel
+BuildRequires:  rdma-core-devel
 %endif
 
 %description
@@ -307,7 +308,11 @@
 Requires:   python2-Twisted
 Requires:   python2-ovs = %{version}
 Provides:   %{name}-dpdk-test = %{version}
+Provides:   python-%{name}-test = %{version}
+Provides:   

commit openvswitch for openSUSE:Factory

2019-02-04 Thread root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2019-02-04 14:24:11

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new.28833 (New)


Package is "openvswitch"

Mon Feb  4 14:24:11 2019 rev:36 rq:668409 version:2.11.0+git20190123.ad83fc9ab

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2019-01-21 
11:03:25.787037096 +0100
+++ /work/SRC/openSUSE:Factory/.openvswitch.new.28833/openvswitch.changes   
2019-02-04 14:24:13.601087457 +0100
@@ -1,0 +2,55 @@
+Thu Jan 24 16:52:16 UTC 2019 - jcaam...@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 (jcaam...@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  "dynamic "
+   * 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).
+ 
+---

Old:

  0001-python-c-ext-Fix-memory-leak-in-Parser_finish.patch
  openvswitch-2.10.1.tar.gz

New:

  _service
  openvswitch-2.11.0+git20190123.ad83fc9ab.tar.gz



Other differences:
--
++ openvswitch.spec ++
--- /var/tmp/diff_new_pack.szz9s0/_old  2019-02-04 14:24:14.261087145 +0100
+++ /var/tmp/diff_new_pack.szz9s0/_new  2019-02-04 14:24:14.261087145 +0100
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # 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
 
@@ -22,7 +22,7 @@
 %if ! %{defined _fillupdir}
   %define _fillupdir %{_localstatedir}/adm/fillup-templates
 %endif
-%define lname libopenvswitch-2_10-0
+%define lname libopenvswitch-2_11-0
 %ifarch aarch64 x86_64 %{ix86}
 %if 0%{?suse_version}
 # DPDK enabled only SUSE/openSUSE
@@ -41,7 +41,7 @@
 # Disable building the external kernel datapath by default
 %bcond_with kmp
 Name:   openvswitch
-Version:2.10.1
+Version:2.11.0+git20190123.ad83fc9ab
 Release:0
 Summary:A multilayer virtual network switch
 # All code is Apache-2.0 except
@@ -50,11 +50,9 @@
 License:Apache-2.0 AND LGPL-2.1-only AND SISSL
 Group:  Productivity/Networking/System
 Url:http://openvswitch.org/
-Source0:

commit openvswitch for openSUSE:Factory

2019-01-21 Thread root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2019-01-21 11:01:28

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new.28833 (New)


Package is "openvswitch"

Mon Jan 21 11:01:28 2019 rev:35 rq:667291 version:2.10.1

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2018-11-27 
10:45:48.151987627 +0100
+++ /work/SRC/openSUSE:Factory/.openvswitch.new.28833/openvswitch.changes   
2019-01-21 11:03:25.787037096 +0100
@@ -1,0 +2,6 @@
+Sun Jan 20 07:58:20 UTC 2019 - Thomas Bechtold 
+
+- python2-ovs provides now also python-ovs which is the standard
+  for singlespec python packages.
+
+---



Other differences:
--
++ openvswitch.spec ++
--- /var/tmp/diff_new_pack.JKJghB/_old  2019-01-21 11:03:26.391036321 +0100
+++ /var/tmp/diff_new_pack.JKJghB/_new  2019-01-21 11:03:26.391036321 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package openvswitch
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 # needssslcertforbuild
 
@@ -280,6 +280,7 @@
 Requires:   python2
 Requires:   python2-six
 Provides:   python-%{name} = %{version}
+Provides:   python-ovs = %{version}
 Provides:   python2-%{name} = %{version}
 Obsoletes:  python-%{name} < 2.8.1
 Obsoletes:  python2-%{name} < 2.10.1




commit openvswitch for openSUSE:Factory

2018-11-27 Thread root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2018-11-27 10:44:17

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new.19453 (New)


Package is "openvswitch"

Tue Nov 27 10:44:17 2018 rev:34 rq:652024 version:2.10.1

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2018-11-13 
17:30:28.473211980 +0100
+++ /work/SRC/openSUSE:Factory/.openvswitch.new.19453/openvswitch.changes   
2018-11-27 10:45:48.151987627 +0100
@@ -1,0 +2,6 @@
+Mon Nov 26 11:07:30 UTC 2018 - jcaam...@suse.com
+
+- Backport upstream fix for python json parser memory leak (bsc#1116437)
+ * 0001-python-c-ext-Fix-memory-leak-in-Parser_finish.patch 
+
+---

New:

  0001-python-c-ext-Fix-memory-leak-in-Parser_finish.patch



Other differences:
--
++ openvswitch.spec ++
--- /var/tmp/diff_new_pack.pRVSY2/_old  2018-11-27 10:45:56.055979512 +0100
+++ /var/tmp/diff_new_pack.pRVSY2/_new  2018-11-27 10:45:56.055979512 +0100
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # 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
 
@@ -53,6 +53,8 @@
 Source0:http://openvswitch.org/releases/openvswitch-%{version}.tar.gz
 Source1:preamble
 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:  automake
 BuildRequires:  graphviz
@@ -317,6 +319,7 @@
 
 %prep
 %setup -q -n openvswitch-%{version}
+%patch0 -p1
 
 %build
 set -- * .travis* .mailmap

++ 0001-python-c-ext-Fix-memory-leak-in-Parser_finish.patch ++
>From e120ff1f8e4dbb0b889b26e0be082376a32090bc Mon Sep 17 00:00:00 2001
From: Eric Lapointe 
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 
Signed-off-by: Ben Pfaff 
---
 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




commit openvswitch for openSUSE:Factory

2018-11-13 Thread root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2018-11-13 17:00:45

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new (New)


Package is "openvswitch"

Tue Nov 13 17:00:45 2018 rev:33 rq:648463 version:2.10.1

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2018-10-25 
09:11:29.382320420 +0200
+++ /work/SRC/openSUSE:Factory/.openvswitch.new/openvswitch.changes 
2018-11-13 17:30:28.473211980 +0100
@@ -1,0 +2,15 @@
+Thu Nov  8 11:17:38 UTC 2018 - Markos Chandras 
+
+- Improve python packaging (bsc#1115085)
+  * Rename python*-openvswitch subpackages to python*-ovs to follow
+the openSUSE policy that packages should be named after the modules
+they install.
+  * Build the JSON C bindings and as a result the 'noarch' BuildArch
+needs to be removed.
+  * Drop the python*-openvswitch-test packages and merge them with the
+test subpackage
+  * Build the python bindings using setuptools
+  * Include the egg-info package.
+  * Use libopenvswitch as dependency to python bindings
+
+---



Other differences:
--
++ openvswitch.spec ++
--- /var/tmp/diff_new_pack.5dvBhB/_old  2018-11-13 17:30:30.033209838 +0100
+++ /var/tmp/diff_new_pack.5dvBhB/_new  2018-11-13 17:30:30.037209833 +0100
@@ -78,6 +78,7 @@
 Obsoletes:  %{name}-switch < 2.7.0
 %if 0%{?suse_version}
 BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module six}
 BuildRequires:  %{python_module xml}
 BuildRequires:  fdupes
@@ -93,6 +94,7 @@
 BuildRequires:  python-devel
 BuildRequires:  python-six
 BuildRequires:  python2-rpm-macros
+BuildRequires:  python2-setuptools
 BuildRequires:  python3-rpm-macros
 BuildRequires:  systemd-units
 Requires(post): systemd-units
@@ -268,58 +270,32 @@
 
 Open vSwitch is a full-featured software-based Ethernet switch.
 
-%package -n python2-openvswitch
+%package -n python2-ovs
 Summary:Python2 bindings for Open vSwitch
 License:Apache-2.0
 Group:  Productivity/Networking/System
-Requires:   openvswitch-common = %{version}
+Requires:   %{lname} = %{version}
 Requires:   python2
 Requires:   python2-six
-Provides:   python-openvswitch = %{version}
-Obsoletes:  python-openvswitch < 2.8.1
-BuildArch:  noarch
+Provides:   python-%{name} = %{version}
+Provides:   python2-%{name} = %{version}
+Obsoletes:  python-%{name} < 2.8.1
+Obsoletes:  python2-%{name} < 2.10.1
 
-%description -n python2-openvswitch
+%description -n python2-ovs
 This package contains the Python2 bindings for Open vSwitch database.
 
-%package -n python2-openvswitch-test
-Summary:Python2 bindings for Open vSwitch
-License:Apache-2.0
-Group:  Productivity/Networking/System
-Requires:   openvswitch-common = %{version}
-Requires:   python2
-Requires:   python2-Twisted
-Requires:   python2-openvswitch = %{version}
-Provides:   python-openvswitch-test = %{version}
-Obsoletes:  python-openvswitch-test < 2.8.1
-BuildArch:  noarch
-
-%description -n python2-openvswitch-test
-This package contains the Python bindings for Open vSwitch database.
-
-%package -n python3-openvswitch
+%package -n python3-ovs
 Summary:Python3 bindings for Open vSwitch
 License:Apache-2.0
 Group:  Productivity/Networking/System
-Requires:   openvswitch-common = %{version}
+Requires:   %{lname} = %{version}
 Requires:   python3
 Requires:   python3-six
-BuildArch:  noarch
-
-%description -n python3-openvswitch
-This package contains the Python3 bindings for Open vSwitch database.
-
-%package -n python3-openvswitch-test
-Summary:Python3 bindings for Open vSwitch
-License:Apache-2.0
-Group:  Productivity/Networking/System
-Requires:   openvswitch-common = %{version}
-Requires:   python3
-Requires:   python3-Twisted
-Requires:   python3-openvswitch = %{version}
-BuildArch:  noarch
+Provides:   python3-%{name} = %{version}
+Obsoletes:  python3-%{name} < 2.10.1
 
-%description -n python3-openvswitch-test
+%description -n python3-ovs
 This package contains the Python3 bindings for Open vSwitch database.
 
 %package test
@@ -327,7 +303,9 @@
 License:Apache-2.0
 Group:  Productivity/Networking/System
 Requires:   %{name} = %{version}
-Requires:   python3-openvswitch-test = %{version}
+Requires:   python2
+Requires:   python2-Twisted
+Requires:   python2-ovs = %{version}
 Provides:   %{name}-dpdk-test = %{version}
 

commit openvswitch for openSUSE:Factory

2018-10-25 Thread root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2018-10-25 09:11:24

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new (New)


Package is "openvswitch"

Thu Oct 25 09:11:24 2018 rev:32 rq:644195 version:2.10.1

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2018-10-01 
08:18:31.621925307 +0200
+++ /work/SRC/openSUSE:Factory/.openvswitch.new/openvswitch.changes 
2018-10-25 09:11:29.382320420 +0200
@@ -1,0 +2,72 @@
+Mon Oct 22 09:38:00 UTC 2018 - Markos Chandras 
+
+- Version bump to 2.10.1. Some of the changes are:
+  * dpif-netdev.at: Add missing backslash.
+  * ofproto-dpif-xlate: Avoid deadlock on multicast snooping recursion.
+  * dpif-netdev-perf: Print SMC statistics.
+  * dpif-netdev-unixctl: Change 'masked' to 'megaflow'.
+  * ovn-controller: Support processing DHCPv6 information request message type
+  * ovn-ctl: Fix the wrong pidfile argument passed to ovsdb-servers
+  * ovndb-servers.ocf: Add ssl support for managing OVN DB resources with 
pacemaker using LB VIP.
+  * ovn-ctl: Allow passing ssl certs when starting OVN DBs in ssl mode.
+  * expr: Disallow < <= >= > comparisons against empty value set.
+  * expr: Set a limit on the depth of nested parentheses
+  * ovn: Fix IPv6 DAD failure for container ports
+  * dpif-netdev: Add vlan to mask for flow_put operation.
+  * ovs-save: Parse geneve tlv map correctly.
+  * extend-table: Fix a bug that iterates wrong table
+  * odp-util: Fix a use-after-free bug.
+  * ofp-packet: Fix NXT_RESUME with geneve tunnel metadata
+  * dpif-netlink: Fix null pointer.
+  * ofproto-dpif-xlate.c: Fix uninitialized variable warning.
+  * dpif: Remove support for multiple queues per port.
+  * dpif-netlink: don't allocate per thread netlink sockets
+  * ovsdb-types: Refactor structs so as to comply with C++ standard
+  * bfd: Make the tp_dst masking megaflow-friendly.
+  * ovsdb-data: Improve grammar in error message.
+  * condition: Reject <, <=, >=, > with optional scalar against empty set.
+  * condition: Fix ==, !=, includes, excludes on optional scalars.
+  * netdev: Properly clear 'details' when iterating in NETDEV_QOS_FOR_EACH.
+  * lex: Fix buffer overrun parsing overlong hexadecimal constants.
+  * sflow: Set agent address properly based on collector address.
+  * ovsdb-client: Fix a bug that uses wrong index
+  * ofproto: Fix build with some GCC versions.
+  * ofproto-dpif-xlate: Fix conntrack fields on NXT_RESUME
+  * ofproto: Handle OpenFlow version mismatch for requestforward with groups.
+  * ovs-save: save and restore groups on restart
+  * sparse: check if floatn-common.h is available.
+  * flow: Fix uninitialized flow fields in IPv6 error case.
+  * ofproto-dpif: Fix NXT_RESUME flow stats
+  * ovn: Add the documentation for the DHCP opt 'wpad' in proper section
+  * meta-flow: Make "nw_frag" a synonym for "ip_frag".
+  * gre: Rename fallback devices to avoid udev's interference
+  * ovsdb-server: Alleviate the possible data loss in an active/standby setup
+  * ovsdb-idlc: Use ALIGNED_CAST to avoid spurious warnings for index rows.
+  * ofproto-dpif-xlate: Fix translation of groups with no buckets.
+  * ovn: Add DHCP support for option 252.
+  * ofp-port: Don't leak on error in ofputil_pull_ofp14_port_stats().
+  * ofp-print: Fix a memory leak reported by fuzz
+  * ovs-save: Don't always include the default flow during restore
+  * lib/tc: treat vlan id and prio as independent fields
+  * odp-util: Don't attempt to write IPv6 flow label bits that don't exist.
+  * lib/tc: reject offloading of non-Ethernet packets
+  * dhparams: Fix .c file generation with OpenSSL >= 1.1.1-pre9
+  * ovs-ctl: Allow add-remote without vswitchd started.
+  * system-traffic: Fix conntrack per zone limit test.
+  * erspan: set erspan_ver to 1 by default when adding an erspan dev
+  * ovn.at: Skip ACL rate-limiting test on slow/overloaded systems.
+  * daemon-unix: Use same name for original or restarted children.
+  * dpif-netdev: Prevent unsafe access when retrieving meter stats.
+  * utilities: Drop shebang from bash completion script
+  * ofp-actions: Re-fix error path for parsing OpenFlow actions.
+  * nx-match: Avoid double-free on some error paths.
+  * netdev-dpdk: Support the link speed of XL710
+  * ovn-northd: Support learning neighbor from ARP request.
+  * ovn-northd: LR respond ARP from valid subnet only.
+  * ovn: Fix the issue in IPv6 Neigh Solicitation responder for router IPs
+  * dpctl: Fix memory leak in dp_exists().
+  * ofproto-dpif: Check for EBUSY as well
+  * tunnel, tests: Sort flow output in ERSPAN v1/v2 metadata
+  * erspan: add big endian bit fields.
+
+---

Old:

  

commit openvswitch for openSUSE:Factory

2018-10-01 Thread root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2018-10-01 08:18:23

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new (New)


Package is "openvswitch"

Mon Oct  1 08:18:23 2018 rev:31 rq:638873 version:2.10.0

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2018-09-26 
14:23:07.113950751 +0200
+++ /work/SRC/openSUSE:Factory/.openvswitch.new/openvswitch.changes 
2018-10-01 08:18:31.621925307 +0200
@@ -1,0 +2,5 @@
+Thu Sep 27 16:06:58 UTC 2018 - Markos Chandras 
+
+- Use correct user for logrotate script (bsc#1104049, b096fa42ddc2)
+
+---



Other differences:
--
++ openvswitch.spec ++
--- /var/tmp/diff_new_pack.zRDWKE/_old  2018-10-01 08:18:32.245924908 +0200
+++ /var/tmp/diff_new_pack.zRDWKE/_new  2018-10-01 08:18:32.249924906 +0200
@@ -518,6 +518,7 @@
 
 if [ $1 -eq 1 ]; then
 sed -i 's:^#OVS_USER_ID=:OVS_USER_ID=:' 
%{_sysconfdir}/sysconfig/openvswitch
+sed -i 's:\(.*su\).*:\1 openvswitch openvswitch:' 
%{_sysconfdir}/logrotate.d/openvswitch
 
 %if %{with dpdk}
 sed -i \
@@ -526,6 +527,7 @@
 %endif
 # In the case of upgrade, this is not needed
 chown -R openvswitch:openvswitch %{_sysconfdir}/openvswitch
+chown -R openvswitch:openvswitch %{_localstatedir}/log/openvswitch
 fi
 %if 0%{?suse_version}
%service_add_post ovsdb-server.service




commit openvswitch for openSUSE:Factory

2018-09-26 Thread root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2018-09-26 14:23:05

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new (New)


Package is "openvswitch"

Wed Sep 26 14:23:05 2018 rev:30 rq:637897 version:2.10.0

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2018-09-04 
22:55:43.584909958 +0200
+++ /work/SRC/openSUSE:Factory/.openvswitch.new/openvswitch.changes 
2018-09-26 14:23:07.113950751 +0200
@@ -1,0 +2,5 @@
+Mon Sep 24 12:46:34 UTC 2018 - Markos Chandras 
+
+- Fix package name for shared library.
+
+---



Other differences:
--
++ openvswitch.spec ++
--- /var/tmp/diff_new_pack.oQO13e/_old  2018-09-26 14:23:09.133947536 +0200
+++ /var/tmp/diff_new_pack.oQO13e/_new  2018-09-26 14:23:09.137947529 +0200
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 # needssslcertforbuild
 
@@ -22,7 +22,7 @@
 %if ! %{defined _fillupdir}
   %define _fillupdir %{_localstatedir}/adm/fillup-templates
 %endif
-%define lname libopenvswitch-2_9-0
+%define lname libopenvswitch-2_10-0
 %ifarch aarch64 x86_64 %{ix86}
 %if 0%{?suse_version}
 # DPDK enabled only SUSE/openSUSE
@@ -458,8 +458,9 @@
 %{buildroot}%{_sysconfdir}/sysconfig/network-scripts/ifup-ovs
 %endif
 
-install -d -m 755 %{buildroot}%{_sysconfdir}/logrotate.d
-install -d -m 755 %{buildroot}%{_localstatedir}/log/openvswitch
+install -d -m 0755 %{buildroot}/%{_rundir}/openvswitch
+install -d -m 0755 %{buildroot}%{_sysconfdir}/logrotate.d
+install -d -m 0755 %{buildroot}%{_localstatedir}/log/openvswitch
 
 install -p -D -m 0644 rhel/etc_openvswitch_default.conf \
  %{buildroot}/%{_sysconfdir}/openvswitch/default.conf




commit openvswitch for openSUSE:Factory

2018-09-04 Thread root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2018-09-04 22:55:41

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new (New)


Package is "openvswitch"

Tue Sep  4 22:55:41 2018 rev:29 rq:632456 version:2.10.0

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2018-08-27 
12:58:07.960736459 +0200
+++ /work/SRC/openSUSE:Factory/.openvswitch.new/openvswitch.changes 
2018-09-04 22:55:43.584909958 +0200
@@ -1,0 +2,57 @@
+Tue Aug 28 09:21:19 UTC 2018 - mchand...@suse.de
+
+- Version bump to 2.10.0. Some of the changes are:
+  * ovs-vswitchd and utilities now support DNS names in OpenFlow and
+OVSDB remotes.
+  * ovs-vswitchd:
+- New options --l7 and --l7-len to "ofproto/trace" command.
+- Previous versions gave OpenFlow tables default names of the form
+  "table#".  These are not helpful names for the purpose of accepting
+  and displaying table names, so now tables by default have no names.
+- The "null" interface type, deprecated since 2013, has been removed.
+- Add minimum network namespace support for Linux.
+- New command "lacp/show-stats"
+  * ovs-ofctl:
+- ovs-ofctl now accepts and display table names in place of numbers.  By
+  default it always accepts names and in interactive use it displays them;
+  use --names or --no-names to override.  See ovs-ofctl(8) for details.
+  * ovs-vsctl: New commands "add-bond-iface" and "del-bond-iface".
+  * ovs-dpctl:
+- New commands "ct-set-limits", "ct-del-limits", and "ct-get-limits".
+  * OpenFlow:
+- OFPT_ROLE_STATUS is now available in OpenFlow 1.3.
+- OpenFlow 1.5 extensible statistics (OXS) now implemented.
+- New OpenFlow 1.0 extensions for group support.
+- Default selection method for select groups is now dp_hash with improved
+  accuracy.
+  * ovn:
+- Implemented icmp4/icmp6/tcp_reset actions in order to drop the packet
+  and reply with a RST for TCP or ICMPv4/ICMPv6 unreachable message for
+  other IPv4/IPv6-based protocols whenever a reject ACL rule is hit.
+- ACL match conditions can now match on Port_Groups as well as address
+  sets that are automatically generated by Port_Groups.  ACLs can be
+  applied directly to Port_Groups as well.
+- ovn-nbctl can now run as a daemon (long-lived, background process).
+  See ovn-nbctl(8) for details.
+  * DPDK:
+- New 'check-dpdk' Makefile target to run a new system testsuite.
+  See Testing topic for the details.
+- Add LSC interrupt support for DPDK physical devices.
+- Allow init to fail and record DPDK status/version in OVS database.
+- Add experimental flow hardware offload support
+- Support both shared and per port mempools for DPDK devices.
+  * Userspace datapath:
+- Commands ovs-appctl dpif-netdev/pmd-*-show can now work on a single PMD
+- Detailed PMD performance metrics available with new command
+  ovs-appctl dpif-netdev/pmd-perf-show
+- Supervision of PMD performance metrics and logging of suspicious
+  iterations
+- Add signature match cache (SMC) as experimental feature. When turned on,
+  it improves throughput when traffic has many more flows than EMC size.
+  * ERSPAN:
+- Implemented ERSPAN protocol (draft-foschiano-erspan-00.txt) for
+  both kernel datapath and userspace datapath.
+- Added port-based and flow-based ERSPAN tunnel port support, added
+  OpenFlow rules matching ERSPAN fields. See ovs-fields(7).
+
+---

Old:

  openvswitch-2.9.2.tar.gz

New:

  openvswitch-2.10.0.tar.gz



Other differences:
--
++ openvswitch.spec ++
--- /var/tmp/diff_new_pack.hH1XUq/_old  2018-09-04 22:55:45.256915671 +0200
+++ /var/tmp/diff_new_pack.hH1XUq/_new  2018-09-04 22:55:45.264915698 +0200
@@ -41,7 +41,7 @@
 # Disable building the external kernel datapath by default
 %bcond_with kmp
 Name:   openvswitch
-Version:2.9.2
+Version:2.10.0
 Release:0
 Summary:A multilayer virtual network switch
 # All code is Apache-2.0 except
@@ -443,6 +443,11 @@
 %if 0%{?suse_version}
 install -D -m 644 
rhel/usr_share_openvswitch_scripts_systemd_sysconfig.template \
 %{buildroot}%{_fillupdir}/sysconfig.openvswitch
+
+# fixing W: suse-filelist-forbidden-bashcomp-userdirs 
/etc/bash_completion.d/ovs-appctl-bashcomp.bash is not allowed in SUSE
+mkdir -p %{buildroot}/%{_prefix}/share/bash-completion/completions/
+mv %{buildroot}/%{_sysconfdir}/bash_completion.d/ovs-* 
%{buildroot}/%{_prefix}/share/bash-completion/completions/
+
 %else
 install -D -m 644 

commit openvswitch for openSUSE:Factory

2018-08-27 Thread root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2018-08-27 12:58:02

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new (New)


Package is "openvswitch"

Mon Aug 27 12:58:02 2018 rev:28 rq:631184 version:2.9.2

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2018-06-13 
15:38:11.691200116 +0200
+++ /work/SRC/openSUSE:Factory/.openvswitch.new/openvswitch.changes 
2018-08-27 12:58:07.960736459 +0200
@@ -1,0 +2,8 @@
+Thu Aug 16 08:26:19 UTC 2018 - mchand...@suse.de
+
+- Fix conditional to only include vfio udev rules when building with
+  DPDK support
+- Exclude %_docdir from main package which seems to be packaged by
+  default on older openSUSE releases.
+
+---



Other differences:
--
++ openvswitch.spec ++
--- /var/tmp/diff_new_pack.QWwHWI/_old  2018-08-27 12:58:08.672737237 +0200
+++ /var/tmp/diff_new_pack.QWwHWI/_new  2018-08-27 12:58:08.672737237 +0200
@@ -860,9 +860,10 @@
 %ghost %attr(755,root,root) %{_rundir}/openvswitch
 %if %{with dpdk}
 %{_prefix}/lib/udev/rules.d/91-vfio.rules
+%endif
+%exclude %{_docdir}/%{name}
 %doc source/AUTHORS.rst source/CONTRIBUTING.rst source/NEWS source/README.rst
 %license source/COPYING source/NOTICE
-%endif
 
 %files doc
 %exclude %{_docdir}/%{name}/AUTHORS.rst




commit openvswitch for openSUSE:Factory

2018-06-13 Thread root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2018-06-13 15:37:00

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new (New)


Package is "openvswitch"

Wed Jun 13 15:37:00 2018 rev:27 rq:615104 version:2.9.2

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2018-06-02 
12:11:37.753132155 +0200
+++ /work/SRC/openSUSE:Factory/.openvswitch.new/openvswitch.changes 
2018-06-13 15:38:11.691200116 +0200
@@ -1,0 +2,6 @@
+Thu Jun  7 10:00:35 UTC 2018 - mchand...@suse.de
+
+- Restrict DPDK version to 18.02 since Open vSwitch 2.9 is not going
+  to work with any newer releases.
+
+---



Other differences:
--
++ openvswitch.spec ++
--- /var/tmp/diff_new_pack.hVnV9O/_old  2018-06-13 15:38:12.747161257 +0200
+++ /var/tmp/diff_new_pack.hVnV9O/_new  2018-06-13 15:38:12.751161109 +0200
@@ -110,7 +110,9 @@
 %if %{with dpdk}
 # We need to be a bit strict with the dpdk version since
 # it's very possible for DPDK to change it's API between
-# releases. This version currently requires >=17.XX
+# releases. This version currently requires >=17.XX and
+# < 18.05
+BuildRequires:  dpdk-devel < 18.05
 BuildRequires:  dpdk-devel >= 17.05
 BuildRequires:  libnuma-devel
 BuildRequires:  libpcap-devel




commit openvswitch for openSUSE:Factory

2018-06-02 Thread root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2018-06-02 12:10:47

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new (New)


Package is "openvswitch"

Sat Jun  2 12:10:47 2018 rev:26 rq:613094 version:2.9.2

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2018-05-06 
15:02:13.567357500 +0200
+++ /work/SRC/openSUSE:Factory/.openvswitch.new/openvswitch.changes 
2018-06-02 12:11:37.753132155 +0200
@@ -1,0 +2,33 @@
+Tue May 29 08:06:29 UTC 2018 - mchand...@suse.de
+
+- Version bump to 2.9.2. Some of the changes are:
+  * OVSDB has new, experimental support for database clustering:
+- New high-level documentation in ovsdb(7).
+- New file format documentation for developers in ovsdb(5).
+- Protocol documentation moved from ovsdb-server(1) to ovsdb-server(7).
+- ovsdb-server now supports online schema conversion via
+  "ovsdb-client convert".
+- ovsdb-server now always hosts a built-in database named _Server. See
+  ovsdb-server(5) for more details.
+- ovsdb-client: New "get-schema-cksum", "query", "backup", "restore",
+  and "wait" commands.  New --timeout option.
+- ovsdb-tool: New "create-cluster", "join-cluster", "db-cid", "db-sid",
+  "db-local-address", "db-is-clustered", "db-is-standalone", "db-name",
+  "schema-name", "compare-versions", and "check-cluster" commands.
+- ovsdb-server: New ovs-appctl commands for managing clusters.
+- ovs-sandbox: New support for clustered databases.
+   * OVN:
+ - ovn-sbctl, ovn-nbctl: New options --leader-only, --no-leader-only.
+   * Bug fixes
+
+- Use openvswitch user/group for the log directory (3f556d66edb9)
+
+---
+Wed May  9 07:24:44 UTC 2018 - mchand...@suse.de
+
+- Add support for RedHat distributions. All SUSE macros are now
+  conditional and the spec file has been adapted based on the upstream
+  one (fate#324537)
+- spec-cleaner fixes
+
+---

Old:

  openvswitch-2.9.0.tar.gz

New:

  openvswitch-2.9.2.tar.gz



Other differences:
--
++ openvswitch.spec ++
--- /var/tmp/diff_new_pack.KLPcHW/_old  2018-06-02 12:11:38.753095478 +0200
+++ /var/tmp/diff_new_pack.KLPcHW/_new  2018-06-02 12:11:38.757095332 +0200
@@ -24,9 +24,14 @@
 %endif
 %define lname libopenvswitch-2_9-0
 %ifarch aarch64 x86_64 %{ix86}
-# DPDK enabled by default
+%if 0%{?suse_version}
+# DPDK enabled only SUSE/openSUSE
 %bcond_without dpdk
 %else
+# DPDK disabled elsewhere even if supported by the architecture.
+%bcond_with dpdk
+%endif
+%else
 # No DPDK support on these architectures
 %bcond_with dpdk
 %endif
@@ -36,7 +41,7 @@
 # Disable building the external kernel datapath by default
 %bcond_with kmp
 Name:   openvswitch
-Version:2.9.0
+Version:2.9.2
 Release:0
 Summary:A multilayer virtual network switch
 # All code is Apache-2.0 except
@@ -44,32 +49,21 @@
 # - utilities/bugtool which is LGPL-2.1
 License:Apache-2.0 AND LGPL-2.1-only AND SISSL
 Group:  Productivity/Networking/System
-URL:http://openvswitch.org/
+Url:http://openvswitch.org/
 Source0:http://openvswitch.org/releases/openvswitch-%{version}.tar.gz
 Source1:preamble
 Source89:   Module.supported.updates
-BuildRequires:  %{python_module devel}
-BuildRequires:  %{python_module six}
-BuildRequires:  %{python_module xml}
-BuildRequires:  %{pythons}
 BuildRequires:  autoconf
 BuildRequires:  automake
-BuildRequires:  fdupes
 BuildRequires:  graphviz
 BuildRequires:  libcap-ng-devel
-BuildRequires:  libopenssl-devel
 BuildRequires:  libtool
 BuildRequires:  make
 BuildRequires:  pkgconfig
-BuildRequires:  python-rpm-macros
 BuildRequires:  pkgconfig(openssl)
-Requires:   logrotate
 Requires:   modutils
 # ovs-ctl / ovs-pki use /usr/bin/uuidgen:
 Requires:   util-linux
-Requires(post): %fillup_prereq
-Requires(pre):  shadow
-Suggests:   logrotate
 Provides:   openvswitch-common = %{version}
 Obsoletes:  openvswitch-common < 2.7.0
 Provides:   openvswitch-controller = %{version}
@@ -82,7 +76,30 @@
 Obsoletes:  %{name}-dpdk < 2.7.0
 Obsoletes:  %{name}-dpdk-switch < 2.7.0
 Obsoletes:  %{name}-switch < 2.7.0
+%if 0%{?suse_version}
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module six}
+BuildRequires:  %{python_module xml}
+BuildRequires:  fdupes
+BuildRequires:  libopenssl-devel
+BuildRequires:  python-rpm-macros
+Requires(post): %fillup_prereq
+Requires(pre):  shadow
+Suggests:   logrotate
 

commit openvswitch for openSUSE:Factory

2018-05-06 Thread root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2018-05-06 15:02:01

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new (New)


Package is "openvswitch"

Sun May  6 15:02:01 2018 rev:25 rq:604029 version:2.9.0

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2018-04-24 
15:34:35.415050956 +0200
+++ /work/SRC/openSUSE:Factory/.openvswitch.new/openvswitch.changes 
2018-05-06 15:02:13.567357500 +0200
@@ -1,0 +2,8 @@
+Wed May  2 07:58:27 UTC 2018 - mchand...@suse.de
+
+- Move openvswitch user/group creation to %pre scriptlet. The default
+  ownership of the configuration files expects the user and group to
+  be available as early as possible (bsc#1091408)
+- spec-cleaner fixes.
+
+---



Other differences:
--
++ openvswitch.spec ++
--- /var/tmp/diff_new_pack.BjwjYF/_old  2018-05-06 15:02:14.371327990 +0200
+++ /var/tmp/diff_new_pack.BjwjYF/_new  2018-05-06 15:02:14.371327990 +0200
@@ -44,7 +44,7 @@
 # - utilities/bugtool which is LGPL-2.1
 License:Apache-2.0 AND LGPL-2.1-only AND SISSL
 Group:  Productivity/Networking/System
-Url:http://openvswitch.org/
+URL:http://openvswitch.org/
 Source0:http://openvswitch.org/releases/openvswitch-%{version}.tar.gz
 Source1:preamble
 Source89:   Module.supported.updates
@@ -68,6 +68,7 @@
 # ovs-ctl / ovs-pki use /usr/bin/uuidgen:
 Requires:   util-linux
 Requires(post): %fillup_prereq
+Requires(pre):  shadow
 Suggests:   logrotate
 Provides:   openvswitch-common = %{version}
 Obsoletes:  openvswitch-common < 2.7.0
@@ -82,9 +83,6 @@
 Obsoletes:  %{name}-dpdk-switch < 2.7.0
 Obsoletes:  %{name}-switch < 2.7.0
 %{?systemd_requires}
-%if %{with dpdk}
-Requires(post): shadow
-%endif
 # Needed by the testsuite
 %if %{with check}
 BuildRequires:  procps
@@ -474,14 +472,9 @@
 %{fillup_only -n openvswitch}
 
 if [ $1 -eq 1 ]; then
-getent passwd openvswitch >/dev/null || \
-useradd -r -d / -s /sbin/nologin -U -c "Open vSwitch Daemons" 
openvswitch
 sed -i 's:^#OVS_USER_ID=:OVS_USER_ID=:' 
%{_sysconfdir}/sysconfig/openvswitch
 
 %if %{with dpdk}
-getent group hugetlbfs >/dev/null || \
-groupadd hugetlbfs
-usermod -a -G hugetlbfs openvswitch
 sed -i \
 
's@OVS_USER_ID="openvswitch:openvswitch"@OVS_USER_ID="openvswitch:hugetlbfs"@'\
 %{_sysconfdir}/sysconfig/openvswitch
@@ -498,8 +491,8 @@
 # Save the "enabled" state across the transition of ownership
 # of openvswitch.service from openvswitch-switch to
 # openvswitch.
-if test -f %eflag; then
-rm -f %eflag
+if test -f %{eflag}; then
+rm -f %{eflag}
 systemctl enable openvswitch.service
 fi
 
@@ -526,10 +519,22 @@
 # openvswitch.
 if [ "$FIRST_ARG" -ge 1 ]; then \
 if [ x$(systemctl is-enabled openvswitch.service 2>/dev/null ||:) = 
"xenabled" ]; then
-touch %eflag
+touch %{eflag}
 fi
 fi
 
+getent group openvswitch >/dev/null || groupadd -r openvswitch
+getent passwd openvswitch >/dev/null || \
+useradd -r -g openvswitch -d / -s /sbin/nologin \
+-c "Open vSwitch Daemons" openvswitch
+
+%if %{with dpdk}
+getent group hugetlbfs >/dev/null || \
+groupadd hugetlbfs
+usermod -a -G hugetlbfs openvswitch
+%endif
+exit 0
+
 %preun
 # This prevents networking breakages on package removals
 export DISABLE_STOP_ON_REMOVAL=yes
@@ -596,7 +601,7 @@
 %files
 %defattr(-,openvswitch,openvswitch)
 %dir %{_sysconfdir}/openvswitch
-%{_sysconfdir}/openvswitch/default.conf
+%config %{_sysconfdir}/openvswitch/default.conf
 %config %ghost %{_sysconfdir}/openvswitch/conf.db
 %ghost %{_sysconfdir}/openvswitch/.conf.db.~lock~
 %config %ghost %{_sysconfdir}/openvswitch/system-id.conf
@@ -623,21 +628,21 @@
 %{_datadir}/openvswitch/scripts/ovs-lib
 %{_datadir}/openvswitch/scripts/ovs-save
 %{_datadir}/openvswitch/vswitch.ovsschema
-%{_mandir}/man1/ovsdb-client.1%{ext_man}
-%{_mandir}/man1/ovsdb-server.1%{ext_man}
-%{_mandir}/man1/ovsdb-tool.1%{ext_man}
-%{_mandir}/man5/ovs-vswitchd.conf.db.5%{ext_man}
-%{_mandir}/man7/ovs-fields.7%{ext_man}
-%{_mandir}/man8/ovs-appctl.8%{ext_man}
-%{_mandir}/man8/ovs-bugtool.8%{ext_man}
-%{_mandir}/man8/ovs-ctl.8%{ext_man}
-%{_mandir}/man8/ovs-dpctl-top.8%{ext_man}
-%{_mandir}/man8/ovs-dpctl.8%{ext_man}
-%{_mandir}/man8/ovs-ofctl.8%{ext_man}
-%{_mandir}/man8/ovs-vlan-bug-workaround.8%{ext_man}
-%{_mandir}/man8/ovs-parse-backtrace.8%{ext_man}
-%{_mandir}/man8/ovs-vsctl.8%{ext_man}
-%{_mandir}/man8/ovs-vswitchd.8%{ext_man}
+%{_mandir}/man1/ovsdb-client.1%{?ext_man}

commit openvswitch for openSUSE:Factory

2018-04-24 Thread root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2018-04-24 15:34:31

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new (New)


Package is "openvswitch"

Tue Apr 24 15:34:31 2018 rev:24 rq:600167 version:2.9.0

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2018-03-24 
16:16:40.804685885 +0100
+++ /work/SRC/openSUSE:Factory/.openvswitch.new/openvswitch.changes 
2018-04-24 15:34:35.415050956 +0200
@@ -1,0 +2,10 @@
+Mon Apr 23 09:33:02 UTC 2018 - mchand...@suse.de
+
+- Preserve 'enable' status of openvswitch.service file when upgrading
+  from /dev/null ||:) = 
"xenabled" ]; then
+touch %eflag
+fi
+fi
 
 %preun
+# This prevents networking breakages on package removals
+export DISABLE_STOP_ON_REMOVAL=yes
 %service_del_preun ovsdb-server.service
 %service_del_preun ovs-vswitchd.service
 %service_del_preun openvswitch.service
@@ -630,6 +649,7 @@
 %{_unitdir}/ovsdb-server.service
 %{_fillupdir}/sysconfig.openvswitch
 %attr(755,-,-) %dir %{_localstatedir}/log/openvswitch
+%ghost %attr(755,root,root) %{_rundir}/openvswitch
 %if %{with dpdk}
 %{_prefix}/lib/udev/rules.d/91-vfio.rules
 %endif




commit openvswitch for openSUSE:Factory

2018-03-24 Thread root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2018-03-24 16:16:30

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new (New)


Package is "openvswitch"

Sat Mar 24 16:16:30 2018 rev:23 rq:590601 version:2.9.0

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2018-03-07 
10:37:34.736199362 +0100
+++ /work/SRC/openSUSE:Factory/.openvswitch.new/openvswitch.changes 
2018-03-24 16:16:40.804685885 +0100
@@ -1,0 +2,10 @@
+Thu Mar 22 10:39:10 UTC 2018 - mchand...@suse.de
+
+- Fix file permissions in /etc/openvswitch for upgrades (951d79e638ec)
+
+---
+Wed Mar 21 21:03:21 UTC 2018 - dmuel...@suse.com
+
+- set rundir to %_rundir
+
+---



Other differences:
--
++ openvswitch.spec ++
--- /var/tmp/diff_new_pack.OLN6Ux/_old  2018-03-24 16:16:41.620656471 +0100
+++ /var/tmp/diff_new_pack.OLN6Ux/_new  2018-03-24 16:16:41.624656327 +0100
@@ -342,6 +342,7 @@
 pushd obj/$flavor
 %configure \
--with-logdir=%{_localstatedir}/log/openvswitch \
+--with-rundir=%{_rundir}/openvswitch \
--with-linux=%{_prefix}/src/linux-obj/%{_target_cpu}/$flavor \
--with-linux-source=%{_prefix}/src/linux
 cd datapath/linux
@@ -371,6 +372,7 @@
 --enable-shared \
 --enable-ssl \
 ${dpdk_opt} \
+--with-rundir=%{_rundir}/openvswitch \
 --with-logdir=%{_localstatedir}/log/openvswitch
 make %{?_smp_mflags}
 popd
@@ -573,6 +575,13 @@
 %postun vtep -p /sbin/ldconfig
 
 %files
+%defattr(-,openvswitch,openvswitch)
+%dir %{_sysconfdir}/openvswitch
+%{_sysconfdir}/openvswitch/default.conf
+%config %ghost %{_sysconfdir}/openvswitch/conf.db
+%ghost %{_sysconfdir}/openvswitch/.conf.db.~lock~
+%config %ghost %{_sysconfdir}/openvswitch/system-id.conf
+%defattr(-,root,root)
 %{_bindir}/ovs-appctl
 %{_bindir}/ovs-docker
 %{_bindir}/ovs-dpctl
@@ -612,10 +621,6 @@
 %{_mandir}/man8/ovs-vswitchd.8%{ext_man}
 %{_sysconfdir}/bash_completion.d/ovs-appctl-bashcomp.bash
 %{_sysconfdir}/bash_completion.d/ovs-vsctl-bashcomp.bash
-%dir %{_sysconfdir}/openvswitch
-%config(noreplace) %{_sysconfdir}/openvswitch/default.conf
-%config %ghost %{_sysconfdir}/openvswitch/conf.db
-%config %ghost %{_sysconfdir}/openvswitch/system-id.conf
 %config(noreplace) %{_sysconfdir}/logrotate.d/openvswitch
 %{_sbindir}/rcovsdb-server
 %{_sbindir}/rcovs-vswitchd
@@ -624,7 +629,7 @@
 %{_unitdir}/ovs-vswitchd.service
 %{_unitdir}/ovsdb-server.service
 %{_fillupdir}/sysconfig.openvswitch
-%dir %{_localstatedir}/log/openvswitch
+%attr(755,-,-) %dir %{_localstatedir}/log/openvswitch
 %if %{with dpdk}
 %{_prefix}/lib/udev/rules.d/91-vfio.rules
 %endif




commit openvswitch for openSUSE:Factory

2018-03-07 Thread root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2018-03-07 10:37:30

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new (New)


Package is "openvswitch"

Wed Mar  7 10:37:30 2018 rev:22 rq:583259 version:2.9.0

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2018-02-26 
23:27:10.377973032 +0100
+++ /work/SRC/openSUSE:Factory/.openvswitch.new/openvswitch.changes 
2018-03-07 10:37:34.736199362 +0100
@@ -1,0 +2,67 @@
+Thu Mar  1 10:39:54 UTC 2018 - mchand...@suse.de
+
+- Version bump to 2.9.0. Some of the changes are:
+  * NSH implementation now conforms to latest draft (draft-ietf-sfc-nsh-28).
+  * OVSDB:
+- ovsdb-client: New "get-schema-cksum" and "query" commands.
+- ovsdb-client: New "backup" and "restore" commands.
+- ovsdb-client: New --timeout option.
+- ovsdb-tool: New "db-name" and "schema-name" commands.
+  * ovs-vsctl and other commands that display data in tables now support a
+ --max-column-width option to limit column width.
+  * No longer slow-path traffic that sends to a controller.  Applications,
+such as OVN ACL logging, want to send a copy of a packet to a
+controller while leaving the actual packet forwarding in the datapath.
+  * OVN:
+- The "requested-chassis" option for a logical switch port now accepts a
+  chassis "hostname" in addition to a chassis "name".
+- IPv6
+  * Added support to send IPv6 Router Advertisement packets in response to
+the IPv6 Router Solicitation packets from  the VIF ports.
+  * Added support to generate Neighbor Solicitation packets using the OVN
+action 'nd_ns' to resolve unknown next hop MAC addresses for the
+IPv6 packets.
+- ovn-ctl: New commands run_nb_ovsdb and run_sb_ovsdb.
+  * OpenFlow:
+- ct_clear action is now backed by kernel datapath. Support is probed for
+  when OVS starts.
+   - ovs-dpctl and related ovs-appctl commands:
+ * "flush-conntrack" now accept a 5-tuple to delete a specific
+   connection tracking entry.
+ * New "ct-set-maxconns", "ct-get-maxconns", and "ct-get-nconns" commands
+   for userspace datapath.
+   - No longer send packets to the Linux TAP device if it's DOWN unless it is
+ in another networking namespace.
+  * DPDK:
+- Add support for DPDK v17.11
+- Add support for vHost IOMMU
+- New debug appctl command 'netdev-dpdk/get-mempool-info'.
+  * Custom statistics:
+- DPDK physical ports now return custom set of "dropped", "error" and
+  "management" statistics.
+- ovs-ofctl dump-ports command now prints new of set custom statistics
+  if available (for OpenFlow 1.4+).
+- New appctl command 'dpif-netdev/pmd-rxq-rebalance' to rebalance rxq to
+  pmd assignments.
+- Add rxq utilization of pmd to appctl 'dpif-netdev/pmd-rxq-show'.
+- Add support for vHost dequeue zero copy (experimental)
+  * Userspace datapath:
+- Output packet batching support.
+  * vswitchd:
+- Datapath IDs may now be specified as 0x1 (etc.) instead of 16 digits.
+- Configuring a controller, or unconfiguring all controllers, now deletes
+  all groups and meters (as well as all flows).
+   - New --enable-sparse configure option enables "sparse" checking by default.
+   - Added additional information to vhost-user status.
+- For the complete list of changes, please refer to
+  http://openvswitch.org/releases/NEWS-2.9.0
+- Fix incorrect python3 dependencies for python2 subpackages
+- Drop upstream patches for DPDK 17.11 support. They have been merged upstream
+  * 0001-netdev-dpdk-replace-uint8_t-with-dpdk_port_t.patch
+  * 0002-netdev-dpdk-DPDK-v17.11-upgrade.patch
+  * 0003-netdev-dpdk-vHost-IOMMU-support.patch
+- Get rid of the old openvswitch DPDK migration steps everybody should have
+  migrated from <2.6 to latest releases by now.
+  * 0001-utilities-Add-script-to-support-DPDK-option-migratio.patch 
+
+---

Old:

  0001-netdev-dpdk-replace-uint8_t-with-dpdk_port_t.patch
  0001-utilities-Add-script-to-support-DPDK-option-migratio.patch
  0002-netdev-dpdk-DPDK-v17.11-upgrade.patch
  0003-netdev-dpdk-vHost-IOMMU-support.patch
  openvswitch-2.8.1.tar.gz

New:

  openvswitch-2.9.0.tar.gz



Other differences:
--
++ openvswitch.spec ++
--- /var/tmp/diff_new_pack.iAQmgs/_old  2018-03-07 10:37:35.848159252 +0100
+++ /var/tmp/diff_new_pack.iAQmgs/_new  2018-03-07 10:37:35.848159252 +0100
@@ -22,7 +22,7 @@
 %if ! %{defined _fillupdir}
   %define _fillupdir %{_localstatedir}/adm/fillup-templates
 %endif
-%define lname 

commit openvswitch for openSUSE:Factory

2018-02-26 Thread root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2018-02-26 23:26:55

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new (New)


Package is "openvswitch"

Mon Feb 26 23:26:55 2018 rev:21 rq:580249 version:2.8.1

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2018-01-13 
21:46:55.396100563 +0100
+++ /work/SRC/openSUSE:Factory/.openvswitch.new/openvswitch.changes 
2018-02-26 23:27:10.377973032 +0100
@@ -29 +29 @@
-  directory for the testsuite to run.
+  directory for the testsuite to run (bsc#1076284)



Other differences:
--



commit openvswitch for openSUSE:Factory

2018-01-13 Thread root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2018-01-13 21:46:42

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new (New)


Package is "openvswitch"

Sat Jan 13 21:46:42 2018 rev:20 rq:563300 version:2.8.1

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2017-12-14 
10:54:47.339418558 +0100
+++ /work/SRC/openSUSE:Factory/.openvswitch.new/openvswitch.changes 
2018-01-13 21:46:55.396100563 +0100
@@ -1,0 +2,22 @@
+Tue Jan  9 16:25:48 UTC 2018 - mchand...@suse.de
+
+- Add upstream patches to support DPDK 17.11 (fate#322609)
+  * 0001-netdev-dpdk-replace-uint8_t-with-dpdk_port_t.patch
+  * 0002-netdev-dpdk-DPDK-v17.11-upgrade.patch
+  * 0003-netdev-dpdk-vHost-IOMMU-support.patch
+
+---
+Wed Dec 27 17:05:35 UTC 2017 - mchand...@suse.de
+
+- Python fixes and improvements
+  * Build Python3 subpackages for Open vSwitch python bindings
+  * Switch build architecture to 'noarch' for python bindings.
+  * Fix license for python subpackages
+  * Build and ship python bytecode files.
+- Do not mark files in /usr/share/* as configuration files
+- Replace version macro with actual version number of Obsoletes tags.
+  The DPDK packages have been merged with the regular OvS ones in the
+  2.7.0 release so make it more explicit which ones we are obsoleting.
+- spec-cleaner fixes
+
+---

New:

  0001-netdev-dpdk-replace-uint8_t-with-dpdk_port_t.patch
  0002-netdev-dpdk-DPDK-v17.11-upgrade.patch
  0003-netdev-dpdk-vHost-IOMMU-support.patch



Other differences:
--
++ openvswitch.spec ++
--- /var/tmp/diff_new_pack.SPHatU/_old  2018-01-13 21:46:56.236061406 +0100
+++ /var/tmp/diff_new_pack.SPHatU/_new  2018-01-13 21:46:56.240061219 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package openvswitch
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,11 +17,11 @@
 # needssslcertforbuild
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 #Compat macro for new _fillupdir macro introduced in Nov 2017
 %if ! %{defined _fillupdir}
-  %define _fillupdir /var/adm/fillup-templates
+  %define _fillupdir %{_localstatedir}/adm/fillup-templates
 %endif
-
 %define lname libopenvswitch-2_8-0
 %ifarch aarch64 x86_64 %{ix86}
 # DPDK enabled by default
@@ -48,7 +48,17 @@
 Source0:http://openvswitch.org/releases/openvswitch-%{version}.tar.gz
 Source1:preamble
 Source89:   Module.supported.updates
+# PATCH-FIX-UPSTREAM: 0001-netdev-dpdk-replace-uint8_t-with-dpdk_port_t.patch
+Patch0: 0001-netdev-dpdk-replace-uint8_t-with-dpdk_port_t.patch
+# PATCH-FIX-UPSTREAM: 0002-netdev-dpdk-DPDK-v17.11-upgrade.patch
+Patch1: 0002-netdev-dpdk-DPDK-v17.11-upgrade.patch
+# PATCH-FIX-UPSTREAM: 0003-netdev-dpdk-vHost-IOMMU-support.patch
+Patch2: 0003-netdev-dpdk-vHost-IOMMU-support.patch
 Patch99:0001-utilities-Add-script-to-support-DPDK-option-migratio.patch
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module six}
+BuildRequires:  %{python_module xml}
+BuildRequires:  %{pythons}
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  fdupes
@@ -58,31 +68,27 @@
 BuildRequires:  libtool
 BuildRequires:  make
 BuildRequires:  pkgconfig
-BuildRequires:  python-devel
-BuildRequires:  python-six
-BuildRequires:  python-xml
+BuildRequires:  python-rpm-macros
 BuildRequires:  pkgconfig(openssl)
 Requires:   logrotate
 Requires:   modutils
-Requires:   python
 # ovs-ctl / ovs-pki use /usr/bin/uuidgen:
 Requires:   util-linux
 Requires(post): %fillup_prereq
 Suggests:   logrotate
 Provides:   openvswitch-common = %{version}
-Obsoletes:  openvswitch-common < %{version}
+Obsoletes:  openvswitch-common < 2.7.0
 Provides:   openvswitch-controller = %{version}
-Obsoletes:  openvswitch-controller < %{version}
+Obsoletes:  openvswitch-controller < 2.7.0
 # openvswitch-switch has been merged to the main package
 # so we need to provide a migration path
 Provides:   %{name}-dpdk = %{version}
 Provides:   %{name}-dpdk-switch = %{version}
 Provides:   %{name}-switch = %{version}
-Obsoletes:  %{name}-dpdk < %{version}
-Obsoletes:  %{name}-dpdk-switch < %{version}
-Obsoletes:  %{name}-switch < %{version}
+Obsoletes:  %{name}-dpdk < 2.7.0
+Obsoletes:  

commit openvswitch for openSUSE:Factory

2017-12-14 Thread root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2017-12-14 10:54:41

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new (New)


Package is "openvswitch"

Thu Dec 14 10:54:41 2017 rev:19 rq:554834 version:2.8.1

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2017-11-25 
08:43:36.848169719 +0100
+++ /work/SRC/openSUSE:Factory/.openvswitch.new/openvswitch.changes 
2017-12-14 10:54:47.339418558 +0100
@@ -1,0 +2,8 @@
+Wed Dec  6 14:00:55 UTC 2017 - mchand...@suse.de
+
+- Fix documentation installation. It's best to install everything to
+  %buildroot and then remove the files we don't need instead of the
+  other way around since some files need to be present in the source
+  directory for the testsuite to run.
+
+---



Other differences:
--
++ openvswitch.spec ++
--- /var/tmp/diff_new_pack.sE2ijX/_old  2017-12-14 10:54:48.891343640 +0100
+++ /var/tmp/diff_new_pack.sE2ijX/_new  2017-12-14 10:54:48.891343640 +0100
@@ -414,14 +414,10 @@
 install -p -m 0644 
rhel/usr_lib_firewalld_services_ovn-host-firewall-service.xml \
 
%{buildroot}%{_prefix}/lib/firewalld/services/ovn-host-firewall-service.xml
 
-# Copy documentation. The git archive builds also contain non rst files
-# to make sure we clean everything we don't need.
-find Documentation/ -type f ! -name '*.rst' -delete
-find Documentation/ -type d -empty -delete
-pushd Documentation/
+# Copy documentation.
 mkdir -p %{buildroot}%{_docdir}/%{name}
-cp -r * %{buildroot}%{_docdir}/%{name}
-popd
+cp -r Documentation/* %{buildroot}%{_docdir}/%{name}
+find %{buildroot}%{_docdir}/%{name}/ -type f ! -name '*.rst' -delete
 
 # DPDK migration script
 install -m 755 utilities/ovs-dpdk-migrate-2.6.sh 
%{buildroot}/%{_datadir}/openvswitch/scripts/
@@ -615,12 +611,12 @@
 %endif
 
 %files doc
-%exclude %{_docdir}/AUTHORS.rst
-%exclude %{_docdir}/CONTRIBUTING.rst
-%exclude %{_docdir}COPYING
-%exclude %{_docdir}/NEWS
-%exclude %{_docdir}/NOTICE
-%exclude %{_docdir}/README.rst
+%exclude %{_docdir}/%{name}/AUTHORS.rst
+%exclude %{_docdir}/%{name}/CONTRIBUTING.rst
+%exclude %{_docdir}/%{name}/COPYING
+%exclude %{_docdir}/%{name}/NEWS
+%exclude %{_docdir}/%{name}/NOTICE
+%exclude %{_docdir}/%{name}/README.rst
 %{_docdir}/%{name}/
 
 %files -n %{lname}




commit openvswitch for openSUSE:Factory

2017-11-24 Thread root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2017-11-25 08:43:35

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new (New)


Package is "openvswitch"

Sat Nov 25 08:43:35 2017 rev:18 rq:545123 version:2.8.1

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2017-10-03 
23:18:19.261670523 +0200
+++ /work/SRC/openSUSE:Factory/.openvswitch.new/openvswitch.changes 
2017-11-25 08:43:36.848169719 +0100
@@ -1,0 +2,6 @@
+Thu Nov 23 13:38:56 UTC 2017 - rbr...@suse.com
+
+- Replace references to /var/adm/fillup-templates with new 
+  %_fillupdir macro (boo#1069468)
+
+---



Other differences:
--
++ openvswitch.spec ++
--- /var/tmp/diff_new_pack.5dKLxy/_old  2017-11-25 08:43:37.892131683 +0100
+++ /var/tmp/diff_new_pack.5dKLxy/_new  2017-11-25 08:43:37.892131683 +0100
@@ -17,6 +17,11 @@
 # needssslcertforbuild
 
 
+#Compat macro for new _fillupdir macro introduced in Nov 2017
+%if ! %{defined _fillupdir}
+  %define _fillupdir /var/adm/fillup-templates
+%endif
+
 %define lname libopenvswitch-2_8-0
 %ifarch aarch64 x86_64 %{ix86}
 # DPDK enabled by default
@@ -388,7 +393,7 @@
 %endif
 
 install -D -m 644 
rhel/usr_share_openvswitch_scripts_systemd_sysconfig.template \
-
%{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.openvswitch
+%{buildroot}%{_fillupdir}/sysconfig.openvswitch
 
 install -d -m 755 %{buildroot}%{_sysconfdir}/logrotate.d
 install -d -m 755 %{buildroot}%{_localstatedir}/log/openvswitch
@@ -603,7 +608,7 @@
 %{_unitdir}/openvswitch.service
 %{_unitdir}/ovs-vswitchd.service
 %{_unitdir}/ovsdb-server.service
-%{_localstatedir}/adm/fillup-templates/sysconfig.openvswitch
+%{_fillupdir}/sysconfig.openvswitch
 %dir %{_localstatedir}/log/openvswitch
 %if %{with dpdk}
 %{_prefix}/lib/udev/rules.d/91-vfio.rules




commit openvswitch for openSUSE:Factory

2017-10-04 Thread root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2017-10-03 23:18:07

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new (New)


Package is "openvswitch"

Tue Oct  3 23:18:07 2017 rev:17 rq:530557 version:2.8.1

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2017-09-13 
22:30:25.542843646 +0200
+++ /work/SRC/openSUSE:Factory/.openvswitch.new/openvswitch.changes 
2017-10-03 23:18:19.261670523 +0200
@@ -1,0 +2,23 @@
+Fri Sep 29 19:46:56 UTC 2017 - mchand...@suse.de
+
+- Version bump to 2.8.1. Some of the changes are:
+  * connmgr: Fix violation of flow monitoring protocol description.
+  * ovn/actions: Improve OVN load-balancing performance.
+  * dpif-netdev: Fix a zero-rate bug for meter
+  * conntrack: Tighten handling of alg reverse conns.
+  * conntrack: Add function ct_print_conn_info().
+  * conntrack: Create nat_conn_keys_insert().
+  * netdev-dpdk: reset packet_type for reused dp_packets.
+  * ofp-util: Fix memory leaks when parsing OF1.5 group properties 
(cve-2017-14970) (bsc#1061310)
+  * ofp-util: Fix memory leaks on error cases in ofputil_decode_group_mod() 
(cve-2017-14970) (bsc#1061310)
+  * ofp-util: Fix buffer overread in ofputil_decode_bundle_add().
+  * ofproto: Include patch ports in mtu overriden check
+  * netdev-tc-offloads: Fix vxlan tunnel offloading
+  * bridge: Fix controller status update to passive connections
+  * lib/odp: Fix handling of set masked action in parse_odp_action
+  * tests: Fix sparse error on test-ovn.c
+  * dpif-netdev: Fix per packet cycles statistics.
+  * netdev-dpdk: update vhost user client port status.
+  * ovsdb-server.1: Fix mention of wrong option.
+
+---

Old:

  openvswitch-2.8.0.tar.gz

New:

  openvswitch-2.8.1.tar.gz



Other differences:
--
++ openvswitch.spec ++
--- /var/tmp/diff_new_pack.Uka23W/_old  2017-10-03 23:18:20.193539378 +0200
+++ /var/tmp/diff_new_pack.Uka23W/_new  2017-10-03 23:18:20.201538252 +0200
@@ -31,7 +31,7 @@
 # Disable building the external kernel datapath by default
 %bcond_with kmp
 Name:   openvswitch
-Version:2.8.0
+Version:2.8.1
 Release:0
 Summary:A multilayer virtual network switch
 # All code is Apache-2.0 except

++ openvswitch-2.8.0.tar.gz -> openvswitch-2.8.1.tar.gz ++
/work/SRC/openSUSE:Factory/openvswitch/openvswitch-2.8.0.tar.gz 
/work/SRC/openSUSE:Factory/.openvswitch.new/openvswitch-2.8.1.tar.gz differ: 
char 5, line 1




commit openvswitch for openSUSE:Factory

2017-09-13 Thread root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2017-09-13 22:29:53

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new (New)


Package is "openvswitch"

Wed Sep 13 22:29:53 2017 rev:16 rq:522131 version:2.8.0

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2017-08-24 
18:43:07.407786337 +0200
+++ /work/SRC/openSUSE:Factory/.openvswitch.new/openvswitch.changes 
2017-09-13 22:30:25.542843646 +0200
@@ -1,0 +2,66 @@
+Mon Sep  4 07:22:47 UTC 2017 - mchand...@suse.de
+
+- Version bump to 2.8.0 (fate#323334, bsc#1050700). Some of the changes are:
+  * ovs-ofctl can now accept and display port names in place of numbers.  By
+default it always accepts names and in interactive use it displays them;
+use --names or --no-names to override.  See ovs-ofctl(8) for details.
+  * "ovs-ofctl dump-flows" now accepts --no-stats to omit flow statistics.
+  * New ovs-dpctl command "ct-stats-show" to show connection tracking stats.
+  * DPDK log messages redirected to OVS logging subsystem.
+Log level can be changed in a usual OVS way using
+'ovs-appctl vlog' commands for 'dpdk' module. Lower bound
+still can be configured via extra arguments for DPDK EAL.
+  * dpdkvhostuser ports are marked as deprecated.  They will be removed
+in an upcoming release.
+  * Support for DPDK v17.05.1.
+  * New support for multiple VLANs (802.1ad or "QinQ"), including a new
+"dot1q-tunnel" port VLAN mode.
+  * Added NAT support for userspace datapath.
+  * Added FTP and TFTP support with NAT for userspace datapath.
+  * Experimental NSH (Network Service Header) support in userspace datapath.
+  * Tracing with ofproto/trace now traces through recirculation.
+  * New support for role-based access control (see ovsdb-server(1)).
+  * New commands 'stp/show' and 'rstp/show' (see ovs-vswitchd(8)).
+  * All features required by OpenFlow 1.4 are now implemented, so
+ovs-vswitchd now enables OpenFlow 1.4 by default (in addition to
+OpenFlow 1.0 to 1.3).
+  * Increased support for OpenFlow 1.6 (draft).
+  * Bundles now support hashing by just nw_src or nw_dst.
+  * The "learn" action now supports a "limit" option (see ovs-ofctl(8)).
+  * The port status bit OFPPS_LIVE now reflects link aliveness.
+  * OpenFlow 1.5 packet-out is now supported.
+  * Support for OpenFlow 1.5 field packet_type and packet-type-aware
+pipeline (PTAP).
+  * Added generic encap and decap actions (EXT-382).
+First supported use case is encap/decap for Ethernet.
+  * Added NSH (Network Service Header) support in userspace
+Used generic encap and decap actions to implement encapsulation and
+decapsulation of NSH header.
+IETF NSH draft - https://datatracker.ietf.org/doc/draft-ietf-sfc-nsh/
+  * ovs-vswitchd and ovsdb-server run as non-root users by default.
+  * Add --cleanup option to command 'ovs-appctl exit' (see ovs-vswitchd(8)).
+  * Use new tunnel port option "packet_type" to configure L2 vs. L3.
+  * In conjunction with PTAP tunnel ports can handle a mix of L2 and L3
+payload.
+  * New vxlan tunnel extension "gpe" to support VXLAN-GPE tunnels.
+  * New support for non-Ethernet (L3) payloads in GRE and VXLAN-GPE.
+  * Add experimental support for hardware offloading
+  * HW offloading is disabled by default.
+  * HW offloading is done through the TC interface.
+  * The next major version of OVS will introduce a change in the
+conntrack API.  Conntrack state is only available to the processing
+path that follows the "recirc_table" argument of the ct() action.
+Starting in OVS 2.9, this state will be cleared for the current
+processing path whenever ct() is called.
+- Create new openvswitch-doc subpackage for the Open vSwitch documentation
+- Fix filename for logrotate configuration (bsc#1057357)
+- Fix constrains with Provides/Obsoletes tags (bsc#1057357)
+- Misc cleanups from spec-cleaner
+
+---
+Thu Aug 10 15:12:23 UTC 2017 - o...@aepfle.de
+
+- Update filename in /var/adm/update-messages to match documentation,
+  and build-compare pattern
+
+---

Old:

  openvswitch-2.7.2.tar.gz

New:

  openvswitch-2.8.0.tar.gz



Other differences:
--
++ openvswitch.spec ++
--- /var/tmp/diff_new_pack.5yqw9t/_old  2017-09-13 22:30:26.606693879 +0200
+++ /var/tmp/diff_new_pack.5yqw9t/_new  2017-09-13 22:30:26.610693317 +0200
@@ -17,8 +17,7 @@
 # needssslcertforbuild
 
 
-# Disable building the external kernel datapath by default
-%bcond_with kmp
+%define lname libopenvswitch-2_8-0
 %ifarch 

commit openvswitch for openSUSE:Factory

2017-08-24 Thread root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2017-08-24 18:42:36

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new (New)


Package is "openvswitch"

Thu Aug 24 18:42:36 2017 rev:15 rq:512973 version:2.7.2

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2017-06-05 
18:51:20.892708889 +0200
+++ /work/SRC/openSUSE:Factory/.openvswitch.new/openvswitch.changes 
2017-08-24 18:43:07.407786337 +0200
@@ -1,0 +2,59 @@
+Thu Jul 27 13:05:42 UTC 2017 - mchand...@suse.de
+
+- Do not restart the ovs-vswitchd and ovsdb-server services
+  on package updates (bsc#1002734)
+- Do not restart the ovs-vswitchd, ovsdb-server and openvswitch
+  services on package removals. This facilitates potential future
+  package moves but also preserves connectivity when the package is
+  removed (bsc#1050896) 
+
+---
+Wed Jul 19 07:32:59 UTC 2017 - mchand...@suse.de
+
+- Version bump to 2.7.2. Some of the changes are:
+  * Revert "netdev: Fix netdev_open() to adhere to class type if given"
+  * connmgr: Fix crash when in_band_create() fails.
+  * db-ctl-base: Fix reference-following feature in get_row_by_id().
+  * netdev: Fix crash when ifa_netmask is null.
+  * ovn-controller: fix use-after-free in physical_run()
+  * ovn-controller: avoid crash when vswitchd connection is lost
+  * ovsdb-types: Fix memory leak on error path.
+  * vswitchd: Fix IFACE_STAT name error in iface_refresh_stats
+  * netdev: Fix crash when interface option is changed to invalid value.
+  * ofp-util: fix memory leak in ofputil_pull_ofp11_buckets
+  * configure: Fix check for rte_config.h to handle cross-compilation.
+  * ofp-util: Check length of buckets in ofputil_pull_ofp15_group_mod() 
(cve-2017-9265) (bsc#1041447)
+  * ofp-print: Don't abort on unknown reason in role status message 
(cve-2017-9263) (bsc#1041470)
+
+---
+Sat Jul  8 20:42:27 UTC 2017 - jeng...@inai.de
+
+- Remove irrelevant wording from summaries/description.
+  Diversify summaries.
+- Get rid of an empty if block by inverting the condition.
+- Implement shared library packaging guideline.
+
+---
+Thu Jul  6 07:59:30 UTC 2017 - mchand...@suse.de
+
+- Version bump to 2.7.1. Some of the changes are:
+  * Add --cleanup option to command 'ovs-appctl exit' (see ovs-vswitchd(8)).
+  * libopenvswitch-2 was renamed to libopenvswitch-2.7. Applications built
+against libopenvswitch must be recompiled against the newer library.
+  * ovs-ctl: allow passing user:group to daemons
+  * ofproto/bond: Fix bond reconfiguration race condition
+  * ofproto/bond: Fix bond post recirc rule leak.
+  * ofproto/bond: fix interal flow leak of tcp-balance bond
+  * mcast-snooping: Avoid segfault for vswitchd.
+  * tun-metadata: Fix memory leak in tun_metadata_table_mod().
+  * netdev-dpdk: Fix mempool segfault.
+  * mirror: Allow concurrent lookups.
+  * ofp-util: Fix buffer overread in ofputil_pull_queue_get_config_reply10() 
(bsc#1040543)
+  * ovsdb: Check null before deref in ovsdb_monitor_table_condition_update().
+  * For the complete list of changes, please see:
+- https://github.com/openvswitch/ovs/compare/v2.7.0...v2.7.1
+- Remove upstreamed patch
+  * 0001-ofp-util-Fix-buffer-overread-in-ofputil_pull_queue_g.patch
+- OVN services are no longer restarted automatically after upgrade 
(44dd4cc49c8a)
+
+---

Old:

  0001-ofp-util-Fix-buffer-overread-in-ofputil_pull_queue_g.patch
  openvswitch-2.7.0.tar.gz

New:

  openvswitch-2.7.2.tar.gz



Other differences:
--
++ openvswitch.spec ++
--- /var/tmp/diff_new_pack.HZeKnj/_old  2017-08-24 18:43:09.751456168 +0200
+++ /var/tmp/diff_new_pack.HZeKnj/_new  2017-08-24 18:43:09.759455040 +0200
@@ -29,10 +29,12 @@
 # The testsuite is somewhat fragile for continuous testing in OBS
 # but keep it here as an option
 %bcond_with check
+%define lname libopenvswitch-2_7-1
+
 Name:   openvswitch
-Version:2.7.0
+Version:2.7.2
 Release:0
-Summary:An open source, production quality, multilayer virtual switch
+Summary:A multilayer virtual network switch
 # All code is Apache-2.0 except
 # - lib/sflow* which is SISSL
 # - utilities/bugtool which is LGPL-2.1
@@ -42,10 +44,6 @@
 Source0:http://openvswitch.org/releases/openvswitch-%{version}.tar.gz
 Source1:preamble
 Source89:   Module.supported.updates
-# PATCh-FIX-UPSTREAM 

commit openvswitch for openSUSE:Factory

2017-06-05 Thread root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2017-06-05 18:51:00

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new (New)


Package is "openvswitch"

Mon Jun  5 18:51:00 2017 rev:14 rq:501158 version:2.7.0

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2017-03-17 
15:06:34.989536680 +0100
+++ /work/SRC/openSUSE:Factory/.openvswitch.new/openvswitch.changes 
2017-06-05 18:51:20.892708889 +0200
@@ -1,0 +2,9 @@
+Sat May 27 08:39:25 UTC 2017 - mchand...@suse.de
+
+- Install firewalld OVN files with chmod 644 instead of 755 (4a54614120ea)
+- Use python-six instead of python2-six dependency to cover distributions
+  which are not using the python-singlespec packaging specification yet 
(bsc#1041110)
+- Add upstream patch to fix a buffer overread vulnerability (cve-2017-9214) 
(bsc#1040543)
+  * 0001-ofp-util-Fix-buffer-overread-in-ofputil_pull_queue_g.patch
+
+---

New:

  0001-ofp-util-Fix-buffer-overread-in-ofputil_pull_queue_g.patch



Other differences:
--
++ openvswitch.spec ++
--- /var/tmp/diff_new_pack.YyFayC/_old  2017-06-05 18:51:21.488624889 +0200
+++ /var/tmp/diff_new_pack.YyFayC/_new  2017-06-05 18:51:21.492624326 +0200
@@ -42,6 +42,10 @@
 Source0:http://openvswitch.org/releases/openvswitch-%{version}.tar.gz
 Source1:preamble
 Source89:   Module.supported.updates
+# PATCh-FIX-UPSTREAM 
0001-ofp-util-Fix-buffer-overread-in-ofputil_pull_queue_g.patch
+# Upstream fix (present in 2.7 branch) to fix CVE-2017-9214
+# See https://nvd.nist.gov/vuln/detail/CVE-2017-9214
+Patch1: 0001-ofp-util-Fix-buffer-overread-in-ofputil_pull_queue_g.patch
 Patch99:0001-utilities-Add-script-to-support-DPDK-option-migratio.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
@@ -237,7 +241,7 @@
 Group:  Productivity/Networking/System
 Requires:   openvswitch-common = %{version}
 Requires:   python
-Requires:   python2-six
+Requires:   python-six
 
 %description -n python-openvswitch
 This package contains the full Python bindings for Open vSwitch database.
@@ -274,6 +278,7 @@
 
 %prep
 %setup -q -n openvswitch-%{version}
+%patch1 -p1
 %patch99 -p1
 
 %build
@@ -373,9 +378,9 @@
 
 # firewalld
 install -d %{buildroot}%{_prefix}/lib/firewalld/services/
-install rhel/usr_lib_firewalld_services_ovn-central-firewall-service.xml \
+install -p -m 0644 
rhel/usr_lib_firewalld_services_ovn-central-firewall-service.xml \
 
%{buildroot}%{_prefix}/lib/firewalld/services/ovn-central-firewall-service.xml
-install rhel/usr_lib_firewalld_services_ovn-host-firewall-service.xml \
+install -p -m 0644 
rhel/usr_lib_firewalld_services_ovn-host-firewall-service.xml \
 
%{buildroot}%{_prefix}/lib/firewalld/services/ovn-host-firewall-service.xml
 
 # Copy documentation. The git archive builds also contain non rst files

++ 0001-ofp-util-Fix-buffer-overread-in-ofputil_pull_queue_g.patch ++
>From 7b7b186a8d40fc6f287cef2582702181da74bdc3 Mon Sep 17 00:00:00 2001
From: Ben Pfaff 
Date: Sat, 20 May 2017 16:38:24 -0700
Subject: [PATCH] ofp-util: Fix buffer overread in
 ofputil_pull_queue_get_config_reply10().

msg->size isn't the relevant measurement here because we're only supposed
to read 'len' bytes.  Reading more than that causes 'len' to underflow to a
large number at the end of the loop.

Reported-by: Bhargava Shastry 
Signed-off-by: Ben Pfaff 
Acked-by: Greg Rose 
---
 lib/ofp-util.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/ofp-util.c b/lib/ofp-util.c
index db27abf8b..a6dd5dbdd 100644
--- a/lib/ofp-util.c
+++ b/lib/ofp-util.c
@@ -2598,7 +2598,7 @@ ofputil_pull_queue_get_config_reply10(struct ofpbuf *msg,
 
 hdr = ofpbuf_at_assert(msg, 0, sizeof *hdr);
 prop_len = ntohs(hdr->len);
-if (prop_len < sizeof *hdr || prop_len > msg->size || prop_len % 8) {
+if (prop_len < sizeof *hdr || prop_len > len || prop_len % 8) {
 return OFPERR_OFPBRC_BAD_LEN;
 }
 
-- 
2.12.2




commit openvswitch for openSUSE:Factory

2017-03-17 Thread root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2017-03-17 15:06:33

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new (New)


Package is "openvswitch"

Fri Mar 17 15:06:33 2017 rev:13 rq:479156 version:2.7.0

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2016-11-29 
12:49:10.0 +0100
+++ /work/SRC/openSUSE:Factory/.openvswitch.new/openvswitch.changes 
2017-03-17 15:06:34.989536680 +0100
@@ -1,0 +2,68 @@
+Tue Feb 28 09:24:48 UTC 2017 - mchand...@suse.de
+
+- Version bump to 2.7.0 (fate#321541). Some of the changes are:
+  * Utilities and daemons that support SSL now allow protocols and
+ciphers to be configured with --ssl-protocols and --ssl-ciphers.
+  * OVN:
+- QoS is now implemented via egress shaping rather than ingress policing.
+- DSCP marking is now supported, via the new northbound QoS table.
+- IPAM now supports fixed MAC addresses.
+- Support for source IP address based routing.
+- ovn-trace:
+  * New --ovs option to also print OpenFlow flows.
+  * put_dhcp_opts and put_dhcp_optsv6 actions may now be traced.
+- Support for managing SSL and remote connection configuration in
+  northbound and southbound databases.
+  * Fixed regression in table stats maintenance introduced in OVS
+2.3.0, wherein the number of OpenFlow table hits and misses was
+not accurate.
+  * OpenFlow:
+- OFPT_PACKET_OUT messages are now supported in bundles.
+- A new "selection_method=dp_hash" type for OpenFlow select group
+  bucket selection that uses the datapath computed 5-tuple hash
+  without making datapath flows match the 5-tuple fields, which
+  is useful for more efficient load balancing, for example.  This
+  uses the Netronome extension to OpenFlow 1.5+ that allows
+  control over the OpenFlow select groups selection method.  See
+  "selection_method" and related options in ovs-ofctl(8) for
+  details.
+- The "sample" action now supports "ingress" and "egress" options.
+- The "ct" action now supports the TFTP ALG where support is available.
+- New actions "clone" and "ct_clear".
+  * ovs-ofctl:
+- 'bundle' command now supports packet-out messages.
+- New syntax for 'ovs-ofctl packet-out' command, which uses the
+  same string parser as the 'bundle' command.  The old 'packet-out'
+  syntax is deprecated and will be removed in a later OVS
+  release.
+- New unixctl "ofctl/packet-out" command, which can be used to
+  instruct a flow monitor to issue OpenFlow packet-out messages.
+  * ovsdb-server:
+- Remote connections can now be made read-only (see ovsdb-server(1)).
+  * DPDK:
+- Support for DPDK v16.11.
+- Support for rx checksum offload. Refer DPDK HOWTO for details.
+- Port Hotplug is now supported.
+- DPDK physical ports can now have arbitrary names. The PCI address of
+  the device must be set using the 'dpdk-devargs' option. Compatibility
+  with the old dpdk naming scheme is broken, and as such a
+  device will not be available for use until a valid dpdk-devargs is
+  specified.
+- Virtual DPDK Poll Mode Driver (vdev PMD) support.
+  * For the complete list of changes, please see:
+- http://openvswitch.org/releases/NEWS-2.7.0
+- Add patch to fix DPDK configuration migration for < 2.6 installations
+  * 0001-utilities-Add-script-to-support-DPDK-option-migratio.patch
+- Rework spec file
+  * Enable DPDK by default and drop openvswitch-dpdk* packages. DPDK is only
+enabled on supported architectures though.
+- Remove openvswitch-dpdk.changes
+- Remove openvswitch-dpdk.spec
+- Remove pre_checkin.sh
+  * Merge openvswitch and openvswitch-switch into a single package since there
+was no compelling reason to keep the switch functionality in a separate
+subpackage.
+  * Split OVN package to ovn-common, ovn-central, ovn-docker, ovn-host and
+ovn-controller similar to the Debian and RedHat packages.
+   
+---
@@ -12 +80 @@
-  user decide when it is the best time for such an action.
+  user decide when it is the best time for such an action. (bsc#1002734)
@@ -68,0 +137,13 @@
+
+---
+Wed Sep 28 08:06:43 UTC 2016 - mchand...@suse.de
+
+- New upstream bugfix release 2.5.1 (bsc#1001657)
+  * DPDK:
+- New appctl command 'dpif-netdev/pmd-rxq-show' to check the port/rxq
+  assignment.
+- Type of log messages from PMD threads changed from INFO to DBG.
+  * ovs-pki: Changed message digest algorithm from SHA-1 to SHA-512 because
+SHA-1 is no longer secure and some operating systems have 

commit openvswitch for openSUSE:Factory

2016-11-29 Thread h_root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2016-11-29 12:49:10

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new (New)


Package is "openvswitch"

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch-dpdk.changes 
2016-11-05 21:27:55.0 +0100
+++ /work/SRC/openSUSE:Factory/.openvswitch.new/openvswitch-dpdk.changes
2016-11-29 12:49:10.0 +0100
@@ -1,0 +2,13 @@
+Fri Nov 25 16:36:40 UTC 2016 - mchand...@suse.de
+
+- Relax the DPDK dependency a bit so we can support stable and
+  possibly new minor releases as well.
+
+---
+Mon Nov 21 11:53:00 UTC 2016 - mchand...@suse.de
+
+- Do not restart the openvswitch service after a package update.
+  Restarting the systemd service may break connectivity so let the
+  user decide when it is the best time for such an action.
+
+---
openvswitch.changes: same change



Other differences:
--
++ openvswitch-dpdk.spec ++
--- /var/tmp/diff_new_pack.CEoZJv/_old  2016-11-29 12:49:11.0 +0100
+++ /var/tmp/diff_new_pack.CEoZJv/_new  2016-11-29 12:49:11.0 +0100
@@ -70,8 +70,9 @@
 %if %{with dpdk}
 # We need to be a bit strict with the dpdk version since
 # it's very possible for DPDK to change it's API between
-# releases. This version currently requires 16.07.
-BuildRequires:  dpdk-devel = 16.07
+# releases. This version currently requires >=16.07 but not
+# 17.XX
+BuildRequires:  dpdk-devel >= 16.07
 BuildRequires:  libnuma-devel
 BuildRequires:  libpcap-devel
 # We can't have openvswitch and openvswitch-dpdk in parallel
@@ -375,6 +376,14 @@
 %postun switch
 %service_del_postun ovsdb-server.service
 %service_del_postun ovs-vswitchd.service
+# Do not restart the openvswitch service on package updates.
+# Restarting the service may break the existing network state.
+# For example, openflow rules are not automatically re-installed
+# after an OvS update if no SDN controller is used. Moreover, restaring
+# the OvS can break remote administration during the update so let the
+# admin decide when it's the best time for an OvS restart.
+# 5771f476573445710834234a6a9f7bd999a027e7 ("fedora: do not restart the 
service on a pkg upgrade")
+export DISABLE_RESTART_ON_UPDATE=yes
 %service_del_postun openvswitch.service
 
 %pre ovn

++ openvswitch.spec ++
--- /var/tmp/diff_new_pack.CEoZJv/_old  2016-11-29 12:49:11.0 +0100
+++ /var/tmp/diff_new_pack.CEoZJv/_new  2016-11-29 12:49:11.0 +0100
@@ -68,8 +68,9 @@
 %if %{with dpdk}
 # We need to be a bit strict with the dpdk version since
 # it's very possible for DPDK to change it's API between
-# releases. This version currently requires 16.07.
-BuildRequires:  dpdk-devel = 16.07
+# releases. This version currently requires >=16.07 but not
+# 17.XX
+BuildRequires:  dpdk-devel >= 16.07
 BuildRequires:  libnuma-devel
 BuildRequires:  libpcap-devel
 # We can't have openvswitch and openvswitch-dpdk in parallel
@@ -373,6 +374,14 @@
 %postun switch
 %service_del_postun ovsdb-server.service
 %service_del_postun ovs-vswitchd.service
+# Do not restart the openvswitch service on package updates.
+# Restarting the service may break the existing network state.
+# For example, openflow rules are not automatically re-installed
+# after an OvS update if no SDN controller is used. Moreover, restaring
+# the OvS can break remote administration during the update so let the
+# admin decide when it's the best time for an OvS restart.
+# 5771f476573445710834234a6a9f7bd999a027e7 ("fedora: do not restart the 
service on a pkg upgrade")
+export DISABLE_RESTART_ON_UPDATE=yes
 %service_del_postun openvswitch.service
 
 %pre ovn




commit openvswitch for openSUSE:Factory

2016-11-05 Thread h_root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2016-11-05 21:27:54

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new (New)


Package is "openvswitch"

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch-dpdk.changes 
2016-10-13 11:30:14.0 +0200
+++ /work/SRC/openSUSE:Factory/.openvswitch.new/openvswitch-dpdk.changes
2016-11-05 21:27:55.0 +0100
@@ -1,0 +2,13 @@
+Thu Nov  3 10:48:32 UTC 2016 - mchand...@suse.de
+
+- Version bump to 2.6.1. Some of the changes are:
+  * ovn: Do not reply to ARP or ND NS for a VM's own IP address.
+  * ovs-ofctl: Tolerate differences in IPv6 formatting.
+  * netdev-linux: double tagged packets should use 0x88a8
+  * expr: Fix abort when simplifying "x != 0/0".
+  * dpif-netdev: Fix crash in dpif_netdev_execute().
+  * ovn-controller: Container can have connection to a hosting VM.
+  * stream-ssl: Fix memory leak on error path.
+  * Other bug fixes.
+
+---
openvswitch.changes: same change

Old:

  openvswitch-2.6.0.tar.gz

New:

  openvswitch-2.6.1.tar.gz



Other differences:
--
++ openvswitch-dpdk.spec ++
--- /var/tmp/diff_new_pack.KKDmQx/_old  2016-11-05 21:27:56.0 +0100
+++ /var/tmp/diff_new_pack.KKDmQx/_new  2016-11-05 21:27:56.0 +0100
@@ -28,7 +28,7 @@
 # Do NOT edit this auto generated file! Edit openvswitch.spec instead
 # and run 'pre_checkin.sh' before committing
 Name:   openvswitch-dpdk
-Version:2.6.0
+Version:2.6.1
 Release:0
 Summary:An open source, production quality, multilayer virtual switch 
(DPDK)
 # All code is Apache-2.0 except

++ openvswitch.spec ++
--- /var/tmp/diff_new_pack.KKDmQx/_old  2016-11-05 21:27:56.0 +0100
+++ /var/tmp/diff_new_pack.KKDmQx/_new  2016-11-05 21:27:56.0 +0100
@@ -26,7 +26,7 @@
 # but keep it here as an option
 %bcond_with check
 Name:   openvswitch
-Version:2.6.0
+Version:2.6.1
 Release:0
 Summary:An open source, production quality, multilayer virtual switch
 # All code is Apache-2.0 except

++ openvswitch-2.6.0.tar.gz -> openvswitch-2.6.1.tar.gz ++
 59955 lines of diff (skipped)




commit openvswitch for openSUSE:Factory

2016-10-13 Thread h_root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2016-10-13 11:30:12

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new (New)


Package is "openvswitch"

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch-dpdk.changes 
2016-09-16 11:01:03.0 +0200
+++ /work/SRC/openSUSE:Factory/.openvswitch.new/openvswitch-dpdk.changes
2016-10-13 11:30:14.0 +0200
@@ -1,0 +2,43 @@
+Mon Oct  3 08:26:10 UTC 2016 - mchand...@suse.de
+
+- Version bump to 2.6.0. Some of the changes are:
+  * First supported release of OVN.  See ovn-architecture(7) for more
+ details.
+  * ovsdb-server:
+ - New "monitor_cond" "monitor_cond_update" and "update2" extensions to
+   RFC 7047.
+   * OpenFlow:
+ - OpenFlow 1.3+ bundles now expire after 10 seconds since the
+   last time the bundle was either opened, modified, or closed.
+ - OpenFlow 1.3 Extension 230, adding OpenFlow Bundles support, is
+   now implemented.
+ - OpenFlow 1.3+ bundles are now supported for group mods as well as
+   flow mods and port mods.  Both 'atomic' and 'ordered' bundle
+   flags are supported for group mods as well as flow mods.
+ - Internal OpenFlow rule representation for load and set-field
+   actions is now much more memory efficient.  For a complex flow
+   table this can reduce rule memory consumption by 40%.
+ - Bundles are now much more memory efficient than in OVS 2.5.
+   Together with memory efficiency improvements in OpenFlow rule
+   representation, the peak OVS resident memory use during a
+   bundle commit for large complex set of flow mods can be only
+   25% of that in OVS 2.5 (4x lower).
+ - OpenFlow 1.1+ OFPT_QUEUE_GET_CONFIG_REQUEST now supports OFPP_ANY.
+ - OpenFlow 1.4+ OFPMP_QUEUE_DESC is now supported.
+ - OpenFlow 1.4+ OFPT_TABLE_STATUS is now supported.
+ - New property-based packet-in message format NXT_PACKET_IN2 with support
+   for arbitrary user-provided data and for serializing flow table
+   traversal into a continuation for later resumption.
+ - New extension message NXT_SET_ASYNC_CONFIG2 to allow OpenFlow 1.4-like
+   control over asynchronous messages in earlier versions of OpenFlow.
+- [...]
+- For a complete list of changes, please see
+  http://openvswitch.org/releases/NEWS-2.6.0
+- Remove obsolete patches and files
+  * 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch
+  * 0001-ovs-ctl-Add-new-DPDK_OPTIONS-environment-variable.patch
+  * openvswitch-2.5.0-detect-dpdk-installation.patch
+  * openvswitch-switch.logrotate
+  * openvswitch.service
+
+---
openvswitch.changes: same change

Old:

  0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch
  0001-ovs-ctl-Add-new-DPDK_OPTIONS-environment-variable.patch
  openvswitch-2.5.0-detect-dpdk-installation.patch
  openvswitch-2.5.0.tar.gz
  openvswitch-switch.logrotate
  openvswitch.service

New:

  openvswitch-2.6.0.tar.gz



Other differences:
--
++ openvswitch-dpdk.spec ++
--- /var/tmp/diff_new_pack.CLli9s/_old  2016-10-13 11:30:17.0 +0200
+++ /var/tmp/diff_new_pack.CLli9s/_new  2016-10-13 11:30:17.0 +0200
@@ -28,7 +28,7 @@
 # Do NOT edit this auto generated file! Edit openvswitch.spec instead
 # and run 'pre_checkin.sh' before committing
 Name:   openvswitch-dpdk
-Version:2.5.0
+Version:2.6.0
 Release:0
 Summary:An open source, production quality, multilayer virtual switch 
(DPDK)
 # All code is Apache-2.0 except
@@ -39,15 +39,7 @@
 Url:http://openvswitch.org/
 Source0:http://openvswitch.org/releases/openvswitch-%{version}.tar.gz
 Source1:preamble
-Source2:openvswitch-switch.logrotate
-Source3:openvswitch.service
 Source89:   Module.supported.updates
-# PATCH-FIX-UPSTREAM: openvswitch-2.5.0-detect-dpdk-installation.patch 
(fate#319170)
-Patch0: openvswitch-%{version}-detect-dpdk-installation.patch
-# PATCH-FIX-UPSTREAM: 
0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch
-Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch
-# PATCH-FIX-SUSE: 0001-ovs-ctl-Add-new-DPDK_OPTIONS-environment-variable.patch 
(bsc#987265)
-Patch2: 0001-ovs-ctl-Add-new-DPDK_OPTIONS-environment-variable.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  fdupes
@@ -63,6 +55,7 @@
 # Needed by the testsuite
 BuildRequires:  procps
 BuildRequires:  python-devel
+BuildRequires:  python-six
 BuildRequires:  

commit openvswitch for openSUSE:Factory

2016-09-16 Thread h_root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2016-09-16 11:01:02

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new (New)


Package is "openvswitch"

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch-dpdk.changes 
2016-09-11 00:53:39.0 +0200
+++ /work/SRC/openSUSE:Factory/.openvswitch.new/openvswitch-dpdk.changes
2016-09-16 11:01:03.0 +0200
@@ -1,0 +2,21 @@
+Tue Sep  6 10:11:49 UTC 2016 - mchand...@suse.de
+
+- Add new DPDK_OPTIONS environment variable to hold the dpdk
+  vswitchd options so that the systemd unit files can be used to
+  launch an ovs-vswitcd DPDK capable instance instead of doing
+  it manually. (bsc#987265)
+* 0001-ovs-ctl-Add-new-DPDK_OPTIONS-environment-variable.patch
+
+---
+Sun Aug 14 11:05:59 CEST 2016 - r...@suse.de
+
+- enable openvswitch-dpdk on aarch64 since dpdk
+  builds on aarch64 now 
+
+---
+Sun Aug  7 21:11:51 CEST 2016 - r...@suse.de
+
+- remove aarch from openvswitch-dpdk until we have a dpdk
+  that builds for aarch64
+
+---
@@ -21 +42 @@
-  automatically based on %bcond_with* macros.
+  automatically based on %bcond_with* macros (bsc#989335).
openvswitch.changes: same change

New:

  0001-ovs-ctl-Add-new-DPDK_OPTIONS-environment-variable.patch



Other differences:
--
++ openvswitch-dpdk.spec ++
--- /var/tmp/diff_new_pack.blUMdq/_old  2016-09-16 11:01:05.0 +0200
+++ /var/tmp/diff_new_pack.blUMdq/_new  2016-09-16 11:01:05.0 +0200
@@ -42,9 +42,12 @@
 Source2:openvswitch-switch.logrotate
 Source3:openvswitch.service
 Source89:   Module.supported.updates
-# PATCH-FIX-UPSTREAM openvswitch-2.5.0-detect-dpdk-installation.patch
+# PATCH-FIX-UPSTREAM: openvswitch-2.5.0-detect-dpdk-installation.patch 
(fate#319170)
 Patch0: openvswitch-%{version}-detect-dpdk-installation.patch
+# PATCH-FIX-UPSTREAM: 
0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch
 Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch
+# PATCH-FIX-SUSE: 0001-ovs-ctl-Add-new-DPDK_OPTIONS-environment-variable.patch 
(bsc#987265)
+Patch2: 0001-ovs-ctl-Add-new-DPDK_OPTIONS-environment-variable.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  fdupes
@@ -247,6 +250,7 @@
 %setup -q -n openvswitch-%{version}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 set -- * .travis*

++ openvswitch.spec ++
--- /var/tmp/diff_new_pack.blUMdq/_old  2016-09-16 11:01:05.0 +0200
+++ /var/tmp/diff_new_pack.blUMdq/_new  2016-09-16 11:01:05.0 +0200
@@ -40,9 +40,12 @@
 Source2:openvswitch-switch.logrotate
 Source3:openvswitch.service
 Source89:   Module.supported.updates
-# PATCH-FIX-UPSTREAM openvswitch-2.5.0-detect-dpdk-installation.patch
+# PATCH-FIX-UPSTREAM: openvswitch-2.5.0-detect-dpdk-installation.patch 
(fate#319170)
 Patch0: openvswitch-%{version}-detect-dpdk-installation.patch
+# PATCH-FIX-UPSTREAM: 
0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch
 Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch
+# PATCH-FIX-SUSE: 0001-ovs-ctl-Add-new-DPDK_OPTIONS-environment-variable.patch 
(bsc#987265)
+Patch2: 0001-ovs-ctl-Add-new-DPDK_OPTIONS-environment-variable.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  fdupes
@@ -245,6 +248,7 @@
 %setup -q -n openvswitch-%{version}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 set -- * .travis*

++ 0001-ovs-ctl-Add-new-DPDK_OPTIONS-environment-variable.patch ++
>From 49e6a7ece028a2a429ee7672e4225788e8bbb4a9 Mon Sep 17 00:00:00 2001
From: Markos Chandras 
Date: Tue, 6 Sep 2016 11:06:56 +0100
Subject: [PATCH] ovs-ctl: Add new DPDK_OPTIONS environment variable

Add new DPDK_OPTIONS environment variable to hold the dpdk
vswitchd options so that the systemd unit files can be used to
launch an ovs-vswitcd DPDK capable instance instead of doing
it manually.

A similar patch has been submitted upstream
http://openvswitch.org/pipermail/dev/2016-July/074150.html
but got rejected because the master (2.6 at the time) has been
fixed in a different way and DPDK options are now part of the
ovsdb.

Signed-off-by: Markos Chandras 
---
 rhel/usr_share_openvswitch_scripts_systemd_sysconfig.template | 3 +++
 utilities/ovs-ctl.in  | 4 +++-
 2 files changed, 6 insertions(+), 1 

commit openvswitch for openSUSE:Factory

2016-09-10 Thread h_root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2016-09-11 00:53:36

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new (New)


Package is "openvswitch"

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch-dpdk.changes 
2016-07-12 23:51:24.0 +0200
+++ /work/SRC/openSUSE:Factory/.openvswitch.new/openvswitch-dpdk.changes
2016-09-11 00:53:39.0 +0200
@@ -1,0 +2,7 @@
+Tue Jul 12 10:41:14 UTC 2016 - mchand...@suse.de
+
+- Add missing licenses (bsc#988513)
+- Misc spec file cleanups highlighted by the spec-cleaner tool.
+- Allow aarch64 builds for openvswitch-dpdk
+
+---
@@ -199,0 +207,2 @@
+- Includes fixes (or obsoletes) the following issues:
+  * bsc#948840, bsc#941466, bsc#936780, bnc#935750, bnc#867964
@@ -204 +213,2 @@
-- Tighten up openvswitch service ordering (bsc#968205).
+- Tighten up openvswitch service ordering.
+  bsc#968205 (openSUSE), bsc#951314 (SLE).
openvswitch.changes: same change



Other differences:
--
++ openvswitch-dpdk.spec ++
--- /var/tmp/diff_new_pack.7dBw8p/_old  2016-09-11 00:53:41.0 +0200
+++ /var/tmp/diff_new_pack.7dBw8p/_new  2016-09-11 00:53:41.0 +0200
@@ -14,10 +14,9 @@
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
-
-
 # needssslcertforbuild
 
+
 # Disable building the external kernel datapath by default
 %bcond_with kmp
 # DPDK build disabled by default. It's enabled in the
@@ -26,14 +25,16 @@
 # The testsuite is somewhat fragile for continuous testing in OBS
 # but keep it here as an option
 %bcond_with check
-
 # Do NOT edit this auto generated file! Edit openvswitch.spec instead
 # and run 'pre_checkin.sh' before committing
 Name:   openvswitch-dpdk
 Version:2.5.0
 Release:0
 Summary:An open source, production quality, multilayer virtual switch 
(DPDK)
-License:Apache-2.0
+# All code is Apache-2.0 except
+# - lib/sflow* which is SISSL
+# - utilities/bugtool which is LGPL-2.1
+License:Apache-2.0 and LGPL-2.1 and SISSL
 Group:  Productivity/Networking/System
 Url:http://openvswitch.org/
 Source0:http://openvswitch.org/releases/openvswitch-%{version}.tar.gz
@@ -46,32 +47,23 @@
 Patch1: 
0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch 
 BuildRequires:  autoconf
 BuildRequires:  automake
-%if %{with dpdk}
-# We need to be a bit strict with the dpdk version since
-# it's very possible for DPDK to change it's API between
-# releases. OVS currently requires 2.2.0. We may have to
-# provide multiple versions of dpdk if OVS and DPDK get
-# out of sync too often.
-BuildRequires:  dpdk-devel = 2.2.0
-ExclusiveArch:  x86_64 %ix86
-%endif
 BuildRequires:  fdupes
 BuildRequires:  gcc
 BuildRequires:  glibc-devel
 BuildRequires:  graphviz
 BuildRequires:  libcap-ng-devel
-BuildRequires:  libopenssl-devel
 BuildRequires:  libtool
 BuildRequires:  make
 BuildRequires:  openssl
 BuildRequires:  perl
-BuildRequires:  pkg-config
+BuildRequires:  pkgconfig
 # Needed by the testsuite
 BuildRequires:  procps
 BuildRequires:  python-devel
 BuildRequires:  python-xml
+BuildRequires:  valgrind-devel
+BuildRequires:  pkgconfig(openssl)
 Requires:   logrotate
-Requires:   openssl
 Requires:   python
 Provides:   openvswitch-common = %{version}
 Obsoletes:  openvswitch-common < %{version}
@@ -79,10 +71,16 @@
 Obsoletes:  openvswitch-controller < %{version}
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %py_requires
-BuildRequires:  valgrind-devel
-# We can't have openvswitch and openvswitch-dpdk in parallel
 %if %{with dpdk}
+# We need to be a bit strict with the dpdk version since
+# it's very possible for DPDK to change it's API between
+# releases. OVS currently requires 2.2.0. We may have to
+# provide multiple versions of dpdk if OVS and DPDK get
+# out of sync too often.
+BuildRequires:  dpdk-devel = 2.2.0
+# We can't have openvswitch and openvswitch-dpdk in parallel
 Conflicts:  openvswitch
+ExclusiveArch:  aarch64 x86_64 %{ix86}
 %endif
 
 %description
@@ -131,15 +129,15 @@
 # ovs-ctl / ovs-pki use /usr/bin/uuidgen:
 Requires:   util-linux
 Requires(post): %fillup_prereq
+Suggests:   logrotate
 Provides:   openvswitch-any-switch = %{version}
+%{?systemd_requires}
 %if %{with dpdk}
 Conflicts:  openvswitch-switch
 %endif
-Suggests:   logrotate
 %if %{with kmp}
 Suggests:   openvswitch-kmp
 %endif
-%{?systemd_requires}
 
 %description switch
 openvswitch-switch provides the userspace components and utilities for
@@ -246,7 +244,7 @@
 

commit openvswitch for openSUSE:Factory

2016-07-12 Thread h_root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2016-07-12 23:51:23

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new (New)


Package is "openvswitch"

Changes:

New Changes file:

--- /dev/null   2016-07-07 10:01:34.856033756 +0200
+++ /work/SRC/openSUSE:Factory/.openvswitch.new/openvswitch-dpdk.changes
2016-07-12 23:51:24.0 +0200
@@ -0,0 +1,887 @@
+---
+Mon Jul  4 12:08:06 UTC 2016 - mchand...@suse.de
+
+- Allow the OvS daemon to run as non-root (bsc#987545)
+- Add missing 'Conflicts' statements to all the subpackages as
+  required by the Factory review tools.
+
+---
+Wed Jun 29 15:17:07 UTC 2016 - mchand...@suse.de
+
+- Remove the ?_with_dpdk macro usage since this is not being set
+  without explicitly passing --with/--without during an OBS build.
+  This reverts back to using the %{with dpdk} style which is set
+  automatically based on %bcond_with* macros.
+
+---
+Tue Jun 28 13:21:12 UTC 2016 - mchand...@suse.de
+
+- Fix subpackage dependencies to not require the non-existent python
+  DPDK subpackages (bsc#986835). We do not provide DPDK versions of
+  the python bindings so nothing should depend on these subpackages.
+
+---
+Wed Jun 22 15:07:01 UTC 2016 - jeng...@inai.de
+
+- Update rpm groups, acronym forms.
+
+---
+Tue Jun 21 14:10:15 UTC 2016 - mchand...@suse.de
+
+- Multiple fixes for the openvswitch-dpdk package (bsc#985878)
+  * Rename main package name to openvswitch-dpdk
+  * Do not build the python and kmp packages since they do not
+depend on the DPDK capabilities
+  * Remove the open_virtual_switch capability. The
+openvswitch-common will be used by reverse dependencies to
+require either of the OvS packages.
+  * Provide virtual capabilities for all DPDK subpackages.
+  * Fix the dependencies in the python package to require either
+of the OvS packages.
+  * Suggest the kmp package only if it's actually provided.
+  * Small cleanups.
+
+---
+Fri May 27 13:49:15 UTC 2016 - mchand...@suse.de
+
+- Add %check directive to run the openvswitch testsuite on demand.
+  The openvswitch contains hundreds of tests covering simple and
+  complex openvswitch configuration so it's beneficial to run them
+  during package builds. However, running the testsuite is not enabled
+  by default. Also add the following upstream patch:
+  * 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch
+
+---
+Thu May 26 15:40:04 UTC 2016 - mchand...@suse.de
+
+- Build a DPDK-enabled Open vSwitch (fate#319170)
+  * Apply the following changes to the openvswitch.spec file
+- Add support for building with DPDK capabilities
+- Add conflicts between the two packages.
+- Add new 'open_virtual_switch-*' capabilities for openvswitch,
+  openvswitch-switch, openvswitch-test packages which can be used
+  by reverse dependencies to select between the two openvswitch
+  implementations.
+  * Add pre_checkin.sh to generate the openvswitch_dpdk.spec file
+based on the openvswitch.spec one.
+  * Add upstream openvswitch-2.5.0-detect-dpdk-installation.patch
+patch to detect and link against a DPDK installation.
+
+---
+Mon May 23 18:33:13 UTC 2016 - jeng...@inai.de
+
+- Keep %prep small for speedier `quilt setup`. Kill __DATE__ from
+  source. Drop all .la files that are in %_libdir.
+
+---
+Fri May 20 09:54:16 UTC 2016 - mchand...@suse.de
+
+- Add missing %dir directive for /var/log/openvswitch
+
+---
+Thu May 19 10:13:41 UTC 2016 - dmuel...@suse.com
+
+- remove aarch64 conditional, no longer needed
+
+---
+Thu May  5 09:00:26 UTC 2016 - mchand...@suse.de
+
+- Multiple spec file and package fixes.
+  * Drop obsolete log-check-module-loop.patch patch.
+  * Drop conditional code for older openSUSE releases. This also removes
+all of the sysvinit files which were pulled in when the package was
+originally developed.
+  * Drop support for building the GUI. The GUI code has been removed in
+7868fbc6c97c2 ("ovsdbmonitor: Remove.") upstream commit and it does
+not exist since v2.2.0 so drop 

commit openvswitch for openSUSE:Factory

2016-05-25 Thread h_root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2016-05-25 21:28:20

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new (New)


Package is "openvswitch"

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2016-04-14 
13:07:57.0 +0200
+++ /work/SRC/openSUSE:Factory/.openvswitch.new/openvswitch.changes 
2016-05-25 21:28:28.0 +0200
@@ -1,0 +2,43 @@
+Mon May 23 18:33:13 UTC 2016 - jeng...@inai.de
+
+- Keep %prep small for speedier `quilt setup`. Kill __DATE__ from
+  source. Drop all .la files that are in %_libdir.
+
+---
+Fri May 20 09:54:16 UTC 2016 - mchand...@suse.de
+
+- Add missing %dir directive for /var/log/openvswitch
+
+---
+Thu May 19 10:13:41 UTC 2016 - dmuel...@suse.com
+
+- remove aarch64 conditional, no longer needed
+
+---
+Thu May  5 09:00:26 UTC 2016 - mchand...@suse.de
+
+- Multiple spec file and package fixes.
+  * Drop obsolete log-check-module-loop.patch patch.
+  * Drop conditional code for older openSUSE releases. This also removes
+all of the sysvinit files which were pulled in when the package was
+originally developed.
+  * Drop support for building the GUI. The GUI code has been removed in
+7868fbc6c97c2 ("ovsdbmonitor: Remove.") upstream commit and it does
+not exist since v2.2.0 so drop the code in the spec file.
+  * Use the upstream systemd service files for the OVN components instead
+of maintaining our own downstream.
+  * Drop the unofficial ipsec support. It hasn't been enabled in years.
+  * Drop support for building the upstream kernel module since it's being
+shipped with the kernel package in latest releases. Restore the
+%bcond_with kmp to make it easier to build the external kernel module
+if needed.
+  * Fix some suse-missing-rclink rpmlint warnings for the ovn subpackage
+  * Base our service unit to the upstream one.
+  * Stop silently enabling the GRE protocol in iptables by default.
+  * Install the upstream sysconfig file to pass more information to the
+openvswitch service unit.
+  * Use make install instead of %makeinstall
+  * Drop brcompat leftovers.
+  * spec-cleaner fixes
+
+---

Old:

  Module.supported
  README.packager
  log-check-module-loop.patch
  openvswitch-ipsec.init
  openvswitch-switch.init
  openvswitch-testcontroller.init
  openvswitch-vtep.init
  ovn-controller-vtep.service
  ovn-controller.service
  ovn-northd.service



Other differences:
--
++ openvswitch.spec ++
--- /var/tmp/diff_new_pack.1N6MZr/_old  2016-05-25 21:28:29.0 +0200
+++ /var/tmp/diff_new_pack.1N6MZr/_new  2016-05-25 21:28:29.0 +0200
@@ -18,10 +18,8 @@
 
 # needssslcertforbuild
 
-# IpSec build disabled temporarily (need to upgrade ipsec-tools):
-%bcond_with ipsec
-# Disable GUI building by default (heavy Qt4 dependencies):
-%bcond_with gui
+# Disable building the external kernel datapath by default
+%bcond_with kmp
 
 Name:   openvswitch
 Version:2.5.0
@@ -32,21 +30,9 @@
 Url:http://openvswitch.org/
 Source0:http://openvswitch.org/releases/%{name}-%{version}.tar.gz
 Source1:preamble
-Source2:openvswitch-switch.init
-Source4:openvswitch-switch.logrotate
-Source5:openvswitch-vtep.init
-Source6:openvswitch-ipsec.init
-Source7:openvswitch.service
-Source8:openvswitch-testcontroller.init
-Source10:   Module.supported
-Source11:   Module.supported.updates
-%if 0%{?suse_version} > 1110
-Source12:   ovn-controller.service
-Source13:   ovn-controller-vtep.service
-Source14:   ovn-northd.service
-%endif
-Source99:   README.packager
-Patch2: log-check-module-loop.patch
+Source2:openvswitch-switch.logrotate
+Source3:openvswitch.service
+Source89:   Module.supported.updates
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  fdupes
@@ -61,9 +47,6 @@
 BuildRequires:  pkg-config
 BuildRequires:  python-devel
 BuildRequires:  python-xml
-%ifnarch aarch64
-BuildRequires:  valgrind-devel
-%endif
 Requires:   logrotate
 Requires:   openssl
 Requires:   python
@@ -73,6 +56,7 @@
 Obsoletes:  openvswitch-controller < %{version}
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %py_requires
+BuildRequires:  valgrind-devel
 
 %description
 Open vSwitch is a production quality, multilayer virtual switch licensed 

commit openvswitch for openSUSE:Factory

2016-04-14 Thread h_root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2016-04-14 13:07:56

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new (New)


Package is "openvswitch"

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2016-03-07 
13:27:15.0 +0100
+++ /work/SRC/openSUSE:Factory/.openvswitch.new/openvswitch.changes 
2016-04-14 13:07:57.0 +0200
@@ -1,0 +2,88 @@
+Fri Apr  1 10:39:26 UTC 2016 - dmuel...@suse.com
+
+- address dimstars concerns
+
+---
+Tue Mar 22 18:06:40 UTC 2016 - mchand...@suse.de
+
+- Prevent systemd from autogenerating a service file for
+  openvswitch-switch which conflicts with the opevswitch
+  one. (bsc#966762)
+
+---
+Fri Mar 18 10:20:02 UTC 2016 - km...@suse.com
+
+- Add missing %defattr to ovn files section.
+
+---
+Tue Mar  8 13:16:03 UTC 2016 - km...@suse.com
+
+- Add additional install requirements for python-openvswitch-test
+  package.
+
+---
+Fri Mar  4 14:38:16 UTC 2016 - km...@suse.com
+
+- Add support for building both 2.4.0 and 2.5.0 from the same spec
+  file. Needed to fix SLE11 builds as OVS-2.5.0 no longer supports
+  python < 2.7. SLE11 SP3 and SP4 use python 2.6.
+- Added: openvswitch-2.4.0.tar.gz
+
+---
+Thu Mar  3 13:47:04 UTC 2016 - km...@suse.com
+
+- New upstream version 2.5.0 (LTS)
+  - Dropped support for Python older than version 2.7.  As a consequence,
+using Open vSwitch 2.5 or later on XenServer 6.5 or earlier (which
+have Python 2.4) requires first installing Python 2.7.
+  - OpenFlow:
+* Group chaining (where one OpenFlow group triggers another) is
+  now supported.
+* OpenFlow 1.4+ "importance" is now considered for flow eviction.
+* OpenFlow 1.4+ OFPTC_EVICTION is now implemented.
+* OpenFlow 1.4+ OFPTC_VACANCY_EVENTS is now implemented.
+* OpenFlow 1.4+ OFPMP_TABLE_DESC is now implemented.
+* Allow modifying the ICMPv4/ICMPv6 type and code fields.
+* OpenFlow 1.4+ OFPT_SET_ASYNC_CONFIG and OFPT_GET_ASYNC_CONFIG are
+  now implemented.
+  - ovs-ofctl:
+* New "out_group" keyword for OpenFlow 1.1+ matching on output group.
+  - Tunnels:
+* Geneve tunnels can now match and set options and the OAM bit.
+* The nonstandard GRE64 tunnel extension has been dropped.
+  - Support Multicast Listener Discovery (MLDv1 and MLDv2).
+  - Add 'symmetric_l3l4' and 'symmetric_l3l4+udp' hash functions.
+  - sFlow agent now reports tunnel and MPLS structures.
+  - New 'check-system-userspace', 'check-kmod' and 'check-kernel' Makefile
+targets to run a new system testsuite.  These tests can be run inside
+a Vagrant box.  See INSTALL.md for details
+  - Mark --syslog-target argument as deprecated.  It will be removed in
+the next OVS release.
+  - Added --user option to all daemons
+  - Add support for connection tracking through the new "ct" action
+and "ct_state"/"ct_zone"/"ct_mark"/"ct_label" match fields.  Only
+available on Linux kernels with the connection tracking module loaded.
+  - Add experimental version of OVN.  OVN, the Open Virtual Network, is a
+system to support virtual network abstraction.  OVN complements the
+existing capabilities of OVS to add native support for virtual network
+abstractions, such as virtual L2 and L3 overlays and security groups.
+  - RHEL packaging:
+* DPDK ports may now be created via network scripts (see README.RHEL).
+  - DPDK:
+* Requires DPDK 2.2
+* Added multiqueue support to vhost-user
+* Note: QEMU 2.5+ required for multiqueue support
+  - SELinux:
+* Introduced SELinux policy package.
+
+- New package: openvswitch-ovn
+- Removed: openvswitch-2.4.0.tar.gg
+- Added: openvswitch-2.5.0.tar.gg
+- Added: openvswitch-testcontroller.init
+- Added: ovn-controller-vtep.service
+- Added: ovn-controller.service
+- Added: ovn-northd.service
+- TODO: Explicit DPDK support not yet added to spec.
+- Spec file work and cleanup.
+
+---

Old:

  openvswitch-2.4.0.tar.gz

New:

  openvswitch-2.5.0.tar.gz
  openvswitch-testcontroller.init
  ovn-controller-vtep.service
  ovn-controller.service
  ovn-northd.service



Other differences:
--
++ openvswitch.spec ++
--- /var/tmp/diff_new_pack.4SxL86/_old  2016-04-14 13:07:59.0 +0200
+++ 

commit openvswitch for openSUSE:Factory

2016-03-07 Thread h_root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2016-03-07 13:26:47

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new (New)


Package is "openvswitch"

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2016-01-15 
10:41:46.0 +0100
+++ /work/SRC/openSUSE:Factory/.openvswitch.new/openvswitch.changes 
2016-03-07 13:27:15.0 +0100
@@ -1,0 +2,140 @@
+Tue Mar  1 08:43:19 UTC 2016 - km...@suse.com
+
+- Tighten up openvswitch service ordering (bsc#968205).
+
+---
+Wed Feb 24 15:23:20 UTC 2016 - km...@suse.com
+
+- Don't install INSTALL.* files.
+
+---
+Wed Feb 24 13:45:52 UTC 2016 - km...@suse.com
+
+- Removed: openvswitch-switch.template
+
+---
+Wed Feb 24 12:53:50 UTC 2016 - km...@suse.com
+
+- New upstream version 2.4.0
+  - Flow table modifications are now atomic, meaning that each packet
+now sees a coherent version of the OpenFlow pipeline.  For
+example, if a controller removes all flows with a single OpenFlow
+"flow_mod", no packet sees an intermediate version of the OpenFlow
+pipeline where only some of the flows have been deleted.
+  - Added support for SFQ, FQ_CoDel and CoDel qdiscs.
+  - Add bash command-line completion support for ovs-vsctl Please check
+utilities/ovs-command-compgen.INSTALL.md for how to use.
+  - The MAC learning feature now includes per-port fairness to mitigate
+MAC flooding attacks.
+  - New support for a "conjunctive match" OpenFlow extension, which
+allows constructing OpenFlow matches of the form "field1 in
+{a,b,c...} AND field2 in {d,e,f...}" and generalizations.  For details,
+see documentation for the "conjunction" action in ovs-ofctl(8).
+  - Add bash command-line completion support for ovs-appctl/ovs-dpctl/
+ovs-ofctl/ovsdb-tool commands.  Please check
+utilities/ovs-command-compgen.INSTALL.md for how to use.
+  - The "learn" action supports a new flag "delete_learned" that causes
+the learned flows to be deleted when the flow with the "learn" action
+is deleted.
+  - Basic support for the Geneve tunneling protocol. It is not yet
+possible to generate or match options. This is planned for a future
+release. The protocol is documented at
+http://tools.ietf.org/html/draft-gross-geneve-00
+  - The OVS database now reports controller rate limiting statistics.
+  - sflow now exports information about LACP-based bonds, port names, and
+OpenFlow port numbers, as well as datapath performance counters.
+  - ovs-dpctl functionality is now available for datapaths integrated
+into ovs-vswitchd, via ovs-appctl.  Some existing ovs-appctl
+commands are now redundant and will be removed in a future
+release.  See ovs-vswitchd(8) for details.
+  - OpenFlow:
+* OpenFlow 1.4 bundles are now supported for flow mods and port
+  mods.  For flow mods, both 'atomic' and 'ordered' bundle flags
+  are trivially supported, as all bundled messages are executed
+  in the order they were added and all flow table modifications
+  are now atomic to the datapath.  Port mods may not appear in
+  atomic bundles, as port status modifications are not atomic.
+* IPv6 flow label and neighbor discovery fields are now modifiable.
+* OpenFlow 1.5 extended registers are now supported.
+* The OpenFlow 1.5 actset_output field is now supported.
+* OpenFlow 1.5 Copy-Field action is now supported.
+* OpenFlow 1.5 masked Set-Field action is now supported.
+* OpenFlow 1.3+ table features requests are now supported (read-only).
+* Nicira extension "move" actions may now be included in action sets.
+* "resubmit" actions may now be included in action sets.  The resubmit
+  is executed last, and only if the action set has no "output" or "group"
+  action.
+* OpenFlow 1.4+ flow "importance" is now maintained in the flow table.
+* A new Netronome extension to OpenFlow 1.5+ allows control over the
+  fields hashed for OpenFlow select groups.  See "selection_method" and
+  related options in ovs-ofctl(8) for details.
+  - ovs-ofctl has a new '--bundle' option that makes the flow mod commands
+('add-flow', 'add-flows', 'mod-flows', 'del-flows', and 'replace-flows')
+use an OpenFlow 1.4 bundle to operate the modifications as a single
+atomic transaction.  If any of the flow mods in a transaction fail, none
+of them are executed.  All flow mods in a bundle appear to datapath
+lookups simultaneously.
+  - ovs-ofctl 'add-flow' and 'add-flows' commands now 

commit openvswitch for openSUSE:Factory

2016-01-15 Thread h_root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2016-01-15 10:41:44

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new (New)


Package is "openvswitch"

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2015-01-06 
09:07:09.0 +0100
+++ /work/SRC/openSUSE:Factory/.openvswitch.new/openvswitch.changes 
2016-01-15 10:41:46.0 +0100
@@ -1,0 +2,6 @@
+Sun Jan 10 17:55:22 UTC 2016 - antoine.belv...@laposte.net
+
+- Add calls to /sbin/ldconfig in %post and %postun
+- Fix typo in Url
+
+---



Other differences:
--
++ openvswitch.spec ++
--- /var/tmp/diff_new_pack.Owi0UH/_old  2016-01-15 10:41:47.0 +0100
+++ /var/tmp/diff_new_pack.Owi0UH/_new  2016-01-15 10:41:47.0 +0100
@@ -29,7 +29,7 @@
 Summary:An open source, production quality, multilayer virtual switch
 License:Apache-2.0
 Group:  Productivity/Networking/System
-Url:http://openswitch.org/
+Url:http://openvswitch.org/
 Source0:http://openvswitch.org/releases/%{name}-%{version}.tar.gz
 Source1:preamble
 Source2:openvswitch-switch.init
@@ -330,14 +330,17 @@
  
%{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.%{name}-switch
 install -m 755 %{SOURCE2} \
  %{buildroot}/%{_sysconfdir}/init.d/%{name}-switch
- ln -sf %_sbindir/service %{buildroot}%{_sbindir}/rc%{name}-switch
 install -m 755 %{SOURCE5} \
  %{buildroot}/%{_sysconfdir}/init.d/%{name}-vtep
- ln -sf %_sbindir/service %{buildroot}%{_sbindir}/rc%{name}-vtep
 
 %if 0%{?suse_version} > 1230
+ln -sf %_sbindir/service %{buildroot}%{_sbindir}/rc%{name}-switch
+ln -sf %_sbindir/service %{buildroot}%{_sbindir}/rc%{name}-vtep
 install -D -m 644 %{SOURCE7} \
 %{buildroot}%{_unitdir}/openvswitch.service
+%else
+ln -sf %{_sysconfdir}/init.d/%{name}-switch 
%{buildroot}%{_sbindir}/rc%{name}-switch
+ln -sf %{_sysconfdir}/init.d/%{name}-vtep 
%{buildroot}%{_sbindir}/rc%{name}-vtep
 %endif
 
 install -d -m 755 %{buildroot}/%{_sysconfdir}/sysconfig
@@ -368,6 +371,9 @@
 
 %fdupes %{buildroot}%{py_sitedir}
 
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
 %pre switch
 %if 0%{?suse_version} > 1230
 %service_add_pre openvswitch.service




commit openvswitch for openSUSE:Factory

2015-01-06 Thread h_root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2015-01-06 09:06:59

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new (New)


Package is openvswitch

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2014-10-31 
20:20:07.0 +0100
+++ /work/SRC/openSUSE:Factory/.openvswitch.new/openvswitch.changes 
2015-01-06 09:07:09.0 +0100
@@ -1,0 +2,45 @@
+Sun Dec 28 21:27:49 UTC 2014 - and...@opensuse.org
+
+- new upstream version 2.3.1
+   - Compatibility with autoconf 2.63 (previously =2.64)
+   - ovs-pki: Changed message digest algorithm from MD5 to SHA-1 because
+ MD5 is no longer secure and some operating systems have started to disable
+ it in OpenSSL.
+   - Keep active bond slave selection across OVS restart.
+
+* v2.3.0 - 14 Aug 2014
+   - OpenFlow 1.1, 1.2, and 1.3 are now enabled by default in
+ ovs-vswitchd.
+   - Linux kernel datapath now has an exact match cache optimizing the
+ flow matching process.
+   - Datapath flows now have partially wildcarded tranport port field
+ matches.  This reduces userspace upcalls, but increases the
+ number of different masks in the datapath.  The kernel datapath
+ exact match cache removes the overhead of matching the incoming
+ packets with the larger number of masks, but when paired with an
+ older kernel module, some workloads may perform worse with the
+ new userspace.
+
+* v2.2.0 - Internal Release
+   - Internal ports are no longer brought up by default, because it
+ should be an administrator task to bring up devices as they are
+ configured properly.
+   - ovs-vsctl now reports when ovs-vswitchd fails to create a new port or
+ bridge.
+   - The ovsdbmonitor graphical tool has been removed, because it was
+ poorly maintained and not widely used.
+   - New check-ryu Makefile target for running Ryu tests for OpenFlow
+ controllers against Open vSwitch.  See INSTALL for details.
+   - Added IPFIX support for SCTP flows and templates for ICMPv4/v6 flows.
+   - Upon the receipt of a SIGHUP signal, ovs-vswitchd no longer reopens its
+ log file (it will terminate instead). Please use 'ovs-appctl vlog/reopen'
+ instead.
+   - Support for Linux kernels up to 3.14. From Kernel 3.12 onwards OVS uses
+ tunnel API for GRE and VXLAN.
+   - Added experimental DPDK support.
+   - Added support for custom vlog patterns in Python
+
+- removed datapath-Add-support-for-Linux-3.12.patch no more required
+- removed sle11-device-ops-backport.diff , not used before
+
+---

Old:

  datapath-Add-support-for-Linux-3.12.patch
  openvswitch-2.1.3.tar.gz
  sle11-device-ops-backport.diff

New:

  openvswitch-2.3.1.tar.gz



Other differences:
--
++ openvswitch.spec ++
--- /var/tmp/diff_new_pack.HMvRwD/_old  2015-01-06 09:07:10.0 +0100
+++ /var/tmp/diff_new_pack.HMvRwD/_new  2015-01-06 09:07:10.0 +0100
@@ -18,22 +18,13 @@
 
 # needssslcertforbuild
 
-%if %suse_version  1315
-# The shipped one does not build against newer kernel versions
-%bcond_with kmp
-%bcond_without kernel_kmp
-%else
-%bcond_without kmp
-%bcond_with kernel_kmp
-%endif
-
 # IpSec build disabled temporarily (need to upgrade ipsec-tools):
 %bcond_with ipsec
 # Disable GUI building by default (heavy Qt4 dependencies):
 %bcond_with gui
 
 Name:   openvswitch
-Version:2.1.3
+Version:2.3.1
 Release:0
 Summary:An open source, production quality, multilayer virtual switch
 License:Apache-2.0
@@ -50,8 +41,6 @@
 Source10:   Module.supported
 Source11:   Module.supported.updates
 Source99:   README.packager
-Patch0: sle11-device-ops-backport.diff
-Patch1: datapath-Add-support-for-Linux-3.12.patch
 Patch2: log-check-module-loop.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
@@ -265,8 +254,6 @@
 
 %prep
 %setup -q
-#%patch0
-%patch1 -p1
 %patch2 -p0
 
 set -- *
@@ -416,8 +403,8 @@
 %dir %{_datadir}/openvswitch
 %doc source/AUTHORS source/DESIGN source/INSTALL.* source/NOTICE
 %doc source/REPORTING-BUGS source/PORTING
-%doc source/SubmittingPatches source/CodingStyle source/README
-%doc source/WHY-OVS source/COPYING source/README-gcov
+%doc source/CodingStyle source/README
+%doc source/WHY-OVS source/COPYING
 %{_bindir}/ovs-appctl
 %{_bindir}/ovs-benchmark
 %{_bindir}/ovs-ofctl

++ openvswitch-2.1.3.tar.gz - openvswitch-2.3.1.tar.gz ++
 293884 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: 

commit openvswitch for openSUSE:Factory

2013-12-06 Thread h_root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2013-12-06 11:46:34

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new (New)


Package is openvswitch

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2013-11-26 
06:12:38.0 +0100
+++ /work/SRC/openSUSE:Factory/.openvswitch.new/openvswitch.changes 
2013-12-06 11:46:35.0 +0100
@@ -1,0 +2,6 @@
+Wed Dec  4 11:44:02 CET 2013 - jsuch...@suse.cz
+
+- added try-restart action to openvswitch-switch init script
+  (bnc#849222)
+
+---



Other differences:
--
++ openvswitch-switch.init ++
--- /var/tmp/diff_new_pack.fGsuiY/_old  2013-12-06 11:46:36.0 +0100
+++ /var/tmp/diff_new_pack.fGsuiY/_new  2013-12-06 11:46:36.0 +0100
@@ -25,6 +25,9 @@
 
 (test -x /usr/sbin/ovs-vswitchd  test -x /usr/sbin/ovsdb-server) || exit 0
 
+. /etc/rc.status
+rc_reset
+
 . /usr/share/openvswitch/scripts/ovs-lib
 test -e /etc/sysconfig/openvswitch-switch  . 
/etc/sysconfig/openvswitch-switch
 
@@ -80,12 +83,26 @@
 reload | force-reload)
 # The OVS daemons keep up-to-date.
 ;;
+try-restart|condrestart)
+#restart the service if the service is already running
+if test $1 = condrestart; then
+  echo ${attn} Use try-restart ${done}(LSB)${attn} rather than 
condrestart ${warn}(RH)${norm}
+fi
+$0 status
+if test $? = 0; then
+  $0 restart
+else
+  rc_reset # Not running is not a failure.
+fi
+rc_status # Remember status and be quiet
+;;
 restart)
 stop
 start
 ;;
 status)
 ovs_ctl status
+exit $?
 ;;
 force-reload-kmod)
 start force-reload-kmod
@@ -94,7 +111,7 @@
 load_kmod
 ;;
 *)
-echo Usage: $0 
{start|stop|restart|force-reload|status|force-stop|force-reload-kmod|load-kmod}
 2
+echo Usage: $0 
{start|stop|restart|try-restart|force-reload|status|force-stop|force-reload-kmod|load-kmod}
 2
 exit 1
 ;;
 esac

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit openvswitch for openSUSE:Factory

2013-11-25 Thread h_root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2013-11-26 06:12:37

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new (New)


Package is openvswitch

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2013-11-22 
07:37:27.0 +0100
+++ /work/SRC/openSUSE:Factory/.openvswitch.new/openvswitch.changes 
2013-11-26 06:12:38.0 +0100
@@ -5,0 +6 @@
+  + added datapath-add-support-for-linux-3.11.patch



Other differences:
--
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit openvswitch for openSUSE:Factory

2013-11-21 Thread h_root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2013-11-22 07:37:25

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new (New)


Package is openvswitch

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2013-10-02 
13:31:59.0 +0200
+++ /work/SRC/openSUSE:Factory/.openvswitch.new/openvswitch.changes 
2013-11-22 07:37:27.0 +0100
@@ -1,0 +2,5 @@
+Wed Nov 20 02:51:57 UTC 2013 - km...@suse.com
+
+- Incorporate ubuntu Linux 3.11 fix to prevent kernel datapath panics.
+  Addresses bnc#851395
+---

New:

  datapath-add-support-for-linux-3.11.patch



Other differences:
--
++ openvswitch.spec ++
--- /var/tmp/diff_new_pack.0kklRs/_old  2013-11-22 07:37:27.0 +0100
+++ /var/tmp/diff_new_pack.0kklRs/_new  2013-11-22 07:37:27.0 +0100
@@ -46,6 +46,7 @@
 Source99:   README.packager
 Patch0: sle11-device-ops-backport.diff
 Patch1: vlan_apichange.patch
+Patch2: datapath-add-support-for-linux-3.11.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  fdupes
@@ -241,6 +242,7 @@
 %setup -q
 %patch0
 %patch1 -p1
+%patch2
 
 set -- *
 mkdir source

++ datapath-add-support-for-linux-3.11.patch ++
Index: datapath/dp_notify.c
===
--- datapath/dp_notify.c.orig
+++ datapath/dp_notify.c
@@ -77,7 +77,7 @@ static int dp_device_event(struct notifi
   void *ptr)
 {
struct ovs_net *ovs_net;
-   struct net_device *dev = ptr;
+   struct net_device *dev = netdev_notifier_info_to_dev(ptr);
struct vport *vport = NULL;
 
if (!ovs_is_internal_dev(dev))
Index: datapath/linux/compat/include/linux/netdevice.h
===
--- datapath/linux/compat/include/linux/netdevice.h.orig
+++ datapath/linux/compat/include/linux/netdevice.h
@@ -154,6 +154,17 @@ static inline int rpl_netif_needs_gso(st
 }
 #endif
 
+#if LINUX_VERSION_CODE  KERNEL_VERSION(3,11,0)
+
+/* Simply pass through the passed parameter for Linux  3.11.0 */
+static inline struct net_device *
+netdev_notifier_info_to_dev(void *info)
+{
+   return info;
+}
+
+#endif
+
 #if LINUX_VERSION_CODE  KERNEL_VERSION(3,3,0)
 typedef u32 netdev_features_t;
 #endif
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit openvswitch for openSUSE:Factory

2013-10-02 Thread h_root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2013-10-02 13:31:58

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new (New)


Package is openvswitch

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2013-09-26 
14:45:47.0 +0200
+++ /work/SRC/openSUSE:Factory/.openvswitch.new/openvswitch.changes 
2013-10-02 13:31:59.0 +0200
@@ -1,0 +2,6 @@
+Tue Oct  1 07:21:16 UTC 2013 - speili...@suse.com
+
+- Let openvswitch-switch depend on util-linux instead of uuid-runtime
+  (Debian package name). The ovs-ctl / ovs-pki tools use /usr/bin/uuidgen
+
+---



Other differences:
--
++ openvswitch.spec ++
--- /var/tmp/diff_new_pack.fZHYv5/_old  2013-10-02 13:31:59.0 +0200
+++ /var/tmp/diff_new_pack.fZHYv5/_new  2013-10-02 13:31:59.0 +0200
@@ -114,7 +114,6 @@
 %endif
 
 %package switch
-
 Summary:Open vSwitch switch implementations
 Group:  Productivity/Networking/System
 Requires(pre):  %fillup_prereq
@@ -123,7 +122,8 @@
 Requires:   openvswitch = %{version}
 Requires:   procps
 Requires:   python
-Requires:   uuid-runtime
+# ovs-ctl / ovs-pki use /usr/bin/uuidgen:
+Requires:   util-linux
 Suggests:   openvswitch-kmp
 Suggests:   logrotate
 

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit openvswitch for openSUSE:Factory

2013-09-26 Thread h_root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2013-09-26 14:45:47

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new (New)


Package is openvswitch

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2013-05-27 
09:55:20.0 +0200
+++ /work/SRC/openSUSE:Factory/.openvswitch.new/openvswitch.changes 
2013-09-26 14:45:47.0 +0200
@@ -1,0 +2,36 @@
+Tue Sep 24 13:17:25 UTC 2013 - bwiedem...@suse.com
+
+- add vlan_apichange.patch to compensate kernel API changes
+  between 3.8 and 3.11 in commits f646968f and 86a9bad3
+
+---
+Fri Sep 13 15:25:40 UTC 2013 - dmuel...@suse.com
+
+- update to 1.11.0:
+  * http://openvswitch.org/releases/NEWS-1.11.0
+- remove accept-newer-kernel-versions.diff
+
+---
+Fri Sep 13 10:09:18 UTC 2013 - dmuel...@suse.com
+
+- sign modules for secure boot (bnc#839838) 
+
+---
+Tue Jul  2 17:08:11 UTC 2013 - tpaszkow...@novell.com
+
+- Build openvswitch kernel module for xen kernel flavor.
+
+---
+Sun Jun 16 05:30:24 UTC 2013 - vu...@suse.com
+
+- Add openvswitch-ipsec.init, Module.supported,
+  Module.supported.updates and README.packager as sources: they
+  were not listed as such.
+- Install openvswitch-ipsec.init if we build ipsec support.
+
+---
+Thu Jun  6 14:28:07 UTC 2013 - tpaszkow...@novell.com
+
+- mark openvswitch module shipped with package as supported 
+
+---

Old:

  accept-newer-kernel-versions.diff
  openvswitch-1.10.0.tar.gz

New:

  Module.supported.updates
  openvswitch-1.11.0.tar.gz
  vlan_apichange.patch



Other differences:
--
++ openvswitch.spec ++
--- /var/tmp/diff_new_pack.vt0pB5/_old  2013-09-26 14:45:52.0 +0200
+++ /var/tmp/diff_new_pack.vt0pB5/_new  2013-09-26 14:45:52.0 +0200
@@ -16,7 +16,8 @@
 #
 
 
-# Enable KMP building by default:
+# needssslcertforbuild
+
 %bcond_without kmp
 # Don't build in-kernel module, the shipped one is more feature rich:
 %bcond_with kernel_kmp
@@ -26,8 +27,8 @@
 %bcond_with gui
 
 Name:   openvswitch
-Version:1.10.0
-Release:0
+Version:1.11.0
+Release:0.RELEASE13
 Summary:An open source, production quality, multilayer virtual switch
 License:Apache-2.0
 Group:  Productivity/Networking/System
@@ -39,8 +40,12 @@
 Source4:openvswitch-switch.logrotate
 Source5:openvswitch-controller.init
 Source6:openvswitch-controller.sysconfig
+Source7:openvswitch-ipsec.init
+Source10:   Module.supported
+Source11:   Module.supported.updates
+Source99:   README.packager
 Patch0: sle11-device-ops-backport.diff
-Patch1: accept-newer-kernel-versions.diff
+Patch1: vlan_apichange.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  fdupes
@@ -72,21 +77,25 @@
 VMware’s vNetwork distributed vswitch or Cisco’s Nexus 1000V.
 
 %if %{with kmp}
+
 %package kmp
+
 Summary:Open vSwitch kernel modules
 Group:  System/Kernel
 BuildRequires:  %kernel_module_package_buildreqs
 %if %{with kernel_kmp}
 BuildRequires:  kernel-source
 %endif
-%suse_kernel_module_package -p %_sourcedir/preamble ec2 xen xenpae vmi um
+%suse_kernel_module_package -p %_sourcedir/preamble ec2 xenpae vmi um
 
 %description -n %{name}-kmp
 Kernel modules supporting the openvswitch datapath
 %endif
 
 %if %{with ipsec}
+
 %package ipsec
+
 Summary:Open vSwitch GRE-over-IPsec support
 Group:  Productivity/Networking/System
 Requires:   %{name} = %{version}
@@ -105,6 +114,7 @@
 %endif
 
 %package switch
+
 Summary:Open vSwitch switch implementations
 Group:  Productivity/Networking/System
 Requires(pre):  %fillup_prereq
@@ -124,6 +134,7 @@
 Open vSwitch is a full-featured software-based Ethernet switch.
 
 %package pki
+
 Summary:Open vSwitch public key infrastructure dependency package
 Group:  Productivity/Networking/System
 Requires:   openvswitch = %{version}
@@ -136,6 +147,7 @@
 Open vSwitch is a full-featured software-based Ethernet switch.
 
 %package controller
+
 Summary:Open vSwitch controller implementation
 Group:  Productivity/Networking/System
 Requires:   openvswitch = %{version}
@@ -147,6 +159,7 @@
 Open vSwitch is a full-featured 

commit openvswitch for openSUSE:Factory

2013-05-27 Thread h_root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2013-05-27 09:55:19

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new (New)


Package is openvswitch

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2013-05-07 
07:30:42.0 +0200
+++ /work/SRC/openSUSE:Factory/.openvswitch.new/openvswitch.changes 
2013-05-27 09:55:20.0 +0200
@@ -1,0 +2,10 @@
+Fri May 17 11:58:32 UTC 2013 - dmuel...@suse.com
+
+- only call boot.sh for newer distros
+- build parallel
+- accept-newer-kernel-versions.diff:
+  Accept newer kernel versions
+- sle11-device-ops-backport.diff
+  Handle sle11 device ops backport
+
+---

New:

  accept-newer-kernel-versions.diff
  sle11-device-ops-backport.diff



Other differences:
--
++ openvswitch.spec ++
--- /var/tmp/diff_new_pack.trJcf5/_old  2013-05-27 09:55:21.0 +0200
+++ /var/tmp/diff_new_pack.trJcf5/_new  2013-05-27 09:55:21.0 +0200
@@ -1,4 +1,6 @@
 #
+# spec file for package openvswitch
+#
 # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
@@ -26,10 +28,10 @@
 Name:   openvswitch
 Version:1.10.0
 Release:0
-License:Apache-2.0
 Summary:An open source, production quality, multilayer virtual switch
-Url:http://openswitch.org/
+License:Apache-2.0
 Group:  Productivity/Networking/System
+Url:http://openswitch.org/
 Source0:http://openvswitch.org/releases/%{name}-%{version}.tar.gz
 Source1:preamble
 Source2:openvswitch-switch.init
@@ -37,8 +39,11 @@
 Source4:openvswitch-switch.logrotate
 Source5:openvswitch-controller.init
 Source6:openvswitch-controller.sysconfig
+Patch0: sle11-device-ops-backport.diff
+Patch1: accept-newer-kernel-versions.diff
 BuildRequires:  autoconf
 BuildRequires:  automake
+BuildRequires:  fdupes
 BuildRequires:  gcc
 BuildRequires:  glibc-devel
 BuildRequires:  graphviz
@@ -50,7 +55,6 @@
 BuildRequires:  pkg-config
 BuildRequires:  python-devel
 BuildRequires:  valgrind-devel
-BuildRequires:  fdupes
 Requires:   logrotate
 Requires:   openssl
 Requires:   python
@@ -112,6 +116,7 @@
 Requires:   uuid-runtime
 Suggests:   openvswitch-kmp
 Suggests:  logrotate
+
 %description switch
 openvswitch-switch provides the userspace components and utilities for
 the Open vSwitch kernel-based switch.
@@ -216,6 +221,10 @@
 
 %prep
 %setup -q
+%patch0
+%if 0%{?suse_version}  1230
+%patch1
+%endif
 
 set -- *
 mkdir source
@@ -224,8 +233,8 @@
 
 %build
 pushd source
-# don't call boot.sh, we don't have appropriate autoconf there
-%if ! 0%{?sles_version}
+# only call boot.sh for distros with autoconf = 2.64
+%if 0%{?suse_version}  1110
 bash -x boot.sh
 %endif
 popd
@@ -237,7 +246,7 @@
 krel=$(make -s -C /usr/src/linux-obj/%_target_cpu/$flavor kernelrelease)
 kernel_source_dir=$(readlink /lib/modules/$krel/source)
 cp -a $kernel_source_dir/net/openvswitch/* $flavor/
-make -C %{kernel_source $flavor} modules M=$PWD/$flavor
+make %{?_smp_mflags} -C %{kernel_source $flavor} modules M=$PWD/$flavor
 done
 %else
 export EXTRA_CFLAGS='-DVERSION=\%{version}\'
@@ -250,7 +259,7 @@
--with-linux=/usr/src/linux-obj/%_target_cpu/$flavor \
--with-linux-source=/usr/src/linux
 cd datapath/linux
-make
+make %{?_smp_mflags}
 popd
 done
 %endif
@@ -293,7 +302,6 @@
  %{buildroot}/%{_sysconfdir}/init.d/%{name}-controller
  ln -s %{_sysconfdir}/init.d/%{name}-controller 
%{buildroot}%{_sbindir}/rc%{name}-controller
 
-
 install -d -m 755 %{buildroot}/%{_sysconfdir}/sysconfig
 install -d -m 755 %{buildroot}/%{_sysconfdir}/logrotate.d
 install -d -m 755 %{buildroot}/var/log/openvswitch

++ accept-newer-kernel-versions.diff ++
--- datapath/datapath.c
+++ datapath/datapath.c
@@ -60,9 +60,8 @@
 #include tunnel.h
 #include vport-internal_dev.h
 
-#if LINUX_VERSION_CODE  KERNEL_VERSION(2,6,18) || \
-LINUX_VERSION_CODE = KERNEL_VERSION(3,9,0)
-#error Kernels before 2.6.18 or after 3.8 are not supported by this version of 
Open vSwitch.
+#if LINUX_VERSION_CODE  KERNEL_VERSION(2,6,18)
+#error Kernels before 2.6.18 are not supported by this version of Open vSwitch.
 #endif
 
 #define REHASH_FLOW_INTERVAL (10 * 60 * HZ)
@@ -158,11 +157,10 @@
 struct vport *ovs_lookup_vport(const struct datapath *dp, u16 port_no)
 {
struct vport *vport;
-   struct hlist_node *n;
struct 

commit openvswitch for openSUSE:Factory

2013-05-06 Thread h_root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2013-05-07 07:30:41

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new (New)


Package is openvswitch

Changes:

--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes  2013-04-29 
14:15:27.0 +0200
+++ /work/SRC/openSUSE:Factory/.openvswitch.new/openvswitch.changes 
2013-05-07 07:30:42.0 +0200
@@ -1,0 +2,7 @@
+Fri May  3 14:28:00 UTC 2013 - e.isto...@edss.ee
+
+- New upstream version 1.10.0
+  http://openvswitch.org/releases/NEWS-1.10.0
+- Removed openvswitch-1.7.0-stp-fwd-delay.patch because of bridge 
compatibility support removing
+
+---

Old:

  openvswitch-1.7.0-stp-fwd-delay.patch
  openvswitch-1.9.0.tar.gz

New:

  openvswitch-1.10.0.tar.gz



Other differences:
--
++ openvswitch.spec ++
--- /var/tmp/diff_new_pack.CrA9VX/_old  2013-05-07 07:30:44.0 +0200
+++ /var/tmp/diff_new_pack.CrA9VX/_new  2013-05-07 07:30:44.0 +0200
@@ -24,7 +24,7 @@
 %bcond_with gui
 
 Name:   openvswitch
-Version:1.9.0
+Version:1.10.0
 Release:0
 License:Apache-2.0
 Summary:An open source, production quality, multilayer virtual switch
@@ -37,9 +37,6 @@
 Source4:openvswitch-switch.logrotate
 Source5:openvswitch-controller.init
 Source6:openvswitch-controller.sysconfig
-# brcompat is going to be deprecated soon
-# PATCH-FEATURE-UPSTREAM openvswitch-1.7.0-stp-fwd-delay.patch -- Set STP 
bridge forward delay
-Patch1: %{name}-1.7.0-stp-fwd-delay.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  gcc
@@ -219,7 +216,6 @@
 
 %prep
 %setup -q
-%patch1 -p1
 
 set -- *
 mkdir source
@@ -339,11 +335,6 @@
 %restart_on_update openvswitch-controller
 %insserv_cleanup
 
-%files brcompat
-%defattr(-,root,root)
-%{_sbindir}/ovs-brcompatd
-%{_mandir}/man8/ovs-brcompatd.8.gz
-
 %files
 %defattr(-,root,root)
 %dir %{_datadir}/openvswitch
@@ -370,6 +361,8 @@
 %{_datadir}/openvswitch/scripts/ovs-bugtool-daemons-ver
 %{_datadir}/openvswitch/scripts/ovs-bugtool-vsctl-show
 %{_datadir}/openvswitch/scripts/ovs-bugtool-memory-show
+%{_datadir}/openvswitch/scripts/ovs-bugtool-ovs-ofctl-dump-flows
+%{_datadir}/openvswitch/scripts/ovs-bugtool-ovs-ofctl-show
 %{_mandir}/man1/ovs-benchmark.1.gz
 %{_mandir}/man1/ovsdb-client.1.gz
 %{_mandir}/man8/ovs-appctl.8.gz

++ openvswitch-1.9.0.tar.gz - openvswitch-1.10.0.tar.gz ++
 192529 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit openvswitch for openSUSE:Factory

2013-04-29 Thread h_root
Hello community,

here is the log from the commit of package openvswitch for openSUSE:Factory 
checked in at 2013-04-29 14:15:26

Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
 and  /work/SRC/openSUSE:Factory/.openvswitch.new (New)


Package is openvswitch, Maintainer is 

Changes:

New Changes file:

--- /dev/null   2013-04-05 00:01:41.916011506 +0200
+++ /work/SRC/openSUSE:Factory/.openvswitch.new/openvswitch.changes 
2013-04-29 14:15:27.0 +0200
@@ -0,0 +1,220 @@
+---
+Wed Apr  3 09:30:20 UTC 2013 - tpaszkow...@novell.com
+
+- %make_install macro no longer works on SLE11. Spec file now uses 
%makeinstall.
+
+
+---
+Tue Mar 26 11:21:37 UTC 2013 - speili...@suse.com
+
+- Use build conditionals instead of %define and disable GUI by default
+  everywhere
+
+---
+Thu Mar 21 13:23:36 UTC 2013 - tpaszkow...@novell.com
+
+- Fix openvswitch-controller init script
+- Add openflow-controller sysconfig file with default binding to ptcp:
+
+---
+Tue Mar 12 13:36:57 UTC 2013 - tpaszkow...@suse.com
+
+- ipsec build temporary disabled
+
+---
+Fri Mar  8 14:16:57 UTC 2013 - tpaszkow...@suse.com
+
+- Provides and Obsolete for former openvswitch-common package 
+
+---
+Thu Mar  7 21:49:09 UTC 2013 - tpaszkow...@suse.com
+
+- always build in openvswitch kernel module (gre tunelling not present
+  within the standard kernel module)
+- removed unnedded build rquirements (move to appropriate subpackage)
+- moved common stuff to main pkg
+- added group filed to packages and sub packages
+- switch pkg suggest kernel module pkg
+- moved python test stuff to python-openvswitch-test sub pkg
+- moved ui interface requirements to ovsdbmonitor sub pkg
+- ovsdbmonitor will not be build on sles (for now)
+- sub pkg test require python-twisted (ovs-test)
+- don't call boot.sh on sles11 (old autoconf). Shipped configuration stuff
+  is ok (we don't patch plenty of stuff)
+- ovs-parse-backtrace now part of main pkg
+- addes ovs-l3ping,ovs-vlan-test to test sub pkg
+
+
+---
+Thu Feb 28 22:17:11 UTC 2013 - e.isto...@edss.ee
+
+- New upstream version 1.9.0
+  http://openvswitch.org/releases/NEWS-1.9.0
+
+---
+Thu Nov 15 08:59:41 UTC 2012 - rha...@suse.com
+
+- New patch openvswitch-1.7.1-ovs-pki-permissions.patch: Avoid
+  creating world writeable directory (bnc#774332, CVE-2012-3449)
+
+---
+Sun Sep  9 15:33:08 UTC 2012 - o...@morlock.nu
+
+- New upstream version 1.7.1
+  * This release only contain bug fixes.
+
+---
+Tue Jul 31 12:41:19 UTC 2012 - o...@morlock.nu
+
+- New upstream version 1.7.0
+  * kernel modules are renamed. openvswitch_mod.ko is now
+openvswitch.ko and brcompat_mod.ko is now brcompat.ko.
+  * Increased the number of NXM registers to 8.
+  * Added ability to configure DSCP setting for manager and controller
+connections.  By default, these connections have a DSCP value of
+Internetwork Control (0xc0).
+  * Added the granular link health statistics, 'cfm_health', to an
+interface.
+  * OpenFlow:
+  - Added support to mask nd_target for ICMPv6 neighbor discovery flows.
+  - Added support for OpenFlow 1.3 port description (OFPMP_PORT_DESC)
+multipart messages.
+  * ovs-ofctl:
+  - Added the dump-ports-desc command to retrieve port
+information using the new port description multipart messages.
+  * ovs-test:
+  - Added support for spawning ovs-test server from the client.
+  - Now ovs-test is able to automatically create test bridges and ports.
+  * ovs-dpctl dump-flows now prints observed TCP flags in TCP flows.
+  * Tripled flow setup performance.
+  * The coverage/log command previously available through ovs-appctl
+has been replaced by coverage/show.  The new command replies with
+coverage counter values, instead of logging them.
+- Adjusted openvswitch-1.1.0-stp-fwd-delay.patch (new filename)
+
+---
+Thu Jul 26 11:47:36 UTC 2012 - rha...@suse.com
+
+- The kernel modules where renamed in recent kernels. Backported a
+  patch from the 1.7 branch to use the new kernel names when
+  building on openSUSE  12.1.
+
+---
+Tue Jun 26 15:09:02