- 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
OBS-URL: https://build.opensuse.org/request/show/521652
OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=124
- 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)
OBS-URL: https://build.opensuse.org/request/show/511377
OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=119
- 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)
OBS-URL: https://build.opensuse.org/request/show/508719
OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=116
- 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
OBS-URL: https://build.opensuse.org/request/show/501114
OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=114
- 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:
OBS-URL: https://build.opensuse.org/request/show/479156
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openvswitch?expand=0&rev=13
- 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:
OBS-URL: https://build.opensuse.org/request/show/461859
OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=111
- 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.
OBS-URL: https://build.opensuse.org/request/show/438539
OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=106
- 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.
OBS-URL: https://build.opensuse.org/request/show/433610
OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=104
- Add missing licenses (bsc#988513)
- Misc spec file cleanups highlighted by the spec-cleaner tool.
- Allow aarch64 builds for openvswitch-dpdk
- Add missing bug references to 2.5.0 release.
old: network/openvswitch
new: home:markoschandras:network/openvswitch rev None
Index: openvswitch-dpdk.changes
===================================================================
--- openvswitch-dpdk.changes (revision 98)
+++ openvswitch-dpdk.changes (revision 46)
@@ -1,4 +1,11 @@
-------------------------------------------------------------------
+Tue Jul 12 10:41:14 UTC 2016 - mchandras@suse.de
+
+- Add missing licenses (bsc#988513)
+- Misc spec file cleanups highlighted by the spec-cleaner tool.
+- Allow aarch64 builds for openvswitch-dpdk
+
+-------------------------------------------------------------------
Mon Jul 4 12:08:06 UTC 2016 - mchandras@suse.de
- Allow the OvS daemon to run as non-root (bsc#987545)
@@ -197,6 +204,8 @@
- Added: ovn-northd.service
- TODO: Explicit DPDK support not yet added to spec.
- Spec file work and cleanup.
+- Includes fixes (or obsoletes) the following issues:
+ * bsc#948840, bsc#941466, bsc#936780, bnc#935750, bnc#867964
-------------------------------------------------------------------
Tue Mar 1 08:43:19 UTC 2016 - kmroz@suse.com
Index: openvswitch-dpdk.spec
===================================================================
--- openvswitch-dpdk.spec (revision 98)
+++ openvswitch-dpdk.spec (revision 46)
@@ -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
@@ -43,35 +44,26 @@
Source89: Module.supported.updates
# PATCH-FIX-UPSTREAM openvswitch-2.5.0-detect-dpdk-installation.patch
Patch0: openvswitch-%{version}-detect-dpdk-installation.patch
-Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch
+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 @@
Open vSwitch is a full-featured software-based Ethernet switch.
%prep
-%setup -n openvswitch-%{version} -q
+%setup -q -n openvswitch-%{version}
%patch0 -p1
%patch1 -p1
@@ -290,6 +288,7 @@
--disable-static \
--enable-libcapng \
--enable-shared \
+ --enable-ssl \
${dpdk_opt} \
--with-logdir=%{_localstatedir}/log/openvswitch
make %{?_smp_mflags}
@@ -301,7 +300,7 @@
# 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.
-if make check TESTSUITEFLAGS="%{_smp_mflags}" ||
+if make check TESTSUITEFLAGS="%{?_smp_mflags}" ||
make check TESTSUITEFLAGS='--recheck'; then :;
else
cat tests/testsuite.log
@@ -358,7 +357,7 @@
mv %{buildroot}%{_datadir}/openvswitch/python/* %{buildroot}%{py_sitedir}
rmdir %{buildroot}%{_datadir}/openvswitch/python
-rm -f %buildroot/%_libdir/*.la
+find %{buildroot} -type f -name "*.la" -delete -print
# Remove unpackaged files for the dpdk case
%if %{with dpdk}
@@ -438,26 +437,26 @@
%{_libdir}/libopenvswitch.so.*
%{_libdir}/libovsdb.so.*
%{_libdir}/libsflow.so.*
-%{_mandir}/man1/ovs-benchmark.1.gz
-%{_mandir}/man1/ovsdb-client.1.gz
-%{_mandir}/man8/ovs-appctl.8.gz
-%{_mandir}/man8/ovs-bugtool.8.gz
-%{_mandir}/man8/ovs-ofctl.8.gz
-%{_mandir}/man8/ovs-vlan-bug-workaround.8.gz
-%{_mandir}/man8/ovs-parse-backtrace.8.gz
-%{_mandir}/man8/ovs-dpctl-top.8.gz
+%{_mandir}/man1/ovs-benchmark.1%{ext_man}
+%{_mandir}/man1/ovsdb-client.1%{ext_man}
+%{_mandir}/man8/ovs-appctl.8%{ext_man}
+%{_mandir}/man8/ovs-bugtool.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-dpctl-top.8%{ext_man}
%{_sysconfdir}/bash_completion.d/ovs-appctl-bashcomp.bash
%files pki
%defattr(-,root,root)
-%{_mandir}/man8/ovs-pki.8.gz
+%{_mandir}/man8/ovs-pki.8%{ext_man}
%{_bindir}/ovs-pki
%files vtep
%defattr(-,root,root)
%{_bindir}/vtep-ctl
-%{_mandir}/man5/vtep.5.gz
-%{_mandir}/man8/vtep-ctl.8.gz
+%{_mandir}/man5/vtep.5%{ext_man}
+%{_mandir}/man8/vtep-ctl.8%{ext_man}
%{_datadir}/openvswitch/scripts/ovs-vtep
%{_datadir}/openvswitch/vtep.ovsschema
%{_libdir}/libvtep.so.*
@@ -489,15 +488,15 @@
%{_datadir}/openvswitch/vswitch.ovsschema
%{_sysconfdir}/bash_completion.d/ovs-vsctl-bashcomp.bash
%config(noreplace) %{_sysconfdir}/logrotate.d/openvswitch-switch
-%{_mandir}/man8/ovs-dpctl.8.gz
-%{_mandir}/man1/ovs-tcpundump.1.gz
-%{_mandir}/man1/ovs-pcap.1.gz
-%{_mandir}/man8/ovs-vsctl.8.gz
-%{_mandir}/man1/ovsdb-tool.1.gz
-%{_mandir}/man8/ovs-vswitchd.8.gz
-%{_mandir}/man1/ovsdb-server.1.gz
-%{_mandir}/man5/ovs-vswitchd.conf.db.5.gz
-%{_mandir}/man8/ovs-ctl.8.gz
+%{_mandir}/man8/ovs-dpctl.8%{ext_man}
+%{_mandir}/man1/ovs-tcpundump.1%{ext_man}
+%{_mandir}/man1/ovs-pcap.1%{ext_man}
+%{_mandir}/man8/ovs-vsctl.8%{ext_man}
+%{_mandir}/man1/ovsdb-tool.1%{ext_man}
+%{_mandir}/man8/ovs-vswitchd.8%{ext_man}
+%{_mandir}/man1/ovsdb-server.1%{ext_man}
+%{_mandir}/man5/ovs-vswitchd.conf.db.5%{ext_man}
+%{_mandir}/man8/ovs-ctl.8%{ext_man}
%{_sbindir}/rcopenvswitch
%{_unitdir}/openvswitch.service
%{_localstatedir}/adm/fillup-templates/sysconfig.openvswitch
@@ -538,10 +537,10 @@
%{_bindir}/ovs-l3ping
%{_bindir}/ovs-vlan-test
%{_bindir}/ovs-testcontroller
-%{_mandir}/man8/ovs-test.8.gz
-%{_mandir}/man8/ovs-l3ping.8.gz
-%{_mandir}/man8/ovs-vlan-test.8.gz
-%{_mandir}/man8/ovs-testcontroller.8.gz
+%{_mandir}/man8/ovs-test.8%{ext_man}
+%{_mandir}/man8/ovs-l3ping.8%{ext_man}
+%{_mandir}/man8/ovs-vlan-test.8%{ext_man}
+%{_mandir}/man8/ovs-testcontroller.8%{ext_man}
%files devel
%defattr(-,root,root)
Index: openvswitch.changes
===================================================================
--- openvswitch.changes (revision 98)
+++ openvswitch.changes (revision 46)
@@ -1,4 +1,11 @@
-------------------------------------------------------------------
+Tue Jul 12 10:41:14 UTC 2016 - mchandras@suse.de
+
+- Add missing licenses (bsc#988513)
+- Misc spec file cleanups highlighted by the spec-cleaner tool.
+- Allow aarch64 builds for openvswitch-dpdk
+
+-------------------------------------------------------------------
Mon Jul 4 12:08:06 UTC 2016 - mchandras@suse.de
- Allow the OvS daemon to run as non-root (bsc#987545)
@@ -197,6 +204,8 @@
- Added: ovn-northd.service
- TODO: Explicit DPDK support not yet added to spec.
- Spec file work and cleanup.
+- Includes fixes (or obsoletes) the following issues:
+ * bsc#948840, bsc#941466, bsc#936780, bnc#935750, bnc#867964
-------------------------------------------------------------------
Tue Mar 1 08:43:19 UTC 2016 - kmroz@suse.com
Index: openvswitch.spec
===================================================================
--- openvswitch.spec (revision 98)
+++ openvswitch.spec (revision 46)
@@ -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,12 +25,14 @@
# The testsuite is somewhat fragile for continuous testing in OBS
# but keep it here as an option
%bcond_with check
-
Name: openvswitch
Version: 2.5.0
Release: 0
Summary: An open source, production quality, multilayer virtual switch
-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
@@ -41,35 +42,26 @@
Source89: Module.supported.updates
# PATCH-FIX-UPSTREAM openvswitch-2.5.0-detect-dpdk-installation.patch
Patch0: openvswitch-%{version}-detect-dpdk-installation.patch
-Patch1: 0001-Remove-broken-pipe-warning-logs-from-ovsdb-server.lo.patch
+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}
@@ -77,10 +69,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
@@ -129,15 +127,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
@@ -244,7 +242,7 @@
Open vSwitch is a full-featured software-based Ethernet switch.
%prep
-%setup -n openvswitch-%{version} -q
+%setup -q -n openvswitch-%{version}
%patch0 -p1
%patch1 -p1
@@ -288,6 +286,7 @@
--disable-static \
--enable-libcapng \
--enable-shared \
+ --enable-ssl \
${dpdk_opt} \
--with-logdir=%{_localstatedir}/log/openvswitch
make %{?_smp_mflags}
@@ -299,7 +298,7 @@
# 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.
-if make check TESTSUITEFLAGS="%{_smp_mflags}" ||
+if make check TESTSUITEFLAGS="%{?_smp_mflags}" ||
make check TESTSUITEFLAGS='--recheck'; then :;
else
cat tests/testsuite.log
@@ -356,7 +355,7 @@
mv %{buildroot}%{_datadir}/openvswitch/python/* %{buildroot}%{py_sitedir}
rmdir %{buildroot}%{_datadir}/openvswitch/python
-rm -f %buildroot/%_libdir/*.la
+find %{buildroot} -type f -name "*.la" -delete -print
# Remove unpackaged files for the dpdk case
%if %{with dpdk}
@@ -436,26 +435,26 @@
%{_libdir}/libopenvswitch.so.*
%{_libdir}/libovsdb.so.*
%{_libdir}/libsflow.so.*
-%{_mandir}/man1/ovs-benchmark.1.gz
-%{_mandir}/man1/ovsdb-client.1.gz
-%{_mandir}/man8/ovs-appctl.8.gz
-%{_mandir}/man8/ovs-bugtool.8.gz
-%{_mandir}/man8/ovs-ofctl.8.gz
-%{_mandir}/man8/ovs-vlan-bug-workaround.8.gz
-%{_mandir}/man8/ovs-parse-backtrace.8.gz
-%{_mandir}/man8/ovs-dpctl-top.8.gz
+%{_mandir}/man1/ovs-benchmark.1%{ext_man}
+%{_mandir}/man1/ovsdb-client.1%{ext_man}
+%{_mandir}/man8/ovs-appctl.8%{ext_man}
+%{_mandir}/man8/ovs-bugtool.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-dpctl-top.8%{ext_man}
%{_sysconfdir}/bash_completion.d/ovs-appctl-bashcomp.bash
%files pki
%defattr(-,root,root)
-%{_mandir}/man8/ovs-pki.8.gz
+%{_mandir}/man8/ovs-pki.8%{ext_man}
%{_bindir}/ovs-pki
%files vtep
%defattr(-,root,root)
%{_bindir}/vtep-ctl
-%{_mandir}/man5/vtep.5.gz
-%{_mandir}/man8/vtep-ctl.8.gz
+%{_mandir}/man5/vtep.5%{ext_man}
+%{_mandir}/man8/vtep-ctl.8%{ext_man}
%{_datadir}/openvswitch/scripts/ovs-vtep
%{_datadir}/openvswitch/vtep.ovsschema
%{_libdir}/libvtep.so.*
@@ -487,15 +486,15 @@
%{_datadir}/openvswitch/vswitch.ovsschema
%{_sysconfdir}/bash_completion.d/ovs-vsctl-bashcomp.bash
%config(noreplace) %{_sysconfdir}/logrotate.d/openvswitch-switch
-%{_mandir}/man8/ovs-dpctl.8.gz
-%{_mandir}/man1/ovs-tcpundump.1.gz
-%{_mandir}/man1/ovs-pcap.1.gz
-%{_mandir}/man8/ovs-vsctl.8.gz
-%{_mandir}/man1/ovsdb-tool.1.gz
-%{_mandir}/man8/ovs-vswitchd.8.gz
-%{_mandir}/man1/ovsdb-server.1.gz
-%{_mandir}/man5/ovs-vswitchd.conf.db.5.gz
-%{_mandir}/man8/ovs-ctl.8.gz
+%{_mandir}/man8/ovs-dpctl.8%{ext_man}
+%{_mandir}/man1/ovs-tcpundump.1%{ext_man}
+%{_mandir}/man1/ovs-pcap.1%{ext_man}
+%{_mandir}/man8/ovs-vsctl.8%{ext_man}
+%{_mandir}/man1/ovsdb-tool.1%{ext_man}
+%{_mandir}/man8/ovs-vswitchd.8%{ext_man}
+%{_mandir}/man1/ovsdb-server.1%{ext_man}
+%{_mandir}/man5/ovs-vswitchd.conf.db.5%{ext_man}
+%{_mandir}/man8/ovs-ctl.8%{ext_man}
%{_sbindir}/rcopenvswitch
%{_unitdir}/openvswitch.service
%{_localstatedir}/adm/fillup-templates/sysconfig.openvswitch
@@ -536,10 +535,10 @@
%{_bindir}/ovs-l3ping
%{_bindir}/ovs-vlan-test
%{_bindir}/ovs-testcontroller
-%{_mandir}/man8/ovs-test.8.gz
-%{_mandir}/man8/ovs-l3ping.8.gz
-%{_mandir}/man8/ovs-vlan-test.8.gz
-%{_mandir}/man8/ovs-testcontroller.8.gz
+%{_mandir}/man8/ovs-test.8%{ext_man}
+%{_mandir}/man8/ovs-l3ping.8%{ext_man}
+%{_mandir}/man8/ovs-vlan-test.8%{ext_man}
+%{_mandir}/man8/ovs-testcontroller.8%{ext_man}
%files devel
%defattr(-,root,root)
OBS-URL: https://build.opensuse.org/request/show/408658
OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=99
- 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.
- 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.
- 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.
- Update rpm groups, acronym forms.
- 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.
OBS-URL: https://build.opensuse.org/request/show/406694
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openvswitch?expand=0&rev=7
- 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.
OBS-URL: https://build.opensuse.org/request/show/403989
OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=92
- 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
- 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.
OBS-URL: https://build.opensuse.org/request/show/402853
OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=91
- 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
OBS-URL: https://build.opensuse.org/request/show/396148
OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=86
- address dimstars concerns
- Prevent systemd from autogenerating a service file for
openvswitch-switch which conflicts with the opevswitch
one. (bsc#966762)
- Add missing %defattr to ovn files section.
- Add additional install requirements for python-openvswitch-test
package.
- 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
- 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.
OBS-URL: https://build.opensuse.org/request/show/389094
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openvswitch?expand=0&rev=5
- Add additional install requirements for python-openvswitch-test
package.
- 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
- 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.
OBS-URL: https://build.opensuse.org/request/show/368475
OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=79