]> git.proxmox.com Git - mirror_ovs.git/blame_incremental - rhel/openvswitch-fedora.spec.in
ovs-kmod-ctl: introduce a kernel module load script
[mirror_ovs.git] / rhel / openvswitch-fedora.spec.in
... / ...
CommitLineData
1# Spec file for Open vSwitch.
2
3# Copyright (C) 2009, 2010, 2013, 2014, 2015, 2016 Nicira Networks, Inc.
4#
5# Copying and distribution of this file, with or without modification,
6# are permitted in any medium without royalty provided the copyright
7# notice and this notice are preserved. This file is offered as-is,
8# without warranty of any kind.
9#
10# If tests have to be skipped while building, specify the '--without check'
11# option. For example:
12# rpmbuild -bb --without check rhel/openvswitch-fedora.spec
13#
14# Support for executing kernel data path tests under rpmbuild is
15# provided, however this is intended for use only in test environments
16# and should not be used otherwise (these tests require root privileges).
17# These tests can be executed, for example, via:
18# rpmbuild -rb --with check_datapath_kernel openvswitch-fedora.src.rpm
19#
20# These tests will use the currently installed OVS kernel modules, when
21# testing out of tree kernel modules the appropriate openvswitch-kmod
22# package should be installed first.
23
24#%define kernel 2.6.40.4-5.fc15.x86_64
25
26# If libcap-ng isn't available and there is no need for running OVS
27# as regular user, specify the '--without libcapng'
28%bcond_without libcapng
29# To enable DPDK support, specify '--with dpdk' when building
30%bcond_with dpdk
31# Enable Python 3 by specifying '--with build_python3'.
32# This is enabled by default for versions of the distribution that
33# have Python 3 by default (Fedora > 22).
34%bcond_with build_python3
35
36# Enable PIE, bz#955181
37%global _hardened_build 1
38
39# some distros (e.g: RHEL-7) don't define _rundir macro yet
40# Fedora 15 onwards uses /run as _rundir
41%if 0%{!?_rundir:1}
42%define _rundir /run
43%endif
44
45# define the python package prefix based on distribution version so that we can
46# simultaneously support RHEL-based and later Fedora versions in this spec file.
47%if 0%{?fedora} >= 25
48%define _py2 python2
49%endif
50
51%if 0%{?rhel} || 0%{?fedora} < 25
52%define _py2 python
53%endif
54
55
56Name: openvswitch
57Summary: Open vSwitch
58Group: System Environment/Daemons
59URL: http://www.openvswitch.org/
60Version: @VERSION@
61
62# Nearly all of openvswitch is ASL 2.0. The bugtool is LGPLv2+, and the
63# lib/sflow*.[ch] files are SISSL
64# datapath/ is GPLv2 (although not built into any of the binary packages)
65License: ASL 2.0 and LGPLv2+ and SISSL
66Release: 1%{?dist}
67Source: http://openvswitch.org/releases/%{name}-%{version}.tar.gz
68
69BuildRequires: autoconf automake libtool
70BuildRequires: systemd-units openssl openssl-devel
71BuildRequires: %{_py2}-devel
72%if 0%{?fedora} > 22 || %{with build_python3}
73BuildRequires: python3-devel
74%endif
75BuildRequires: desktop-file-utils
76BuildRequires: groff graphviz
77BuildRequires: checkpolicy, selinux-policy-devel
78BuildRequires: %{_py2}-sphinx
79# make check dependencies
80BuildRequires: %{_py2}-twisted%{?rhel:-core} %{_py2}-zope-interface %{_py2}-six
81BuildRequires: procps-ng
82%if %{with libcapng}
83BuildRequires: libcap-ng libcap-ng-devel
84%endif
85%if %{with dpdk}
86BuildRequires: libpcap-devel numactl-devel
87BuildRequires: dpdk-devel >= 17.05.1
88Provides: %{name}-dpdk = %{version}-%{release}
89%endif
90
91Requires: openssl hostname iproute module-init-tools
92#Upstream kernel commit 4f647e0a3c37b8d5086214128614a136064110c3
93#Requires: kernel >= 3.15.0-0
94
95Requires(pre): shadow-utils
96Requires(post): /bin/sed
97Requires(post): systemd-units
98Requires(preun): systemd-units
99Requires(postun): systemd-units
100Obsoletes: openvswitch-controller <= 0:2.1.0-1
101
102# to skip running checks, pass --without check
103%bcond_without check
104%bcond_with check_datapath_kernel
105
106%description
107Open vSwitch provides standard network bridging functions and
108support for the OpenFlow protocol for remote per-flow control of
109traffic.
110
111%package selinux-policy
112Summary: Open vSwitch SELinux policy
113License: ASL 2.0
114BuildArch: noarch
115Requires: selinux-policy-targeted
116
117%description selinux-policy
118Tailored Open vSwitch SELinux policy
119
120%package -n %{_py2}-openvswitch
121Summary: Open vSwitch python2 bindings
122License: ASL 2.0
123BuildArch: noarch
124Requires: %{_py2}
125Requires: %{_py2}-six
126%{?python_provide:%python_provide python2-openvswitch = %{version}-%{release}}
127%description -n %{_py2}-openvswitch
128Python bindings for the Open vSwitch database
129
130%if 0%{?fedora} > 22 || %{with build_python3}
131%package -n python3-openvswitch
132Summary: Open vSwitch python3 bindings
133License: ASL 2.0
134BuildArch: noarch
135Requires: python3
136Requires: python3-six
137%{?python_provide:%python_provide python3-openvswitch = %{version}-%{release}}
138
139%description -n python3-openvswitch
140Python bindings for the Open vSwitch database
141%endif
142
143%package test
144Summary: Open vSwitch testing utilities
145License: ASL 2.0
146BuildArch: noarch
147Requires: %{_py2}-openvswitch = %{version}-%{release}
148Requires: %{_py2} %{_py2}-netifaces %{_py2}-twisted
149
150%description test
151Utilities that are useful to diagnose performance and connectivity
152issues in Open vSwitch setup.
153
154%package devel
155Summary: Open vSwitch OpenFlow development package (library, headers)
156License: ASL 2.0
157Provides: openvswitch-static = %{version}-%{release}
158
159%description devel
160This provides static library, libopenswitch.a and the openvswitch header
161files needed to build an external application.
162
163%package ovn-central
164Summary: Open vSwitch - Open Virtual Network support
165License: ASL 2.0
166Requires: openvswitch openvswitch-ovn-common
167Requires: firewalld-filesystem
168
169%description ovn-central
170OVN, the Open Virtual Network, is a system to support virtual network
171abstraction. OVN complements the existing capabilities of OVS to add
172native support for virtual network abstractions, such as virtual L2 and L3
173overlays and security groups.
174
175%package ovn-host
176Summary: Open vSwitch - Open Virtual Network support
177License: ASL 2.0
178Requires: openvswitch openvswitch-ovn-common
179Requires: firewalld-filesystem
180
181%description ovn-host
182OVN, the Open Virtual Network, is a system to support virtual network
183abstraction. OVN complements the existing capabilities of OVS to add
184native support for virtual network abstractions, such as virtual L2 and L3
185overlays and security groups.
186
187%package ovn-vtep
188Summary: Open vSwitch - Open Virtual Network support
189License: ASL 2.0
190Requires: openvswitch openvswitch-ovn-common
191
192%description ovn-vtep
193OVN vtep controller
194
195%package ovn-common
196Summary: Open vSwitch - Open Virtual Network support
197License: ASL 2.0
198Requires: openvswitch
199
200%description ovn-common
201Utilities that are use to diagnose and manage the OVN components.
202
203%package ovn-docker
204Summary: Open vSwitch - Open Virtual Network support
205License: ASL 2.0
206Requires: openvswitch openvswitch-ovn-common %{_py2}-openvswitch
207
208%description ovn-docker
209Docker network plugins for OVN.
210
211%prep
212%setup -q
213
214%build
215%configure \
216%if %{with libcapng}
217 --enable-libcapng \
218%else
219 --disable-libcapng \
220%endif
221%if %{with dpdk}
222 --with-dpdk=$(dirname %{_datadir}/dpdk/*/.config) \
223%endif
224 --enable-ssl \
225 --with-pkidir=%{_sharedstatedir}/openvswitch/pki \
226%if 0%{?fedora} > 22 || %{with build_python3}
227 PYTHON3=%{__python3} \
228 PYTHON=%{__python2}
229%else
230 PYTHON=%{__python}
231%endif
232
233build-aux/dpdkstrip.py \
234%if %{with dpdk}
235 --dpdk \
236%else
237 --nodpdk \
238%endif
239 < rhel/usr_lib_systemd_system_ovs-vswitchd.service.in \
240 > rhel/usr_lib_systemd_system_ovs-vswitchd.service
241
242make %{?_smp_mflags}
243make selinux-policy
244
245%install
246rm -rf $RPM_BUILD_ROOT
247make install DESTDIR=$RPM_BUILD_ROOT
248
249install -d -m 0755 $RPM_BUILD_ROOT%{_rundir}/openvswitch
250install -d -m 0750 $RPM_BUILD_ROOT%{_localstatedir}/log/openvswitch
251install -d -m 0755 $RPM_BUILD_ROOT%{_sysconfdir}/openvswitch
252
253%if %{with dpdk}
254install -p -D -m 0644 rhel/usr_lib_udev_rules.d_91-vfio.rules \
255 $RPM_BUILD_ROOT%{_prefix}/lib/udev/rules.d/91-vfio.rules
256%endif
257
258install -p -D -m 0644 \
259 rhel/usr_share_openvswitch_scripts_systemd_sysconfig.template \
260 $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/openvswitch
261for service in openvswitch ovsdb-server ovs-vswitchd ovs-delete-transient-ports \
262 ovn-controller ovn-controller-vtep ovn-northd; do
263 install -p -D -m 0644 \
264 rhel/usr_lib_systemd_system_${service}.service \
265 $RPM_BUILD_ROOT%{_unitdir}/${service}.service
266done
267install -m 0755 rhel/etc_init.d_openvswitch \
268 $RPM_BUILD_ROOT%{_datadir}/openvswitch/scripts/openvswitch.init
269
270install -p -D -m 0644 rhel/etc_openvswitch_default.conf \
271 $RPM_BUILD_ROOT/%{_sysconfdir}/openvswitch/default.conf
272
273install -p -D -m 0644 rhel/etc_logrotate.d_openvswitch \
274 $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d/openvswitch
275
276install -m 0644 vswitchd/vswitch.ovsschema \
277 $RPM_BUILD_ROOT/%{_datadir}/openvswitch/vswitch.ovsschema
278
279install -d -m 0755 $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/network-scripts/
280install -p -m 0755 rhel/etc_sysconfig_network-scripts_ifdown-ovs \
281 $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/network-scripts/ifdown-ovs
282install -p -m 0755 rhel/etc_sysconfig_network-scripts_ifup-ovs \
283 $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/network-scripts/ifup-ovs
284
285install -d -m 0755 $RPM_BUILD_ROOT%{python2_sitelib}
286cp -a $RPM_BUILD_ROOT/%{_datadir}/openvswitch/python/* \
287 $RPM_BUILD_ROOT%{python2_sitelib}
288
289%if 0%{?fedora} > 22 || %{with build_python3}
290install -d -m 0755 $RPM_BUILD_ROOT%{python3_sitelib}
291cp -a $RPM_BUILD_ROOT/%{_datadir}/openvswitch/python/ovs \
292 $RPM_BUILD_ROOT%{python3_sitelib}
293%endif
294
295rm -rf $RPM_BUILD_ROOT/%{_datadir}/openvswitch/python/
296
297install -d -m 0755 $RPM_BUILD_ROOT/%{_sharedstatedir}/openvswitch
298
299touch $RPM_BUILD_ROOT%{_sysconfdir}/openvswitch/conf.db
300touch $RPM_BUILD_ROOT%{_sysconfdir}/openvswitch/.conf.db.~lock~
301touch $RPM_BUILD_ROOT%{_sysconfdir}/openvswitch/system-id.conf
302
303install -p -m 644 -D selinux/openvswitch-custom.pp \
304 $RPM_BUILD_ROOT%{_datadir}/selinux/packages/%{name}/openvswitch-custom.pp
305
306install -d $RPM_BUILD_ROOT%{_prefix}/lib/firewalld/services/
307install -p -m 0644 rhel/usr_lib_firewalld_services_ovn-central-firewall-service.xml \
308 $RPM_BUILD_ROOT%{_prefix}/lib/firewalld/services/ovn-central-firewall-service.xml
309install -p -m 0644 rhel/usr_lib_firewalld_services_ovn-host-firewall-service.xml \
310 $RPM_BUILD_ROOT%{_prefix}/lib/firewalld/services/ovn-host-firewall-service.xml
311
312install -d -m 0755 $RPM_BUILD_ROOT%{_prefix}/lib/ocf/resource.d/ovn
313ln -s %{_datadir}/openvswitch/scripts/ovndb-servers.ocf \
314 $RPM_BUILD_ROOT%{_prefix}/lib/ocf/resource.d/ovn/ovndb-servers
315
316install -p -D -m 0755 \
317 rhel/usr_share_openvswitch_scripts_ovs-systemd-reload \
318 $RPM_BUILD_ROOT%{_datadir}/openvswitch/scripts/ovs-systemd-reload
319
320# remove unpackaged files
321rm -f $RPM_BUILD_ROOT%{_bindir}/ovs-parse-backtrace \
322 $RPM_BUILD_ROOT%{_sbindir}/ovs-vlan-bug-workaround \
323 $RPM_BUILD_ROOT%{_mandir}/man1/ovs-sim.1 \
324 $RPM_BUILD_ROOT%{_mandir}/man8/ovs-vlan-bug-workaround.8
325
326%check
327%if %{with check}
328 if make check TESTSUITEFLAGS='%{_smp_mflags}' RECHECK=yes; then :;
329 else
330 cat tests/testsuite.log
331 exit 1
332 fi
333%endif
334%if %{with check_datapath_kernel}
335 if make check-kernel RECHECK=yes; then :;
336 else
337 cat tests/system-kmod-testsuite.log
338 exit 1
339 fi
340%endif
341
342%clean
343rm -rf $RPM_BUILD_ROOT
344
345%preun
346%if 0%{?systemd_preun:1}
347 %systemd_preun %{name}.service
348%else
349 if [ $1 -eq 0 ] ; then
350 # Package removal, not upgrade
351 /bin/systemctl --no-reload disable %{name}.service >/dev/null 2>&1 || :
352 /bin/systemctl stop %{name}.service >/dev/null 2>&1 || :
353 fi
354%endif
355
356%preun ovn-central
357%if 0%{?systemd_preun:1}
358 %systemd_preun ovn-northd.service
359%else
360 if [ $1 -eq 0 ] ; then
361 # Package removal, not upgrade
362 /bin/systemctl --no-reload disable ovn-northd.service >/dev/null 2>&1 || :
363 /bin/systemctl stop ovn-northd.service >/dev/null 2>&1 || :
364 fi
365%endif
366
367%preun ovn-host
368%if 0%{?systemd_preun:1}
369 %systemd_preun ovn-controller.service
370%else
371 if [ $1 -eq 0 ] ; then
372 # Package removal, not upgrade
373 /bin/systemctl --no-reload disable ovn-controller.service >/dev/null 2>&1 || :
374 /bin/systemctl stop ovn-controller.service >/dev/null 2>&1 || :
375 fi
376%endif
377
378%preun ovn-vtep
379%if 0%{?systemd_preun:1}
380 %systemd_preun ovn-controller-vtep.service
381%else
382 if [ $1 -eq 0 ] ; then
383 # Package removal, not upgrade
384 /bin/systemctl --no-reload disable ovn-controller-vtep.service >/dev/null 2>&1 || :
385 /bin/systemctl stop ovn-controller-vtep.service >/dev/null 2>&1 || :
386 fi
387%endif
388
389%pre
390getent group openvswitch >/dev/null || groupadd -r openvswitch
391getent passwd openvswitch >/dev/null || \
392 useradd -r -g openvswitch -d / -s /sbin/nologin \
393 -c "Open vSwitch Daemons" openvswitch
394
395%if %{with dpdk}
396 getent group hugetlbfs >/dev/null || groupadd hugetlbfs
397 usermod -a -G hugetlbfs openvswitch
398%endif
399exit 0
400
401%post
402if [ $1 -eq 1 ]; then
403 sed -i 's:^#OVS_USER_ID=:OVS_USER_ID=:' /etc/sysconfig/openvswitch
404
405%if %{with dpdk}
406 sed -i \
407 's@OVS_USER_ID="openvswitch:openvswitch"@OVS_USER_ID="openvswitch:hugetlbfs"@'\
408 /etc/sysconfig/openvswitch
409%endif
410
411 # In the case of upgrade, this is not needed.
412 chown -R openvswitch:openvswitch /etc/openvswitch
413fi
414
415%if 0%{?systemd_post:1}
416 %systemd_post %{name}.service
417%else
418 # Package install, not upgrade
419 if [ $1 -eq 1 ]; then
420 /bin/systemctl daemon-reload >dev/null || :
421 fi
422%endif
423
424%post ovn-central
425%if 0%{?systemd_post:1}
426 %systemd_post ovn-northd.service
427%else
428 # Package install, not upgrade
429 if [ $1 -eq 1 ]; then
430 /bin/systemctl daemon-reload >dev/null || :
431 fi
432%endif
433
434%post ovn-host
435%if 0%{?systemd_post:1}
436 %systemd_post ovn-controller.service
437%else
438 # Package install, not upgrade
439 if [ $1 -eq 1 ]; then
440 /bin/systemctl daemon-reload >dev/null || :
441 fi
442%endif
443
444%post ovn-vtep
445%if 0%{?systemd_post:1}
446 %systemd_post ovn-controller-vtep.service
447%else
448 # Package install, not upgrade
449 if [ $1 -eq 1 ]; then
450 /bin/systemctl daemon-reload >dev/null || :
451 fi
452%endif
453
454%post selinux-policy
455/usr/sbin/semodule -i %{_datadir}/selinux/packages/%{name}/openvswitch-custom.pp &> /dev/null || :
456
457%postun
458%if 0%{?systemd_postun:1}
459 %systemd_postun %{name}.service
460%else
461 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
462%endif
463
464%postun ovn-central
465%if 0%{?systemd_postun:1}
466 %systemd_postun ovn-northd.service
467%else
468 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
469%endif
470
471%postun ovn-host
472%if 0%{?systemd_postun:1}
473 %systemd_postun ovn-controller.service
474%else
475 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
476%endif
477
478%postun ovn-vtep
479%if 0%{?systemd_postun:1}
480 %systemd_postun ovn-controller-vtep.service
481%else
482 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
483%endif
484
485%postun selinux-policy
486if [ $1 -eq 0 ] ; then
487 /usr/sbin/semodule -r openvswitch-custom &> /dev/null || :
488fi
489
490%files selinux-policy
491%defattr(-,root,root)
492%{_datadir}/selinux/packages/%{name}/openvswitch-custom.pp
493
494%files -n %{_py2}-openvswitch
495%{python2_sitelib}/ovs
496
497%if 0%{?fedora} > 22 || %{with build_python3}
498%files -n python3-openvswitch
499%{python3_sitelib}/ovs
500%endif
501
502%files test
503%{_bindir}/ovs-test
504%{_bindir}/ovs-vlan-test
505%{_bindir}/ovs-l3ping
506%{_bindir}/ovs-pcap
507%{_bindir}/ovs-tcpdump
508%{_bindir}/ovs-tcpundump
509%{_mandir}/man8/ovs-test.8*
510%{_mandir}/man8/ovs-vlan-test.8*
511%{_mandir}/man8/ovs-l3ping.8*
512%{_mandir}/man1/ovs-pcap.1*
513%{_mandir}/man8/ovs-tcpdump.8*
514%{_mandir}/man1/ovs-tcpundump.1*
515%{python2_sitelib}/ovstest
516
517%files devel
518%{_libdir}/*.a
519%{_libdir}/*.la
520%{_libdir}/pkgconfig/*.pc
521%{_includedir}/openvswitch/*
522%{_includedir}/openflow/*
523%{_includedir}/ovn/*
524
525%files
526%defattr(-,openvswitch,openvswitch)
527%dir %{_sysconfdir}/openvswitch
528%{_sysconfdir}/openvswitch/default.conf
529%config %ghost %{_sysconfdir}/openvswitch/conf.db
530%ghost %{_sysconfdir}/openvswitch/.conf.db.~lock~
531%config %ghost %{_sysconfdir}/openvswitch/system-id.conf
532%config(noreplace) %{_sysconfdir}/sysconfig/openvswitch
533%defattr(-,root,root)
534%{_sysconfdir}/bash_completion.d/ovs-appctl-bashcomp.bash
535%{_sysconfdir}/bash_completion.d/ovs-vsctl-bashcomp.bash
536%config(noreplace) %{_sysconfdir}/logrotate.d/openvswitch
537%{_unitdir}/openvswitch.service
538%{_unitdir}/ovsdb-server.service
539%{_unitdir}/ovs-vswitchd.service
540%{_unitdir}/ovs-delete-transient-ports.service
541%{_datadir}/openvswitch/scripts/openvswitch.init
542%{_sysconfdir}/sysconfig/network-scripts/ifup-ovs
543%{_sysconfdir}/sysconfig/network-scripts/ifdown-ovs
544%{_datadir}/openvswitch/bugtool-plugins/
545%{_datadir}/openvswitch/scripts/ovs-bugtool-*
546%{_datadir}/openvswitch/scripts/ovs-check-dead-ifs
547%{_datadir}/openvswitch/scripts/ovs-lib
548%{_datadir}/openvswitch/scripts/ovs-save
549%{_datadir}/openvswitch/scripts/ovs-vtep
550%{_datadir}/openvswitch/scripts/ovs-ctl
551%{_datadir}/openvswitch/scripts/ovs-kmod-ctl
552%{_datadir}/openvswitch/scripts/ovs-systemd-reload
553%config %{_datadir}/openvswitch/vswitch.ovsschema
554%config %{_datadir}/openvswitch/vtep.ovsschema
555%{_bindir}/ovs-appctl
556%{_bindir}/ovs-docker
557%{_bindir}/ovs-dpctl
558%{_bindir}/ovs-dpctl-top
559%{_bindir}/ovs-ofctl
560%{_bindir}/ovs-vsctl
561%{_bindir}/ovsdb-client
562%{_bindir}/ovsdb-tool
563%{_bindir}/ovs-testcontroller
564%{_bindir}/ovs-pki
565%{_bindir}/vtep-ctl
566%{_sbindir}/ovs-bugtool
567%{_sbindir}/ovs-vswitchd
568%{_sbindir}/ovsdb-server
569%{_mandir}/man1/ovsdb-client.1*
570%{_mandir}/man1/ovsdb-server.1*
571%{_mandir}/man1/ovsdb-tool.1*
572%{_mandir}/man5/ovsdb-server.5*
573%{_mandir}/man5/ovs-vswitchd.conf.db.5*
574%{_mandir}/man5/ovsdb.5*
575%{_mandir}/man5/vtep.5*
576%{_mandir}/man7/ovs-fields.7*
577%{_mandir}/man7/ovsdb.7*
578%{_mandir}/man7/ovsdb-server.7*
579%{_mandir}/man8/vtep-ctl.8*
580%{_mandir}/man8/ovs-appctl.8*
581%{_mandir}/man8/ovs-bugtool.8*
582%{_mandir}/man8/ovs-ctl.8*
583%{_mandir}/man8/ovs-dpctl.8*
584%{_mandir}/man8/ovs-dpctl-top.8*
585%{_mandir}/man8/ovs-kmod-ctl.8*
586%{_mandir}/man8/ovs-ofctl.8*
587%{_mandir}/man8/ovs-pki.8*
588%{_mandir}/man8/ovs-vsctl.8*
589%{_mandir}/man8/ovs-vswitchd.8*
590%{_mandir}/man8/ovs-parse-backtrace.8*
591%{_mandir}/man8/ovs-testcontroller.8*
592%if %{with dpdk}
593%{_prefix}/lib/udev/rules.d/91-vfio.rules
594%endif
595%doc NOTICE README.rst NEWS rhel/README.RHEL.rst
596/var/lib/openvswitch
597%attr(750,openvswitch,openvswitch) /var/log/openvswitch
598%ghost %attr(755,root,root) %{_rundir}/openvswitch
599
600%files ovn-docker
601%{_bindir}/ovn-docker-overlay-driver
602%{_bindir}/ovn-docker-underlay-driver
603
604%files ovn-common
605%{_bindir}/ovn-nbctl
606%{_bindir}/ovn-sbctl
607%{_bindir}/ovn-trace
608%{_bindir}/ovn-detrace
609%{_datadir}/openvswitch/scripts/ovn-ctl
610%{_datadir}/openvswitch/scripts/ovndb-servers.ocf
611%{_datadir}/openvswitch/scripts/ovn-bugtool-nbctl-show
612%{_datadir}/openvswitch/scripts/ovn-bugtool-sbctl-lflow-list
613%{_datadir}/openvswitch/scripts/ovn-bugtool-sbctl-show
614%{_mandir}/man8/ovn-ctl.8*
615%{_mandir}/man8/ovn-nbctl.8*
616%{_mandir}/man8/ovn-trace.8*
617%{_mandir}/man1/ovn-detrace.1*
618%{_mandir}/man7/ovn-architecture.7*
619%{_mandir}/man8/ovn-sbctl.8*
620%{_mandir}/man5/ovn-nb.5*
621%{_mandir}/man5/ovn-sb.5*
622%{_prefix}/lib/ocf/resource.d/ovn/ovndb-servers
623
624%files ovn-central
625%{_bindir}/ovn-northd
626%{_mandir}/man8/ovn-northd.8*
627%config %{_datadir}/openvswitch/ovn-nb.ovsschema
628%config %{_datadir}/openvswitch/ovn-sb.ovsschema
629%{_unitdir}/ovn-northd.service
630%{_prefix}/lib/firewalld/services/ovn-central-firewall-service.xml
631
632%files ovn-host
633%{_bindir}/ovn-controller
634%{_mandir}/man8/ovn-controller.8*
635%{_unitdir}/ovn-controller.service
636%{_prefix}/lib/firewalld/services/ovn-host-firewall-service.xml
637
638%files ovn-vtep
639%{_bindir}/ovn-controller-vtep
640%{_mandir}/man8/ovn-controller-vtep.8*
641%{_unitdir}/ovn-controller-vtep.service
642
643%changelog
644* Wed Jan 12 2011 Ralf Spenneberg <ralf@os-s.net>
645- First build on F14