]> git.proxmox.com Git - mirror_ovs.git/blob - rhel/openvswitch-fedora.spec.in
b45e018f5ee94599e3abcd7c83c1f3267e3db1fa
[mirror_ovs.git] / rhel / openvswitch-fedora.spec.in
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
56 Name: openvswitch
57 Summary: Open vSwitch
58 Group: System Environment/Daemons
59 URL: http://www.openvswitch.org/
60 Version: @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)
65 License: ASL 2.0 and LGPLv2+ and SISSL
66 Release: 1%{?dist}
67 Source: http://openvswitch.org/releases/%{name}-%{version}.tar.gz
68
69 BuildRequires: autoconf automake libtool
70 BuildRequires: systemd-units openssl openssl-devel
71 BuildRequires: %{_py2}-devel
72 %if 0%{?fedora} > 22 || %{with build_python3}
73 BuildRequires: python3-devel
74 %endif
75 BuildRequires: desktop-file-utils
76 BuildRequires: groff graphviz
77 BuildRequires: checkpolicy, selinux-policy-devel
78 BuildRequires: %{_py2}-sphinx
79 # make check dependencies
80 BuildRequires: %{_py2}-twisted%{?rhel:-core} %{_py2}-zope-interface %{_py2}-six
81 BuildRequires: procps-ng
82 %if %{with libcapng}
83 BuildRequires: libcap-ng libcap-ng-devel
84 %endif
85 %if %{with dpdk}
86 BuildRequires: libpcap-devel numactl-devel
87 BuildRequires: dpdk-devel >= 17.05.1
88 Provides: %{name}-dpdk = %{version}-%{release}
89 %endif
90
91 Requires: openssl hostname iproute module-init-tools
92 #Upstream kernel commit 4f647e0a3c37b8d5086214128614a136064110c3
93 #Requires: kernel >= 3.15.0-0
94
95 Requires(post): /usr/bin/getent
96 Requires(post): /usr/sbin/useradd
97 Requires(post): /usr/bin/sed
98 %if %{with dpdk}
99 Requires(post): /usr/sbin/usermod
100 Requires(post): /usr/sbin/groupadd
101 %endif
102 Requires(post): systemd-units
103 Requires(preun): systemd-units
104 Requires(postun): systemd-units
105 Obsoletes: openvswitch-controller <= 0:2.1.0-1
106
107 # to skip running checks, pass --without check
108 %bcond_without check
109 %bcond_with check_datapath_kernel
110
111 %description
112 Open vSwitch provides standard network bridging functions and
113 support for the OpenFlow protocol for remote per-flow control of
114 traffic.
115
116 %package selinux-policy
117 Summary: Open vSwitch SELinux policy
118 License: ASL 2.0
119 BuildArch: noarch
120 Requires: selinux-policy-targeted
121
122 %description selinux-policy
123 Tailored Open vSwitch SELinux policy
124
125 %package -n %{_py2}-openvswitch
126 Summary: Open vSwitch python2 bindings
127 License: ASL 2.0
128 BuildArch: noarch
129 Requires: %{_py2}
130 Requires: %{_py2}-six
131 %{?python_provide:%python_provide python2-openvswitch = %{version}-%{release}}
132 %description -n %{_py2}-openvswitch
133 Python bindings for the Open vSwitch database
134
135 %if 0%{?fedora} > 22 || %{with build_python3}
136 %package -n python3-openvswitch
137 Summary: Open vSwitch python3 bindings
138 License: ASL 2.0
139 BuildArch: noarch
140 Requires: python3
141 Requires: python3-six
142 %{?python_provide:%python_provide python3-openvswitch = %{version}-%{release}}
143
144 %description -n python3-openvswitch
145 Python bindings for the Open vSwitch database
146 %endif
147
148 %package test
149 Summary: Open vSwitch testing utilities
150 License: ASL 2.0
151 BuildArch: noarch
152 Requires: %{_py2}-openvswitch = %{version}-%{release}
153 Requires: %{_py2} %{_py2}-twisted
154
155 %description test
156 Utilities that are useful to diagnose performance and connectivity
157 issues in Open vSwitch setup.
158
159 %package devel
160 Summary: Open vSwitch OpenFlow development package (library, headers)
161 License: ASL 2.0
162 Provides: openvswitch-static = %{version}-%{release}
163
164 %description devel
165 This provides static library, libopenswitch.a and the openvswitch header
166 files needed to build an external application.
167
168 %package ovn-central
169 Summary: Open vSwitch - Open Virtual Network support
170 License: ASL 2.0
171 Requires: openvswitch openvswitch-ovn-common
172 Requires: firewalld-filesystem
173
174 %description ovn-central
175 OVN, the Open Virtual Network, is a system to support virtual network
176 abstraction. OVN complements the existing capabilities of OVS to add
177 native support for virtual network abstractions, such as virtual L2 and L3
178 overlays and security groups.
179
180 %package ovn-host
181 Summary: Open vSwitch - Open Virtual Network support
182 License: ASL 2.0
183 Requires: openvswitch openvswitch-ovn-common
184 Requires: firewalld-filesystem
185
186 %description ovn-host
187 OVN, the Open Virtual Network, is a system to support virtual network
188 abstraction. OVN complements the existing capabilities of OVS to add
189 native support for virtual network abstractions, such as virtual L2 and L3
190 overlays and security groups.
191
192 %package ovn-vtep
193 Summary: Open vSwitch - Open Virtual Network support
194 License: ASL 2.0
195 Requires: openvswitch openvswitch-ovn-common
196
197 %description ovn-vtep
198 OVN vtep controller
199
200 %package ovn-common
201 Summary: Open vSwitch - Open Virtual Network support
202 License: ASL 2.0
203 Requires: openvswitch
204
205 %description ovn-common
206 Utilities that are use to diagnose and manage the OVN components.
207
208 %package ovn-docker
209 Summary: Open vSwitch - Open Virtual Network support
210 License: ASL 2.0
211 Requires: openvswitch openvswitch-ovn-common %{_py2}-openvswitch
212
213 %description ovn-docker
214 Docker network plugins for OVN.
215
216 %prep
217 %setup -q
218
219 %build
220 %configure \
221 %if %{with libcapng}
222 --enable-libcapng \
223 %else
224 --disable-libcapng \
225 %endif
226 %if %{with dpdk}
227 --with-dpdk=$(dirname %{_datadir}/dpdk/*/.config) \
228 %endif
229 --enable-ssl \
230 --with-pkidir=%{_sharedstatedir}/openvswitch/pki
231
232 /usr/bin/perl build-aux/dpdkstrip.pl \
233 %if %{with dpdk}
234 --dpdk \
235 %else
236 --nodpdk \
237 %endif
238 < rhel/usr_lib_systemd_system_ovs-vswitchd.service.in \
239 > rhel/usr_lib_systemd_system_ovs-vswitchd.service
240
241 make %{?_smp_mflags}
242 make selinux/openvswitch-custom.te
243 cd selinux
244 make -f %{_datadir}/selinux/devel/Makefile
245
246 %install
247 rm -rf $RPM_BUILD_ROOT
248 make install DESTDIR=$RPM_BUILD_ROOT
249
250 install -d -m 0755 $RPM_BUILD_ROOT%{_rundir}/openvswitch
251 install -d -m 0750 $RPM_BUILD_ROOT%{_localstatedir}/log/openvswitch
252 install -d -m 0755 $RPM_BUILD_ROOT%{_sysconfdir}/openvswitch
253
254 %if %{with dpdk}
255 install -p -D -m 0644 rhel/usr_lib_udev_rules.d_91-vfio.rules \
256 $RPM_BUILD_ROOT%{_prefix}/lib/udev/rules.d/91-vfio.rules
257 %endif
258
259 install -p -D -m 0644 \
260 rhel/usr_share_openvswitch_scripts_systemd_sysconfig.template \
261 $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/openvswitch
262 for service in openvswitch ovsdb-server ovs-vswitchd ovs-delete-transient-ports \
263 ovn-controller ovn-controller-vtep ovn-northd; do
264 install -p -D -m 0644 \
265 rhel/usr_lib_systemd_system_${service}.service \
266 $RPM_BUILD_ROOT%{_unitdir}/${service}.service
267 done
268 install -m 0755 rhel/etc_init.d_openvswitch \
269 $RPM_BUILD_ROOT%{_datadir}/openvswitch/scripts/openvswitch.init
270
271 install -p -D -m 0644 rhel/etc_openvswitch_default.conf \
272 $RPM_BUILD_ROOT/%{_sysconfdir}/openvswitch/default.conf
273
274 install -p -D -m 0644 rhel/etc_logrotate.d_openvswitch \
275 $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d/openvswitch
276
277 install -m 0644 vswitchd/vswitch.ovsschema \
278 $RPM_BUILD_ROOT/%{_datadir}/openvswitch/vswitch.ovsschema
279
280 install -d -m 0755 $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/network-scripts/
281 install -p -m 0755 rhel/etc_sysconfig_network-scripts_ifdown-ovs \
282 $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/network-scripts/ifdown-ovs
283 install -p -m 0755 rhel/etc_sysconfig_network-scripts_ifup-ovs \
284 $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/network-scripts/ifup-ovs
285
286 install -d -m 0755 $RPM_BUILD_ROOT%{python2_sitelib}
287 cp -a $RPM_BUILD_ROOT/%{_datadir}/openvswitch/python/* \
288 $RPM_BUILD_ROOT%{python2_sitelib}
289
290 %if 0%{?fedora} > 22 || %{with build_python3}
291 install -d -m 0755 $RPM_BUILD_ROOT%{python3_sitelib}
292 cp -a $RPM_BUILD_ROOT/%{_datadir}/openvswitch/python/ovs \
293 $RPM_BUILD_ROOT%{python3_sitelib}
294 %endif
295
296 rm -rf $RPM_BUILD_ROOT/%{_datadir}/openvswitch/python/
297
298 install -d -m 0755 $RPM_BUILD_ROOT/%{_sharedstatedir}/openvswitch
299
300 touch $RPM_BUILD_ROOT%{_sysconfdir}/openvswitch/conf.db
301 touch $RPM_BUILD_ROOT%{_sysconfdir}/openvswitch/.conf.db.~lock~
302 touch $RPM_BUILD_ROOT%{_sysconfdir}/openvswitch/system-id.conf
303
304 install -p -m 644 -D selinux/openvswitch-custom.pp \
305 $RPM_BUILD_ROOT%{_datadir}/selinux/packages/%{name}/openvswitch-custom.pp
306
307 install -d $RPM_BUILD_ROOT%{_prefix}/lib/firewalld/services/
308 install -p -m 0644 rhel/usr_lib_firewalld_services_ovn-central-firewall-service.xml \
309 $RPM_BUILD_ROOT%{_prefix}/lib/firewalld/services/ovn-central-firewall-service.xml
310 install -p -m 0644 rhel/usr_lib_firewalld_services_ovn-host-firewall-service.xml \
311 $RPM_BUILD_ROOT%{_prefix}/lib/firewalld/services/ovn-host-firewall-service.xml
312
313 install -d -m 0755 $RPM_BUILD_ROOT%{_prefix}/lib/ocf/resource.d/ovn
314 ln -s %{_datadir}/openvswitch/scripts/ovndb-servers.ocf \
315 $RPM_BUILD_ROOT%{_prefix}/lib/ocf/resource.d/ovn/ovndb-servers
316
317 install -p -D -m 0755 \
318 rhel/usr_share_openvswitch_scripts_ovs-systemd-reload \
319 $RPM_BUILD_ROOT%{_datadir}/openvswitch/scripts/ovs-systemd-reload
320
321 # remove unpackaged files
322 rm -f $RPM_BUILD_ROOT%{_bindir}/ovs-parse-backtrace \
323 $RPM_BUILD_ROOT%{_sbindir}/ovs-vlan-bug-workaround \
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
343 rm -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 %post
390 if [ $1 -eq 1 ]; then
391 getent passwd openvswitch >/dev/null || \
392 useradd -r -d / -s /sbin/nologin -c "Open vSwitch Daemons" openvswitch
393
394 sed -i 's:^#OVS_USER_ID=:OVS_USER_ID=:' /etc/sysconfig/openvswitch
395
396 %if %{with dpdk}
397 getent group hugetlbfs >/dev/null || \
398 groupadd hugetlbfs
399 usermod -a -G hugetlbfs openvswitch
400 sed -i \
401 's@OVS_USER_ID="openvswitch:openvswitch"@OVS_USER_ID="openvswitch:hugetlbfs"@'\
402 /etc/sysconfig/openvswitch
403 %endif
404
405 # In the case of upgrade, this is not needed.
406 chown -R openvswitch:openvswitch /etc/openvswitch
407 fi
408
409 %if 0%{?systemd_post:1}
410 %systemd_post %{name}.service
411 %else
412 # Package install, not upgrade
413 if [ $1 -eq 1 ]; then
414 /bin/systemctl daemon-reload >dev/null || :
415 fi
416 %endif
417
418 %post ovn-central
419 %if 0%{?systemd_post:1}
420 %systemd_post ovn-northd.service
421 %else
422 # Package install, not upgrade
423 if [ $1 -eq 1 ]; then
424 /bin/systemctl daemon-reload >dev/null || :
425 fi
426 %endif
427
428 %post ovn-host
429 %if 0%{?systemd_post:1}
430 %systemd_post ovn-controller.service
431 %else
432 # Package install, not upgrade
433 if [ $1 -eq 1 ]; then
434 /bin/systemctl daemon-reload >dev/null || :
435 fi
436 %endif
437
438 %post ovn-vtep
439 %if 0%{?systemd_post:1}
440 %systemd_post ovn-controller-vtep.service
441 %else
442 # Package install, not upgrade
443 if [ $1 -eq 1 ]; then
444 /bin/systemctl daemon-reload >dev/null || :
445 fi
446 %endif
447
448 %post selinux-policy
449 /usr/sbin/semodule -i %{_datadir}/selinux/packages/%{name}/openvswitch-custom.pp &> /dev/null || :
450
451 %postun
452 %if 0%{?systemd_postun:1}
453 %systemd_postun %{name}.service
454 %else
455 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
456 %endif
457
458 %postun ovn-central
459 %if 0%{?systemd_postun:1}
460 %systemd_postun ovn-northd.service
461 %else
462 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
463 %endif
464
465 %postun ovn-host
466 %if 0%{?systemd_postun:1}
467 %systemd_postun ovn-controller.service
468 %else
469 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
470 %endif
471
472 %postun ovn-vtep
473 %if 0%{?systemd_postun:1}
474 %systemd_postun ovn-controller-vtep.service
475 %else
476 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
477 %endif
478
479 %postun selinux-policy
480 if [ $1 -eq 0 ] ; then
481 /usr/sbin/semodule -r openvswitch-custom &> /dev/null || :
482 fi
483
484 %files selinux-policy
485 %defattr(-,root,root)
486 %{_datadir}/selinux/packages/%{name}/openvswitch-custom.pp
487
488 %files -n %{_py2}-openvswitch
489 %{python2_sitelib}/ovs
490 %doc COPYING
491
492 %if 0%{?fedora} > 22 || %{with build_python3}
493 %files -n python3-openvswitch
494 %{python3_sitelib}/ovs
495 %doc COPYING
496 %endif
497
498 %files test
499 %{_bindir}/ovs-test
500 %{_bindir}/ovs-vlan-test
501 %{_bindir}/ovs-l3ping
502 %{_bindir}/ovs-pcap
503 %{_bindir}/ovs-tcpdump
504 %{_bindir}/ovs-tcpundump
505 %{_mandir}/man8/ovs-test.8*
506 %{_mandir}/man8/ovs-vlan-test.8*
507 %{_mandir}/man8/ovs-l3ping.8*
508 %{_mandir}/man1/ovs-pcap.1*
509 %{_mandir}/man8/ovs-tcpdump.8*
510 %{_mandir}/man1/ovs-tcpundump.1*
511 %{python2_sitelib}/ovstest
512
513 %files devel
514 %{_libdir}/*.a
515 %{_libdir}/*.la
516 %{_libdir}/pkgconfig/*.pc
517 %{_includedir}/openvswitch/*
518 %{_includedir}/openflow/*
519 %{_includedir}/ovn/*
520
521 %files
522 %defattr(-,root,root)
523 %{_sysconfdir}/bash_completion.d/ovs-appctl-bashcomp.bash
524 %{_sysconfdir}/bash_completion.d/ovs-vsctl-bashcomp.bash
525 %dir %{_sysconfdir}/openvswitch
526 %{_sysconfdir}/openvswitch/default.conf
527 %config %ghost %{_sysconfdir}/openvswitch/conf.db
528 %ghost %{_sysconfdir}/openvswitch/.conf.db.~lock~
529 %config %ghost %{_sysconfdir}/openvswitch/system-id.conf
530 %config(noreplace) %{_sysconfdir}/sysconfig/openvswitch
531 %config(noreplace) %{_sysconfdir}/logrotate.d/openvswitch
532 %{_unitdir}/openvswitch.service
533 %{_unitdir}/ovsdb-server.service
534 %{_unitdir}/ovs-vswitchd.service
535 %{_unitdir}/ovs-delete-transient-ports.service
536 %{_datadir}/openvswitch/scripts/openvswitch.init
537 %{_sysconfdir}/sysconfig/network-scripts/ifup-ovs
538 %{_sysconfdir}/sysconfig/network-scripts/ifdown-ovs
539 %{_datadir}/openvswitch/bugtool-plugins/
540 %{_datadir}/openvswitch/scripts/ovs-bugtool-*
541 %{_datadir}/openvswitch/scripts/ovs-check-dead-ifs
542 %{_datadir}/openvswitch/scripts/ovs-lib
543 %{_datadir}/openvswitch/scripts/ovs-save
544 %{_datadir}/openvswitch/scripts/ovs-vtep
545 %{_datadir}/openvswitch/scripts/ovs-ctl
546 %{_datadir}/openvswitch/scripts/ovs-systemd-reload
547 %config %{_datadir}/openvswitch/vswitch.ovsschema
548 %config %{_datadir}/openvswitch/vtep.ovsschema
549 %{_bindir}/ovs-appctl
550 %{_bindir}/ovs-docker
551 %{_bindir}/ovs-dpctl
552 %{_bindir}/ovs-dpctl-top
553 %{_bindir}/ovs-ofctl
554 %{_bindir}/ovs-vsctl
555 %{_bindir}/ovsdb-client
556 %{_bindir}/ovsdb-tool
557 %{_bindir}/ovs-testcontroller
558 %{_bindir}/ovs-pki
559 %{_bindir}/vtep-ctl
560 %{_sbindir}/ovs-bugtool
561 %{_sbindir}/ovs-vswitchd
562 %{_sbindir}/ovsdb-server
563 %{_mandir}/man1/ovsdb-client.1*
564 %{_mandir}/man1/ovsdb-server.1*
565 %{_mandir}/man1/ovsdb-tool.1*
566 %{_mandir}/man5/ovs-vswitchd.conf.db.5*
567 %{_mandir}/man5/vtep.5*
568 %{_mandir}/man7/ovs-fields.7*
569 %{_mandir}/man8/vtep-ctl.8*
570 %{_mandir}/man8/ovs-appctl.8*
571 %{_mandir}/man8/ovs-bugtool.8*
572 %{_mandir}/man8/ovs-ctl.8*
573 %{_mandir}/man8/ovs-dpctl.8*
574 %{_mandir}/man8/ovs-dpctl-top.8*
575 %{_mandir}/man8/ovs-ofctl.8*
576 %{_mandir}/man8/ovs-pki.8*
577 %{_mandir}/man8/ovs-vsctl.8*
578 %{_mandir}/man8/ovs-vswitchd.8*
579 %{_mandir}/man8/ovs-parse-backtrace.8*
580 %{_mandir}/man8/ovs-testcontroller.8*
581 %if %{with dpdk}
582 %{_prefix}/lib/udev/rules.d/91-vfio.rules
583 %endif
584 %doc COPYING NOTICE README.rst NEWS rhel/README.RHEL.rst
585 /var/lib/openvswitch
586 %attr(755,-,-) /var/log/openvswitch
587 %ghost %attr(755,root,root) %{_rundir}/openvswitch
588
589 %files ovn-docker
590 %{_bindir}/ovn-docker-overlay-driver
591 %{_bindir}/ovn-docker-underlay-driver
592
593 %files ovn-common
594 %{_bindir}/ovn-nbctl
595 %{_bindir}/ovn-sbctl
596 %{_bindir}/ovn-trace
597 %{_bindir}/ovn-detrace
598 %{_datadir}/openvswitch/scripts/ovn-ctl
599 %{_datadir}/openvswitch/scripts/ovndb-servers.ocf
600 %{_datadir}/openvswitch/scripts/ovn-bugtool-nbctl-show
601 %{_datadir}/openvswitch/scripts/ovn-bugtool-sbctl-lflow-list
602 %{_datadir}/openvswitch/scripts/ovn-bugtool-sbctl-show
603 %{_mandir}/man8/ovn-ctl.8*
604 %{_mandir}/man8/ovn-nbctl.8*
605 %{_mandir}/man8/ovn-trace.8*
606 %{_mandir}/man1/ovn-detrace.1*
607 %{_mandir}/man7/ovn-architecture.7*
608 %{_mandir}/man8/ovn-sbctl.8*
609 %{_mandir}/man5/ovn-nb.5*
610 %{_mandir}/man5/ovn-sb.5*
611 %{_prefix}/lib/ocf/resource.d/ovn/ovndb-servers
612
613 %files ovn-central
614 %{_bindir}/ovn-northd
615 %{_mandir}/man8/ovn-northd.8*
616 %config %{_datadir}/openvswitch/ovn-nb.ovsschema
617 %config %{_datadir}/openvswitch/ovn-sb.ovsschema
618 %{_unitdir}/ovn-northd.service
619 %{_prefix}/lib/firewalld/services/ovn-central-firewall-service.xml
620
621 %files ovn-host
622 %{_bindir}/ovn-controller
623 %{_mandir}/man8/ovn-controller.8*
624 %{_unitdir}/ovn-controller.service
625 %{_prefix}/lib/firewalld/services/ovn-host-firewall-service.xml
626
627 %files ovn-vtep
628 %{_bindir}/ovn-controller-vtep
629 %{_mandir}/man8/ovn-controller-vtep.8*
630 %{_unitdir}/ovn-controller-vtep.service
631
632 %changelog
633 * Wed Jan 12 2011 Ralf Spenneberg <ralf@os-s.net>
634 - First build on F14