SHA256
1
0
forked from pool/openvswitch
Dominique Leuenberger 2016-11-29 11:49:10 +00:00 committed by Git OBS Bridge
commit 87b216f498
4 changed files with 48 additions and 4 deletions

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Fri Nov 25 16:36:40 UTC 2016 - mchandras@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 - mchandras@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.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Nov 3 10:48:32 UTC 2016 - mchandras@suse.de Thu Nov 3 10:48:32 UTC 2016 - mchandras@suse.de

View File

@ -70,8 +70,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if %{with dpdk} %if %{with dpdk}
# We need to be a bit strict with the dpdk version since # We need to be a bit strict with the dpdk version since
# it's very possible for DPDK to change it's API between # it's very possible for DPDK to change it's API between
# releases. This version currently requires 16.07. # releases. This version currently requires >=16.07 but not
BuildRequires: dpdk-devel = 16.07 # 17.XX
BuildRequires: dpdk-devel >= 16.07
BuildRequires: libnuma-devel BuildRequires: libnuma-devel
BuildRequires: libpcap-devel BuildRequires: libpcap-devel
# We can't have openvswitch and openvswitch-dpdk in parallel # We can't have openvswitch and openvswitch-dpdk in parallel
@ -375,6 +376,14 @@ rm -rf %{buildroot}%{py_sitedir}
%postun switch %postun switch
%service_del_postun ovsdb-server.service %service_del_postun ovsdb-server.service
%service_del_postun ovs-vswitchd.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 %service_del_postun openvswitch.service
%pre ovn %pre ovn

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Fri Nov 25 16:36:40 UTC 2016 - mchandras@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 - mchandras@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.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Nov 3 10:48:32 UTC 2016 - mchandras@suse.de Thu Nov 3 10:48:32 UTC 2016 - mchandras@suse.de

View File

@ -68,8 +68,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if %{with dpdk} %if %{with dpdk}
# We need to be a bit strict with the dpdk version since # We need to be a bit strict with the dpdk version since
# it's very possible for DPDK to change it's API between # it's very possible for DPDK to change it's API between
# releases. This version currently requires 16.07. # releases. This version currently requires >=16.07 but not
BuildRequires: dpdk-devel = 16.07 # 17.XX
BuildRequires: dpdk-devel >= 16.07
BuildRequires: libnuma-devel BuildRequires: libnuma-devel
BuildRequires: libpcap-devel BuildRequires: libpcap-devel
# We can't have openvswitch and openvswitch-dpdk in parallel # We can't have openvswitch and openvswitch-dpdk in parallel
@ -373,6 +374,14 @@ rm -rf %{buildroot}%{py_sitedir}
%postun switch %postun switch
%service_del_postun ovsdb-server.service %service_del_postun ovsdb-server.service
%service_del_postun ovs-vswitchd.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 %service_del_postun openvswitch.service
%pre ovn %pre ovn