From 5d8fc70d069b3eff0210a85dbdccb0bdf7f3ada9 Mon Sep 17 00:00:00 2001 From: Timothy Redaelli Date: Tue, 23 Feb 2021 18:50:27 +0100 Subject: [PATCH] Add openvswitch-testcontroller subpackage since it's required by mininet Resolves: #1914605 --- openvswitch.spec | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/openvswitch.spec b/openvswitch.spec index 7d9a65b..0a87314 100644 --- a/openvswitch.spec +++ b/openvswitch.spec @@ -45,7 +45,7 @@ Name: openvswitch Summary: Open vSwitch daemon/database/utilities URL: http://www.openvswitch.org/ Version: 2.15.0 -Release: 3%{?commit0:.%{date}git%{shortcommit0}}%{?dist} +Release: 4%{?commit0:.%{date}git%{shortcommit0}}%{?dist} # Nearly all of openvswitch is ASL 2.0. The bugtool is LGPLv2+, and the # lib/sflow*.[ch] files are SISSL @@ -139,6 +139,17 @@ Requires: python3-openvswitch = %{?epoch:%{epoch}:}%{version}-%{release} Utilities that are useful to diagnose performance and connectivity issues in Open vSwitch setup. +%package testcontroller +Summary: Simple controller for testing OpenFlow setups +License: ASL 2.0 +Requires: openvswitch = %{?epoch:%{epoch}:}%{version}-%{release} + +%description testcontroller +This controller enables OpenFlow switches that connect to it to act as +MAC-learning Ethernet switches. +It can be used for initial testing of OpenFlow networks. +It is not a necessary or desirable part of a production OpenFlow deployment. + %package devel Summary: Open vSwitch OpenFlow development package (library, headers) License: ASL 2.0 @@ -276,10 +287,8 @@ touch $RPM_BUILD_ROOT%{_sysconfdir}/openvswitch/system-id.conf rm -f $RPM_BUILD_ROOT/%{_bindir}/ovs-benchmark \ $RPM_BUILD_ROOT/%{_bindir}/ovs-docker \ $RPM_BUILD_ROOT/%{_bindir}/ovs-parse-backtrace \ - $RPM_BUILD_ROOT/%{_bindir}/ovs-testcontroller \ $RPM_BUILD_ROOT/%{_sbindir}/ovs-vlan-bug-workaround \ $RPM_BUILD_ROOT/%{_mandir}/man1/ovs-benchmark.1* \ - $RPM_BUILD_ROOT/%{_mandir}/man8/ovs-testcontroller.* \ $RPM_BUILD_ROOT/%{_mandir}/man8/ovs-vlan-bug-workaround.8* # remove ovn unpackages files @@ -379,6 +388,10 @@ chown -R openvswitch:openvswitch /etc/openvswitch %{_mandir}/man8/ovs-l3ping.8* %{python3_sitelib}/ovstest +%files testcontroller +%{_bindir}/ovs-testcontroller +%{_mandir}/man8/ovs-testcontroller.8* + %files devel %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc @@ -472,6 +485,9 @@ chown -R openvswitch:openvswitch /etc/openvswitch %endif %changelog +* Tue Feb 23 2021 Timothy Redaelli - 2.15.0-4 +- Add openvswitch-testcontroller subpackage since it's required by mininet (#1914605) + * Mon Feb 22 2021 Timothy Redaelli - 2.15.0-3 - Add python3-sortedcontainers as dependency (#1926202)