Deleted backported patch 0007 from spec for RPM.
[openstack-build/neutron-build.git] / rpm / SPECS / openstack-neutron.spec
1 %global release_name icehouse
2
3 Name:           openstack-neutron
4 Version:        2014.1.1
5 Release:        1%{?dist}
6 Provides:       openstack-quantum = %{version}-%{release}
7 Obsoletes:      openstack-quantum < 2013.2-0.3.b3
8
9 Summary:        OpenStack Networking Service
10
11 Group:          Applications/System
12 License:        ASL 2.0
13 URL:            http://launchpad.net/neutron/
14
15 Source0:        http://launchpad.net/neutron/%{release_name}/%{version}/+download/neutron-%{version}.tar.gz
16 Source1:        neutron.logrotate
17 Source2:        neutron-sudoers
18
19 Source10:       neutron-server.init
20 Source20:       neutron-server.upstart
21 Source11:       neutron-linuxbridge-agent.init
22 Source21:       neutron-linuxbridge-agent.upstart
23 Source12:       neutron-openvswitch-agent.init
24 Source22:       neutron-openvswitch-agent.upstart
25 Source13:       neutron-ryu-agent.init
26 Source23:       neutron-ryu-agent.upstart
27 Source14:       neutron-nec-agent.init
28 Source24:       neutron-nec-agent.upstart
29 Source15:       neutron-dhcp-agent.init
30 Source25:       neutron-dhcp-agent.upstart
31 Source16:       neutron-l3-agent.init
32 Source26:       neutron-l3-agent.upstart
33 Source17:       neutron-metadata-agent.init
34 Source27:       neutron-metadata-agent.upstart
35 Source18:       neutron-ovs-cleanup.init
36 Source28:       neutron-ovs-cleanup.upstart
37 Source19:       neutron-lbaas-agent.init
38 Source29:       neutron-lbaas-agent.upstart
39 Source30:       neutron-mlnx-agent.init
40 Source40:       neutron-mlnx-agent.upstart
41 Source31:       neutron-vpn-agent.init
42 Source41:       neutron-vpn-agent.upstart
43 Source32:       neutron-metering-agent.init
44 Source42:       neutron-metering-agent.upstart
45
46 Source90:       neutron-dist.conf
47 #
48 # patches_base=2014.1.1+1
49 #
50 Patch0001: 0001-use-parallel-installed-versions-in-RHEL6.patch
51 Patch0002: 0002-Remove-dnsmasq-version-warning.patch
52 Patch0003: 0003-remove-runtime-dependency-on-pbr.patch
53 Patch0004: 0004-Sync-service-and-systemd-modules-from-oslo-incubator.patch
54 Patch0005: 0005-Removed-signing_dir-from-neutron.conf.patch
55 Patch0006: 0006-Remove-kernel-version-check-for-OVS-VXLAN.patch
56
57 BuildArch:      noarch
58
59 BuildRequires:  python2-devel
60 BuildRequires:  python-setuptools
61 # Build require these parallel versions
62 # as setup.py build imports neutron.openstack.common.setup
63 # which will then check for these
64 BuildRequires:  python-sqlalchemy0.7
65 BuildRequires:  python-webob1.2
66 BuildRequires:  python-paste-deploy1.5
67 BuildRequires:  python-routes1.12
68 BuildRequires:  python-jinja2-26
69 BuildRequires:  dos2unix
70 BuildRequires:  python-pbr
71 BuildRequires:  python-d2to1
72
73 Requires:       dnsmasq-utils
74 Requires:       python-neutron = %{version}-%{release}
75 Requires:       python-oslo-rootwrap
76 Requires:       openstack-utils
77
78 Requires(post):         chkconfig
79 Requires(postun):       initscripts
80 Requires(preun):        chkconfig
81 Requires(preun):        initscripts
82 Requires(pre):          shadow-utils
83
84 # dnsmasq is not a hard requirement, but is currently the only option
85 # when neutron-dhcp-agent is deployed.
86 Requires:       dnsmasq
87
88
89 %description
90 Neutron is a virtual network service for Openstack. Just like
91 OpenStack Nova provides an API to dynamically request and configure
92 virtual servers, Neutron provides an API to dynamically request and
93 configure virtual networks. These networks connect "interfaces" from
94 other OpenStack services (e.g., virtual NICs from Nova VMs). The
95 Neutron API supports extensions to provide advanced network
96 capabilities (e.g., QoS, ACLs, network monitoring, etc.)
97
98
99 %package -n python-neutron
100 Summary:        Neutron Python libraries
101 Group:          Applications/System
102
103 Provides:       python-quantum = %{version}-%{release}
104 Obsoletes:      python-quantum < 2013.2-0.3.b3
105
106 Requires:       MySQL-python
107 Requires:       python-alembic
108 Requires:       python-amqplib
109 Requires:       python-anyjson
110 Requires:       python-babel
111 Requires:       python-eventlet
112 Requires:       python-greenlet
113 Requires:       python-httplib2 >= 0.7.5
114 Requires:       python-iso8601
115 Requires:       python-jinja2-26
116 Requires:       python-keystoneclient >= 0.7.0
117 Requires:       python-kombu
118 Requires:       python-lxml
119 Requires:       python-oslo-rootwrap
120 Requires:       python-paste-deploy1.5
121 Requires:       python-routes1.12
122 Requires:       python-sqlalchemy0.7 >= 0.7.8
123 Requires:       python-webob1.2 >= 1.2.3
124 Requires:       python-netaddr
125 Requires:       python-oslo-config >= 1:1.2.0
126 Requires:       python-qpid
127 Requires:       python-neutronclient >= 2.3.4
128 Requires:       python-stevedore
129 Requires:       python-six >= 1.4.1
130 # requires.txt six >=1.5.2 actually
131 Requires:       python-novaclient >= 1:2.17.0
132 Requires:       sudo
133
134 %description -n python-neutron
135 Neutron provides an API to dynamically request and configure virtual
136 networks.
137
138 This package contains the neutron Python library.
139
140
141 %package bigswitch
142 Summary:        Neutron Big Switch plugin
143 Group:          Applications/System
144
145 Provides:       openstack-quantum-bigswitch = %{version}-%{release}
146 Obsoletes:      openstack-quantum-bigswitch < 2013.2-0.3.b3
147
148 Requires:       openstack-neutron = %{version}-%{release}
149
150
151 %description bigswitch
152 Neutron provides an API to dynamically request and configure virtual
153 networks.
154
155 This package contains the neutron plugin that implements virtual
156 networks using the FloodLight Openflow Controller or the Big Switch
157 Networks Controller.
158
159
160 %package brocade
161 Summary:        Neutron Brocade plugin
162 Group:          Applications/System
163
164 Provides:       openstack-quantum-brocade = %{version}-%{release}
165 Obsoletes:      openstack-quantum-brocade < 2013.2-0.3.b3
166
167 Requires:       openstack-neutron = %{version}-%{release}
168
169
170 %description brocade
171 Neutron provides an API to dynamically request and configure virtual
172 networks.
173
174 This package contains the neutron plugin that implements virtual
175 networks using Brocade VCS switches running NOS.
176
177
178 %package cisco
179 Summary:        Neutron Cisco plugin
180 Group:          Applications/System
181
182 Provides:       openstack-quantum-cisco = %{version}-%{release}
183 Obsoletes:      openstack-quantum-cisco < 2013.2-0.3.b3
184
185 Requires:       openstack-neutron = %{version}-%{release}
186 Requires:       python-configobj
187
188
189 %description cisco
190 Neutron provides an API to dynamically request and configure virtual
191 networks.
192
193 This package contains the neutron plugin that implements virtual
194 networks using Cisco UCS and Nexus.
195
196
197 %package hyperv
198 Summary:        Neutron Hyper-V plugin
199 Group:          Applications/System
200
201 Provides:       openstack-quantum-hyperv = %{version}-%{release}
202 Obsoletes:      openstack-quantum-hyperv < 2013.2-0.3.b3
203
204 Requires:       openstack-neutron = %{version}-%{release}
205
206
207 %description hyperv
208 Neutron provides an API to dynamically request and configure virtual
209 networks.
210
211 This package contains the neutron plugin that implements virtual
212 networks using Microsoft Hyper-V.
213
214
215 %package ibm
216 Summary:        Neutron IBM plugin
217 Group:          Applications/System
218
219 Requires:       openstack-neutron = %{version}-%{release}
220
221
222 %description ibm
223 Neutron provides an API to dynamically request and configure virtual
224 networks.
225
226 This package contains the neutron plugin that implements virtual
227 networks from IBM.
228
229
230 %package linuxbridge
231 Summary:        Neutron linuxbridge plugin
232 Group:          Applications/System
233
234 Provides:       openstack-quantum-linuxbridge = %{version}-%{release}
235 Obsoletes:      openstack-quantum-linuxbridge < 2013.2-0.3.b3
236
237 Requires:       bridge-utils
238 Requires:       openstack-neutron = %{version}-%{release}
239
240
241 %description linuxbridge
242 Neutron provides an API to dynamically request and configure virtual
243 networks.
244
245 This package contains the neutron plugin that implements virtual
246 networks as VLANs using Linux bridging.
247
248
249 %package midonet
250 Summary:        Neutron MidoNet plugin
251 Group:          Applications/System
252
253 Provides:       openstack-quantum-midonet = %{version}-%{release}
254 Obsoletes:      openstack-quantum-midonet < 2013.2-0.3.b3
255
256 Requires:       openstack-neutron = %{version}-%{release}
257
258
259 %description midonet
260 Neutron provides an API to dynamically request and configure virtual
261 networks.
262
263 This package contains the neutron plugin that implements virtual
264 networks using MidoNet from Midokura.
265
266
267 %package ml2
268 Summary:        Neutron ML2 plugin
269 Group:          Applications/System
270
271 Provides:       openstack-quantum-ml2 = %{version}-%{release}
272 Obsoletes:      openstack-quantum-ml2 < 2013.2-0.3.b3
273
274 Requires:       openstack-neutron = %{version}-%{release}
275
276
277 %description ml2
278 Neutron provides an API to dynamically request and configure virtual
279 networks.
280
281 This package contains a neutron plugin that allows the use of drivers
282 to support separately extensible sets of network types and the mechanisms
283 for accessing those types.
284
285
286 %package mellanox
287 Summary:        Neutron Mellanox plugin
288 Group:          Applications/System
289
290 Provides:       openstack-quantum-mellanox = %{version}-%{release}
291 Obsoletes:      openstack-quantum-mellanox < 2013.2-0.3.b3
292
293 Requires:       openstack-neutron = %{version}-%{release}
294
295
296 %description mellanox
297 This plugin implements Neutron v2 APIs with support for Mellanox embedded
298 switch functionality as part of the VPI (Ethernet/InfiniBand) HCA.
299
300
301 %package nuage
302 Summary:    Neutron Nuage plugin
303 Group:      Applications/System
304
305 Requires:   openstack-neutron = %{version}-%{release}
306
307
308 %description nuage
309 This plugin implements Neutron v2 APIs with support for Nuage Networks
310 Virtual Service Platform (VSP).
311
312
313 %package ofagent
314 Summary:        Neutron ofagent plugin from ryu project
315 Group:          Applications/system
316
317 Requires:       openstack-neutron = %{version}-%{release}
318
319 %description ofagent
320 This plugin implements Neutron v2 APIs with support for the ryu ofagent
321 plugin.
322
323
324 %package oneconvergence-nvsd
325 Summary:       Neutron One Convergence NVSD plugin
326 Group:         Applications/System
327
328 Requires:      openstack-neutron = %{version}-%{release}
329
330
331 %description oneconvergence-nvsd
332 Neutron provides an API to dynamnically request and configure virtual
333 networks.
334
335 This package contains the neutron plugin that implements virtual
336 networks using One Convergence NVSD
337
338
339 %package openvswitch
340 Summary:        Neutron openvswitch plugin
341 Group:          Applications/System
342
343 Provides:       openstack-quantum-openvswitch = %{version}-%{release}
344 Obsoletes:      openstack-quantum-openvswitch < 2013.2-0.3.b3
345
346 Requires:       openstack-neutron = %{version}-%{release}
347 Requires:       openvswitch
348
349
350 %description openvswitch
351 Neutron provides an API to dynamically request and configure virtual
352 networks.
353
354 This package contains the neutron plugin that implements virtual
355 networks using Open vSwitch.
356
357
358 %package plumgrid
359 Summary:        Neutron PLUMgrid plugin
360 Group:          Applications/System
361
362 Provides:       openstack-quantum-plumgrid = %{version}-%{release}
363 Obsoletes:      openstack-quantum-plumgrid < 2013.2-0.3.b3
364
365 Requires:       openstack-neutron = %{version}-%{release}
366
367
368 %description plumgrid
369 Neutron provides an API to dynamically request and configure virtual
370 networks.
371
372 This package contains the neutron plugin that implements virtual
373 networks using the PLUMgrid platform.
374
375
376 %package ryu
377 Summary:        Neutron Ryu plugin
378 Group:          Applications/System
379
380 Provides:       openstack-quantum-ryu = %{version}-%{release}
381 Obsoletes:      openstack-quantum-ryu < 2013.2-0.3.b3
382
383 Requires:       openstack-neutron = %{version}-%{release}
384
385
386 %description ryu
387 Neutron provides an API to dynamically request and configure virtual
388 networks.
389
390 This package contains the neutron plugin that implements virtual
391 networks using the Ryu Network Operating System.
392
393
394 %package nec
395 Summary:        Neutron NEC plugin
396 Group:          Applications/System
397
398 Provides:       openstack-quantum-nec = %{version}-%{release}
399 Obsoletes:      openstack-quantum-nec < 2013.2-0.3.b3
400
401 Requires:       openstack-neutron = %{version}-%{release}
402
403
404 %description nec
405 Neutron provides an API to dynamically request and configure virtual
406 networks.
407
408 This package contains the neutron plugin that implements virtual
409 networks using the NEC OpenFlow controller.
410
411
412 %package metaplugin
413 Summary:        Neutron meta plugin
414 Group:          Applications/System
415
416 Provides:       openstack-quantum-metaplugin = %{version}-%{release}
417 Obsoletes:      openstack-quantum-metaplugin < 2013.2-0.3.b3
418
419 Requires:       openstack-neutron = %{version}-%{release}
420
421
422 %description metaplugin
423 Neutron provides an API to dynamically request and configure virtual
424 networks.
425
426 This package contains the neutron plugin that implements virtual
427 networks using multiple other neutron plugins.
428
429
430 %package vmware
431 Summary:       Neutron VMWare NSX support
432 Group:         Applications/System
433
434 Requires:      openstack-neutron = %{version}-%{release}
435 Provides:      openstack-neutron-nicira = %{version}-%{release}
436 Obsoletes:     openstack-neutron-nicira < 2014.1-4
437
438 %description vmware
439 This package adds VMWare NSX support for neutron
440
441
442 %package metering-agent
443 Summary:        Neutron bandwidth metering agent
444 Group:          Applications/System
445
446 Requires:       openstack-neutron = %{version}-%{release}
447
448 %description metering-agent
449 Neutron provides an API to measure bandwidth utilization
450
451 This package contains the neutron agent responsible for generating bandwidth
452 utilization notifications.
453
454
455 %package vpn-agent
456 Summary:        Neutron VPNaaS agent
457 Group:          Applications/System
458
459 Requires:       openstack-neutron = %{version}-%{release}
460
461 %description vpn-agent
462 Neutron provides an API to implement VPN as a service
463
464 This package contains the neutron agent responsible for implenting VPNaaS with
465 IPSec.
466
467
468 %prep
469 %setup -q -n neutron-%{version}
470
471 %patch0001 -p1
472 %patch0002 -p1
473 %patch0003 -p1
474 %patch0004 -p1
475 %patch0005 -p1
476 %patch0006 -p1
477
478 find neutron -name \*.py -exec sed -i '/\/usr\/bin\/env python/{d;q}' {} +
479
480 # Ensure SOURCES.txt ends in a newline and if any patches have added files, append them to SOURCES.txt
481 [ -n "$(tail -c 1 < neutron.egg-info/SOURCES.txt)" ] && echo >> neutron.egg-info/SOURCES.txt
482 if ls %{_sourcedir}/*.patch >/dev/null 2>&1; then
483 awk '/^new file/ {split(a,files," ");print substr(files[3],3)} {a = $0}' %{_sourcedir}/*.patch >> neutron.egg-info/SOURCES.txt
484 fi
485
486 sed -i 's/RPMVERSION/%{version}/; s/RPMRELEASE/%{release}/' neutron/version.py
487
488 chmod 644 neutron/plugins/cisco/README
489
490 # Let's handle dependencies ourseleves
491 rm -f requirements.txt
492
493 %build
494 %{__python} setup.py build
495
496 # Loop through values in neutron-dist.conf and make sure that the values
497 # are substituted into the neutron.conf as comments. Some of these values
498 # will have been uncommented as a way of upstream setting defaults outside
499 # of the code. For service_provider and notification-driver, there are
500 # commented examples above uncommented settings, so this specifically
501 # skips those comments and instead comments out the actual settings and
502 # substitutes the correct default values.
503 while read name eq value; do
504   test "$name" && test "$value" || continue
505   if [ "$name" = "service_provider" -o "$name" = "notification_driver" ]; then
506     sed -ri "0,/^$name *=/{s!^$name *=.*!# $name = $value!}" etc/neutron.conf
507   else
508     sed -ri "0,/^(#)? *$name *=/{s!^(#)? *$name *=.*!# $name = $value!}" etc/neutron.conf
509   fi
510 done < %{SOURCE90}
511
512 %install
513 %{__python} setup.py install -O1 --skip-build --root %{buildroot}
514
515 # Remove unused files
516 rm -rf %{buildroot}%{python_sitelib}/bin
517 rm -rf %{buildroot}%{python_sitelib}/doc
518 rm -rf %{buildroot}%{python_sitelib}/tools
519 rm -rf %{buildroot}%{python_sitelib}/neutron/tests
520 rm -rf %{buildroot}%{python_sitelib}/neutron/plugins/*/tests
521 rm -f %{buildroot}%{python_sitelib}/neutron/plugins/*/run_tests.*
522 rm %{buildroot}/usr/etc/init.d/neutron-server
523
524 # Move rootwrap files to proper location
525 install -d -m 755 %{buildroot}%{_datarootdir}/neutron/rootwrap
526 mv %{buildroot}/usr/etc/neutron/rootwrap.d/*.filters %{buildroot}%{_datarootdir}/neutron/rootwrap
527
528 # Move config files to proper location
529 install -d -m 755 %{buildroot}%{_sysconfdir}/neutron
530 mv %{buildroot}/usr/etc/neutron/* %{buildroot}%{_sysconfdir}/neutron
531 mv %{buildroot}%{_sysconfdir}/neutron/api-paste.ini %{buildroot}%{_datadir}/neutron/api-paste.ini
532 chmod 640  %{buildroot}%{_sysconfdir}/neutron/plugins/*/*.ini
533
534 # TODO: remove this once the plugin is separately packaged
535 rm %{buildroot}%{_sysconfdir}/neutron/plugins/embrane/heleos_conf.ini
536
537 # Install logrotate
538 install -p -D -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/logrotate.d/openstack-neutron
539
540 # Install sudoers
541 install -p -D -m 440 %{SOURCE2} %{buildroot}%{_sysconfdir}/sudoers.d/neutron
542
543 # Install sysv init scripts
544 install -p -D -m 755 %{SOURCE10} %{buildroot}%{_initrddir}/neutron-server
545 install -p -D -m 755 %{SOURCE11} %{buildroot}%{_initrddir}/neutron-linuxbridge-agent
546 install -p -D -m 755 %{SOURCE12} %{buildroot}%{_initrddir}/neutron-openvswitch-agent
547 install -p -D -m 755 %{SOURCE13} %{buildroot}%{_initrddir}/neutron-ryu-agent
548 install -p -D -m 755 %{SOURCE14} %{buildroot}%{_initrddir}/neutron-nec-agent
549 install -p -D -m 755 %{SOURCE15} %{buildroot}%{_initrddir}/neutron-dhcp-agent
550 install -p -D -m 755 %{SOURCE16} %{buildroot}%{_initrddir}/neutron-l3-agent
551 install -p -D -m 755 %{SOURCE17} %{buildroot}%{_initrddir}/neutron-metadata-agent
552 install -p -D -m 755 %{SOURCE18} %{buildroot}%{_initrddir}/neutron-ovs-cleanup
553 install -p -D -m 755 %{SOURCE19} %{buildroot}%{_initrddir}/neutron-lbaas-agent
554 install -p -D -m 755 %{SOURCE30} %{buildroot}%{_initrddir}/neutron-mlnx-agent
555 install -p -D -m 755 %{SOURCE31} %{buildroot}%{_initrddir}/neutron-vpn-agent
556 install -p -D -m 755 %{SOURCE32} %{buildroot}%{_initrddir}/neutron-metering-agent
557
558 # Setup directories
559 install -d -m 755 %{buildroot}%{_datadir}/neutron
560 install -d -m 755 %{buildroot}%{_sharedstatedir}/neutron
561 install -d -m 755 %{buildroot}%{_localstatedir}/log/neutron
562 install -d -m 755 %{buildroot}%{_localstatedir}/run/neutron
563
564 # Install upstart jobs examples
565 install -p -m 644 %{SOURCE20} %{buildroot}%{_datadir}/neutron/
566 install -p -m 644 %{SOURCE21} %{buildroot}%{_datadir}/neutron/
567 install -p -m 644 %{SOURCE22} %{buildroot}%{_datadir}/neutron/
568 install -p -m 644 %{SOURCE23} %{buildroot}%{_datadir}/neutron/
569 install -p -m 644 %{SOURCE24} %{buildroot}%{_datadir}/neutron/
570 install -p -m 644 %{SOURCE25} %{buildroot}%{_datadir}/neutron/
571 install -p -m 644 %{SOURCE26} %{buildroot}%{_datadir}/neutron/
572 install -p -m 644 %{SOURCE27} %{buildroot}%{_datadir}/neutron/
573 install -p -m 644 %{SOURCE28} %{buildroot}%{_datadir}/neutron/
574 install -p -m 644 %{SOURCE29} %{buildroot}%{_datadir}/neutron/
575 install -p -m 644 %{SOURCE40} %{buildroot}%{_datadir}/neutron/
576 install -p -m 644 %{SOURCE41} %{buildroot}%{_datadir}/neutron/
577 install -p -m 644 %{SOURCE42} %{buildroot}%{_datadir}/neutron/
578
579 # Install dist conf
580 install -p -D -m 640 %{SOURCE90} %{buildroot}%{_datadir}/neutron/neutron-dist.conf
581
582 # Install version info file
583 cat > %{buildroot}%{_sysconfdir}/neutron/release <<EOF
584 [Neutron]
585 vendor = Fedora Project
586 product = OpenStack Neutron
587 package = %{release}
588 EOF
589
590 %pre
591 getent group neutron >/dev/null || groupadd -r neutron
592 getent passwd neutron >/dev/null || \
593     useradd -r -g neutron -d %{_sharedstatedir}/neutron -s /sbin/nologin \
594     -c "OpenStack Neutron Daemons" neutron
595 exit 0
596
597
598 %post
599 if [ $1 -eq 1 ] ; then
600     # Initial installation
601     /sbin/chkconfig --add neutron-server
602     for agent in dhcp l3 metadata lbaas; do
603       /sbin/chkconfig --add neutron-$agent-agent
604     done
605 fi
606
607 %preun
608 if [ $1 -eq 0 ] ; then
609     # Package removal, not upgrade
610     /sbin/service neutron-server stop >/dev/null 2>&1
611     /sbin/chkconfig --del neutron-server
612     for agent in dhcp l3 metadata lbaas; do
613       /sbin/service neutron-$agent-agent stop >/dev/null 2>&1
614       /sbin/chkconfig --del neutron-$agent-agent
615     done
616 fi
617
618 %postun
619 if [ $1 -ge 1 ] ; then
620     # Package upgrade, not uninstall
621     /sbin/service neutron-server condrestart >/dev/null 2>&1 || :
622     for agent in dhcp l3 metadata lbaas; do
623       /sbin/service neutron-$agent-agent condrestart >/dev/null 2>&1 || :
624     done
625 fi
626
627 %pretrans
628 if rpm --quiet -q openstack-quantum; then
629     mkdir -p  %{_localstatedir}/lib/rpm-state/
630
631     # Create a script for restoring init script enabling that we can also
632     # use as a flag to detect quantum -> grizzly upgrades in %posttrans
633     chkconfig --type sysv --list|grep ^quantum| \
634       sed -re 's/[0-6]:off//g
635                s/([0-6]):on\s*/\1/g
636                s/quantum/neutron/g
637                s/^([a-z0-9-]+)\s+$/chkconfig \1 off/
638                s/^([a-z0-9-]+)\s+([0-6]+)/chkconfig --levels \2 \1 on/' > %{_localstatedir}/lib/rpm-state/UPGRADE_FROM_QUANTUM
639 fi
640
641 %posttrans
642 # Handle migration from quantum -> neutron
643 if [ -e %{_localstatedir}/lib/rpm-state/UPGRADE_FROM_QUANTUM ];then
644     # Migrate existing config files
645     for i in `find /etc/quantum -name *.rpmsave`;do
646         new=${i//quantum/neutron}
647         new=${new/%.rpmsave/}
648         sed -e '/^sql_connection/ b
649                 /^admin_user/ b
650                 s/quantum/neutron/g
651                 s/Quantum/Neutron/g' $i > $new
652     done
653
654     # Re-create plugin.ini if it existed.
655     if [ -h %{_sysconfdir}/quantum/plugin.ini ];then
656         plugin_ini=$(readlink %{_sysconfdir}/quantum/plugin.ini)
657         ln -s ${plugin_ini//quantum/neutron} %{_sysconfdir}/neutron/plugin.ini
658     fi
659
660     # Stamp the existing db as grizzly to avoid neutron-server breaking db migration
661     neutron-db-manage --config-file %{_sysconfdir}/neutron/neutron.conf --config-file %{_sysconfdir}/neutron/plugin.ini stamp grizzly || :
662
663     # Restore the enablement of the various neutron services
664     source %{_localstatedir}/lib/rpm-state/UPGRADE_FROM_QUANTUM
665
666     rm -f %{_localstatedir}/lib/rpm-state/UPGRADE_FROM_QUANTUM
667 fi
668
669
670 %post linuxbridge
671 if [ $1 -eq 1 ] ; then
672     # Initial installation
673     /sbin/chkconfig --add neutron-linuxbridge-agent
674 fi
675
676 %preun linuxbridge
677 if [ $1 -eq 0 ] ; then
678     # Package removal, not upgrade
679     /sbin/service neutron-linuxbridge-agent stop >/dev/null 2>&1
680     /sbin/chkconfig --del neutron-linuxbridge-agent
681 fi
682
683 %postun linuxbridge
684 if [ $1 -ge 1 ] ; then
685     # Package upgrade, not uninstall
686     /sbin/service neutron-linuxbridge-agent condrestart >/dev/null 2>&1 || :
687 fi
688
689
690 %post openvswitch
691 if [ $1 -eq 1 ] ; then
692     # Initial installation
693     /sbin/chkconfig --add neutron-openvswitch-agent
694 fi
695
696 %preun openvswitch
697 if [ $1 -eq 0 ] ; then
698     # Package removal, not upgrade
699     /sbin/service neutron-openvswitch-agent stop >/dev/null 2>&1
700     /sbin/chkconfig --del neutron-openvswitch-agent
701 fi
702
703 %postun openvswitch
704 if [ $1 -ge 1 ] ; then
705     # Package upgrade, not uninstall
706     /sbin/service neutron-openvswitch-agent condrestart >/dev/null 2>&1 || :
707 fi
708
709
710 %post ryu
711 if [ $1 -eq 1 ] ; then
712     # Initial installation
713     /sbin/chkconfig --add neutron-ryu-agent
714 fi
715
716 %preun ryu
717 if [ $1 -eq 0 ] ; then
718     # Package removal, not upgrade
719     /sbin/service neutron-ryu-agent stop >/dev/null 2>&1
720     /sbin/chkconfig --del neutron-ryu-agent
721 fi
722
723 %postun ryu
724 if [ $1 -ge 1 ] ; then
725     # Package upgrade, not uninstall
726     /sbin/service neutron-ryu-agent condrestart >/dev/null 2>&1 || :
727 fi
728
729
730 %post nec
731 if [ $1 -eq 1 ] ; then
732     # Initial installation
733     /sbin/chkconfig --add neutron-nec-agent
734 fi
735
736 %preun nec
737 if [ $1 -eq 0 ] ; then
738     # Package removal, not upgrade
739     /sbin/service neutron-nec-agent stop >/dev/null 2>&1
740     /sbin/chkconfig --del neutron-nec-agent
741 fi
742
743
744 %postun nec
745 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
746 if [ $1 -ge 1 ] ; then
747     # Package upgrade, not uninstall
748     /sbin/service neutron-nec-agent condrestart >/dev/null 2>&1 || :
749 fi
750
751
752 %post mellanox
753 if [ $1 -eq 1 ] ; then
754     # Initial installation
755     /sbin/chkconfig --add neutron-mlnx-agent
756 fi
757
758 %preun mellanox
759 if [ $1 -eq 0 ] ; then
760     # Package removal, not upgrade
761     /sbin/service neutron-mlnx-agent stop >/dev/null 2>&1
762     /sbin/chkconfig --del neutron-mlnx-agent
763 fi
764
765 %postun mellanox
766 if [ $1 -ge 1 ] ; then
767     # Package upgrade, not uninstall
768     /sbin/service neutron-mlnx-agent condrestart >/dev/null 2>&1 || :
769 fi
770
771
772 %post vpn-agent
773 if [ $1 -eq 1 ] ; then
774     # Initial installation
775     /sbin/chkconfig --add neutron-vpn-agent
776 fi
777
778 %preun vpn-agent
779 if [ $1 -eq 0 ] ; then
780     # Package removal, not upgrade
781     /sbin/service neutron-vpn-agent stop >/dev/null 2>&1
782     /sbin/chkconfig --del neutron-vpn-agent
783 fi
784
785 %postun vpn-agent
786 if [ $1 -ge 1 ] ; then
787     # Package upgrade, not uninstall
788     /sbin/service neutron-vpn-agent condrestart >/dev/null 2>&1 || :
789 fi
790
791
792 %post metering-agent
793 if [ $1 -eq 1 ] ; then
794     # Initial installation
795     /sbin/chkconfig --add neutron-metering-agent
796 fi
797
798 %preun metering-agent
799 if [ $1 -eq 0 ] ; then
800     # Package removal, not upgrade
801     /sbin/service neutron-metering-agent stop >/dev/null 2>&1
802     /sbin/chkconfig --del neutron-metering-agent
803 fi
804
805 %postun metering-agent
806 if [ $1 -ge 1 ] ; then
807     # Package upgrade, not uninstall
808     /sbin/service neutron-metering-agent condrestart >/dev/null 2>&1 || :
809 fi
810
811 %files
812 %doc LICENSE
813 %doc README.rst
814 %{_bindir}/quantum-db-manage
815 %{_bindir}/quantum-debug
816 %{_bindir}/quantum-dhcp-agent
817 %{_bindir}/quantum-l3-agent
818 %{_bindir}/quantum-lbaas-agent
819 %{_bindir}/quantum-metadata-agent
820 %{_bindir}/quantum-netns-cleanup
821 %{_bindir}/quantum-ns-metadata-proxy
822 %{_bindir}/quantum-rootwrap
823 %{_bindir}/quantum-rootwrap-xen-dom0
824 %{_bindir}/quantum-server
825 %{_bindir}/quantum-usage-audit
826
827 %{_bindir}/neutron-db-manage
828 %{_bindir}/neutron-debug
829 %{_bindir}/neutron-dhcp-agent
830 %{_bindir}/neutron-l3-agent
831 %{_bindir}/neutron-lbaas-agent
832 %{_bindir}/neutron-metadata-agent
833 %{_bindir}/neutron-netns-cleanup
834 %{_bindir}/neutron-ns-metadata-proxy
835 %{_bindir}/neutron-rootwrap
836 %{_bindir}/neutron-rootwrap-xen-dom0
837 %{_bindir}/neutron-server
838 %{_bindir}/neutron-usage-audit
839
840 %{_initrddir}/neutron-server
841 %{_initrddir}/neutron-dhcp-agent
842 %{_initrddir}/neutron-l3-agent
843 %{_initrddir}/neutron-metadata-agent
844 %{_initrddir}/neutron-ovs-cleanup
845 %{_initrddir}/neutron-lbaas-agent
846 %dir %{_datadir}/neutron
847 %{_datadir}/neutron/neutron-server.upstart
848 %{_datadir}/neutron/neutron-dhcp-agent.upstart
849 %{_datadir}/neutron/neutron-metadata-agent.upstart
850 %{_datadir}/neutron/neutron-l3-agent.upstart
851 %{_datadir}/neutron/neutron-lbaas-agent.upstart
852 %dir %{_sysconfdir}/neutron
853 %{_sysconfdir}/neutron/release
854 %attr(-, root, neutron) %{_datadir}/neutron/neutron-dist.conf
855 %attr(-, root, neutron) %{_datadir}/neutron/api-paste.ini
856 %config(noreplace) %attr(0640, root, neutron) %{_sysconfdir}/neutron/dhcp_agent.ini
857 %config(noreplace) %attr(0640, root, neutron) %{_sysconfdir}/neutron/fwaas_driver.ini
858 %config(noreplace) %attr(0640, root, neutron) %{_sysconfdir}/neutron/l3_agent.ini
859 %config(noreplace) %attr(0640, root, neutron) %{_sysconfdir}/neutron/metadata_agent.ini
860 %config(noreplace) %attr(0640, root, neutron) %{_sysconfdir}/neutron/lbaas_agent.ini
861 %config(noreplace) %attr(0640, root, neutron) %{_sysconfdir}/neutron/policy.json
862 %config(noreplace) %attr(0640, root, neutron) %{_sysconfdir}/neutron/neutron.conf
863 %config(noreplace) %{_sysconfdir}/neutron/rootwrap.conf
864 %dir %{_sysconfdir}/neutron/plugins
865 %config(noreplace) %{_sysconfdir}/logrotate.d/*
866 %config(noreplace) %{_sysconfdir}/sudoers.d/neutron
867 %dir %attr(0755, neutron, neutron) %{_sharedstatedir}/neutron
868 %dir %attr(0755, neutron, neutron) %{_localstatedir}/log/neutron
869 %dir %attr(0755, neutron, neutron) %{_localstatedir}/run/neutron
870 %dir %{_datarootdir}/neutron/rootwrap
871 %{_datarootdir}/neutron/rootwrap/debug.filters
872 %{_datarootdir}/neutron/rootwrap/dhcp.filters
873 %{_datarootdir}/neutron/rootwrap/iptables-firewall.filters
874 %{_datarootdir}/neutron/rootwrap/l3.filters
875 %{_datarootdir}/neutron/rootwrap/lbaas-haproxy.filters
876
877
878 %files -n python-neutron
879 %doc LICENSE
880 %doc README.rst
881 %{python_sitelib}/neutron
882 %{python_sitelib}/quantum
883 %exclude %{python_sitelib}/neutron/plugins/bigswitch
884 %exclude %{python_sitelib}/neutron/plugins/brocade
885 %exclude %{python_sitelib}/neutron/plugins/cisco
886 %exclude %{python_sitelib}/neutron/plugins/hyperv
887 %exclude %{python_sitelib}/neutron/plugins/ibm
888 %exclude %{python_sitelib}/neutron/plugins/linuxbridge
889 %exclude %{python_sitelib}/neutron/plugins/metaplugin
890 %exclude %{python_sitelib}/neutron/plugins/midonet
891 %exclude %{python_sitelib}/neutron/plugins/ml2
892 %exclude %{python_sitelib}/neutron/plugins/mlnx
893 %exclude %{python_sitelib}/neutron/plugins/nuage
894 %exclude %{python_sitelib}/neutron/plugins/nec
895 %exclude %{python_sitelib}/neutron/plugins/nicira
896 %exclude %{python_sitelib}/neutron/plugins/ofagent
897 %exclude %{python_sitelib}/neutron/plugins/oneconvergence
898 %exclude %{python_sitelib}/neutron/plugins/openvswitch
899 %exclude %{python_sitelib}/neutron/plugins/plumgrid
900 %exclude %{python_sitelib}/neutron/plugins/ryu
901 %exclude %{python_sitelib}/neutron/plugins/vmware
902 %{python_sitelib}/neutron-%%{version}*.egg-info
903
904
905 %files bigswitch
906 %doc LICENSE
907 %doc neutron/plugins/bigswitch/README
908 %{_bindir}/neutron-restproxy-agent
909 %{python_sitelib}/neutron/plugins/bigswitch
910 %dir %{_sysconfdir}/neutron/plugins/bigswitch
911 %config(noreplace) %attr(0640, root, neutron) %{_sysconfdir}/neutron/plugins/bigswitch/*.ini
912 %doc %{_sysconfdir}/neutron/plugins/bigswitch/README
913
914
915 %files brocade
916 %doc LICENSE
917 %doc neutron/plugins/brocade/README.md
918 %{python_sitelib}/neutron/plugins/brocade
919 %dir %{_sysconfdir}/neutron/plugins/brocade
920 %config(noreplace) %attr(0640, root, neutron) %{_sysconfdir}/neutron/plugins/brocade/*.ini
921
922
923 %files cisco
924 %doc LICENSE
925 %doc neutron/plugins/cisco/README
926 %{python_sitelib}/neutron/plugins/cisco
927 %dir %{_sysconfdir}/neutron/plugins/cisco
928 %config(noreplace) %attr(0640, root, neutron) %{_sysconfdir}/neutron/plugins/cisco/*.ini
929
930
931 %files hyperv
932 %doc LICENSE
933 #%%doc neutron/plugins/hyperv/README
934 %{_bindir}/neutron-hyperv-agent
935 %{_bindir}/quantum-hyperv-agent
936 %{python_sitelib}/neutron/plugins/hyperv
937 %dir %{_sysconfdir}/neutron/plugins/hyperv
938 %exclude %{python_sitelib}/neutron/plugins/hyperv/agent
939 %config(noreplace) %attr(0640, root, neutron) %{_sysconfdir}/neutron/plugins/hyperv/*.ini
940
941
942 %files ibm
943 %doc LICENSE
944 %{_bindir}/neutron-ibm-agent
945 %{_bindir}/quantum-ibm-agent
946 %doc neutron/plugins/ibm/README
947 %{python_sitelib}/neutron/plugins/ibm
948 %dir %{_sysconfdir}/neutron/plugins/ibm
949 %config(noreplace) %attr(0640, root, neutron) %{_sysconfdir}/neutron/plugins/ibm/*.ini
950
951
952 %files linuxbridge
953 %doc LICENSE
954 %doc neutron/plugins/linuxbridge/README
955 %{_bindir}/neutron-linuxbridge-agent
956 %{_bindir}/quantum-linuxbridge-agent
957 %{_initrddir}/neutron-linuxbridge-agent
958 %{_datadir}/neutron/neutron-linuxbridge-agent.upstart
959 %{python_sitelib}/neutron/plugins/linuxbridge
960 %{_datarootdir}/neutron/rootwrap/linuxbridge-plugin.filters
961 %dir %{_sysconfdir}/neutron/plugins/linuxbridge
962 %config(noreplace) %attr(0640, root, neutron) %{_sysconfdir}/neutron/plugins/linuxbridge/*.ini
963
964
965 %files midonet
966 %doc LICENSE
967 #%%doc neutron/plugins/midonet/README
968 %{python_sitelib}/neutron/plugins/midonet
969 %dir %{_sysconfdir}/neutron/plugins/midonet
970 %config(noreplace) %attr(0640, root, neutron) %{_sysconfdir}/neutron/plugins/midonet/*.ini
971
972
973 %files ml2
974 %doc neutron/plugins/ml2/README
975 %{python_sitelib}/neutron/plugins/ml2
976 %dir %{_sysconfdir}/neutron/plugins/ml2
977 %config(noreplace) %attr(0640, root, neutron) %{_sysconfdir}/neutron/plugins/ml2/*.ini
978
979
980 %files mellanox
981 %doc neutron/plugins/mlnx/README
982 %{_bindir}/neutron-mlnx-agent
983 %{_bindir}/quantum-mlnx-agent
984 %{python_sitelib}/neutron/plugins/mlnx
985 %{_initrddir}/neutron-mlnx-agent
986 %{_datadir}/neutron/neutron-mlnx-agent.upstart
987 %dir %{_sysconfdir}/neutron/plugins/mlnx
988 %config(noreplace) %attr(0640, root, neutron) %{_sysconfdir}/neutron/plugins/mlnx/*.ini
989
990 %files nuage
991 %doc LICENSE
992 %{python_sitelib}/neutron/plugins/nuage
993 %dir %{_sysconfdir}/neutron/plugins/nuage
994 %config(noreplace) %attr(0640, root, neutron) %{_sysconfdir}/neutron/plugins/nuage/*.ini
995
996 %files ofagent
997 %doc neutron/plugins/ofagent/README
998 %{_bindir}/neutron-ofagent-agent
999 %{python_sitelib}/neutron/plugins/ofagent
1000
1001
1002 %files oneconvergence-nvsd
1003 %doc LICENSE
1004 %doc neutron/plugins/oneconvergence/README
1005 %dir %{_sysconfdir}/neutron/plugins/oneconvergence
1006 %config(noreplace) %attr(0640, root, neutron) %{_sysconfdir}/neutron/plugins/oneconvergence/nvsdplugin.ini
1007 %{_bindir}/neutron-nvsd-agent
1008 %{_bindir}/quantum-nvsd-agent
1009 %{python_sitelib}/neutron/plugins/oneconvergence
1010
1011
1012 %files openvswitch
1013 %doc LICENSE
1014 %doc neutron/plugins/openvswitch/README
1015 %{_bindir}/neutron-openvswitch-agent
1016 %{_bindir}/quantum-openvswitch-agent
1017 %{_bindir}/neutron-ovs-cleanup
1018 %{_bindir}/quantum-ovs-cleanup
1019 %{_initrddir}/neutron-openvswitch-agent
1020 %{_datadir}/neutron/neutron-openvswitch-agent.upstart
1021 %{_initrddir}/neutron-ovs-cleanup
1022 %{_datadir}/neutron/neutron-ovs-cleanup.upstart
1023 %{python_sitelib}/neutron/plugins/openvswitch
1024 %{_datarootdir}/neutron/rootwrap/openvswitch-plugin.filters
1025 %dir %{_sysconfdir}/neutron/plugins/openvswitch
1026 %config(noreplace) %attr(0640, root, neutron) %{_sysconfdir}/neutron/plugins/openvswitch/*.ini
1027
1028
1029 %files plumgrid
1030 %doc LICENSE
1031 %doc neutron/plugins/plumgrid/README
1032 %{python_sitelib}/neutron/plugins/plumgrid
1033 %dir %{_sysconfdir}/neutron/plugins/plumgrid
1034 %config(noreplace) %attr(0640, root, neutron) %{_sysconfdir}/neutron/plugins/plumgrid/*.ini
1035
1036
1037 %files ryu
1038 %doc LICENSE
1039 %doc neutron/plugins/ryu/README
1040 %{_bindir}/neutron-ryu-agent
1041 %{_bindir}/quantum-ryu-agent
1042 %{_initrddir}/neutron-ryu-agent
1043 %{_datadir}/neutron/neutron-ryu-agent.upstart
1044 %{python_sitelib}/neutron/plugins/ryu
1045 %{_datarootdir}/neutron/rootwrap/ryu-plugin.filters
1046 %dir %{_sysconfdir}/neutron/plugins/ryu
1047 %config(noreplace) %attr(0640, root, neutron) %{_sysconfdir}/neutron/plugins/ryu/*.ini
1048
1049
1050 %files nec
1051 %doc LICENSE
1052 %doc neutron/plugins/nec/README
1053 %{_bindir}/neutron-nec-agent
1054 %{_bindir}/quantum-nec-agent
1055 %{_initrddir}/neutron-nec-agent
1056 %{_datadir}/neutron/neutron-nec-agent.upstart
1057 %{python_sitelib}/neutron/plugins/nec
1058 %{_datarootdir}/neutron/rootwrap/nec-plugin.filters
1059 %dir %{_sysconfdir}/neutron/plugins/nec
1060 %config(noreplace) %attr(0640, root, neutron) %{_sysconfdir}/neutron/plugins/nec/*.ini
1061
1062
1063 %files metaplugin
1064 %doc LICENSE
1065 %doc neutron/plugins/metaplugin/README
1066 %{python_sitelib}/neutron/plugins/metaplugin
1067 %dir %{_sysconfdir}/neutron/plugins/metaplugin
1068 %config(noreplace) %attr(0640, root, neutron) %{_sysconfdir}/neutron/plugins/metaplugin/*.ini
1069
1070
1071 %files metering-agent
1072 %doc LICENSE
1073 %config(noreplace) %attr(0640, root, neutron) %{_sysconfdir}/neutron/metering_agent.ini
1074 %{_initrddir}/neutron-metering-agent
1075 %{_datadir}/neutron/neutron-metering-agent.upstart
1076 %{_bindir}/neutron-metering-agent
1077
1078
1079 %files vmware
1080 %doc LICENSE
1081 %{_bindir}/neutron-check-nvp-config
1082 %{_bindir}/quantum-check-nvp-config
1083 %{_bindir}/neutron-check-nsx-config
1084 %{_bindir}/neutron-nsx-manage
1085 %{python_sitelib}/neutron/plugins/vmware
1086 %dir %{_sysconfdir}/neutron/plugins/vmware
1087 %dir %{_sysconfdir}/neutron/plugins/nicira
1088 %config(noreplace) %attr(0640, root, neutron) %{_sysconfdir}/neutron/plugins/vmware/*.ini
1089 %config(noreplace) %attr(0640, root, neutron) %{_sysconfdir}/neutron/plugins/nicira/*.ini
1090
1091
1092 %files vpn-agent
1093 %doc LICENSE
1094 %config(noreplace) %attr(0640, root, neutron) %{_sysconfdir}/neutron/vpn_agent.ini
1095 %{_initrddir}/neutron-vpn-agent
1096 %{_datadir}/neutron/neutron-vpn-agent.upstart
1097 %{_bindir}/neutron-vpn-agent
1098 %{_datarootdir}/neutron/rootwrap/vpnaas.filters
1099
1100
1101 %changelog
1102 * Fri Jun 13 2014 Ihar Hrachyshka <ihrachys@redhat.com> 2014.1.1-1
1103 - Update to upstream 2014.1.1
1104 - Added previously missing ml2_conf_mlnx.ini, bz#1100136
1105
1106 * Wed Jun 11 2014 Ihar Hrachyshka <ihrachys@redhat.com> 2014.1-21
1107 - Ensure routing key is specified in the address for a direct producer, bz#1108025
1108
1109 * Thu May 29 2014 Miguel Ángel Ajo <majopela@redhat.com> 2014.1-20
1110 - Add nuage plugin packaging as openstack-neutron-nuage
1111
1112 * Wed May 28 2014 Miguel Angel Ajo <majopela@redhat.com> 2014.1-19
1113 - Remove kernel version check for OVS VXLAN, not revelant for RDO
1114   bz#1081011
1115
1116 * Mon May 19 2014 Ihar Hrachyshka <ihrachys@redhat.com> 2014.1-18
1117 - netaddr<=0.7.10 raises ValueError instead of AddrFormatError, bz#1090137
1118
1119 * Mon May 19 2014 Ihar Hrachyshka <ihrachys@redhat.com> 2014.1-17
1120 - Validate CIDR given as ip-prefix in security-group-rule-create, bz#1090137
1121
1122 * Fri May 16 2014 Ihar Hrachyshka <ihrachys@redhat.com> 2014.1-16
1123 - Fixed neutron-server startup due to duplicate options
1124
1125 * Thu May 15 2014 Ihar Hrachyshka <ihrachys@redhat.com> 2014.1-15
1126 - Make neutron-vpn-agent read fwaas_driver.ini, bz#1098121
1127
1128 * Tue Apr 29 2014 Ihar Hrachyshka <ihrachys@redhat.com> 2014.1-14
1129 - Removed signing_dir from neutron-dist.conf, again (bz#1050842)
1130
1131 * Wed Apr 23 2014 Ihar Hrachyshka <ihrachys@redhat.com> 2014.1-13
1132 - Removed obsolete setup scripts
1133
1134 * Wed Apr 23 2014 Ihar Hrachyshka <ihrachys@redhat.com> 2014.1-12
1135 - Removed signing_dir from neutron.conf
1136
1137 * Tue Apr 22 2014 Ihar Hrachyshka <ihrachys@redhat.com> 2014.1-11
1138 - Pin python-novaclient dependency to >= 2.17.0
1139
1140 * Fri Apr 18 2014 Pádraig Brady <pbrady@redhat.com> - 2014.1-10
1141 - Remove uneeded dep on python-keystone
1142
1143 * Fri Apr 18 2014 Ihar Hrachyshka <ihrachys@redhat.com> 2014.1-7
1144 - Require python-novaclient (used for Nova notifications)
1145
1146 * Fri Apr 18 2014 Ihar Hrachyshka <ihrachys@redhat.com> 2014.1-6
1147 - We no longer specify notification_driver in neutron-dist.conf
1148
1149 * Fri Apr 18 2014 Ihar Hrachyshka <ihrachys@redhat.com> 2014.1-5
1150 - Move api-paste.ini to /usr to make sure new values are applied on upgrade
1151
1152 * Fri Apr 18 2014 Terry Wilson <twilson@redhat.com> - 2014.1-4
1153 - Rename nicira plugin to vmware
1154
1155 * Fri Apr 18 2014 Ihar Hrachyshka <ihrachys@redhat.com> 2014.1-3
1156 - Clean up neutron-dist.conf to reflect identical upstream defaults
1157
1158 * Fri Apr 18 2014 Ihar Hrachyshka <ihrachys@redhat.com> 2014.1-2
1159 - Set use_stderr = False to avoid duplicate logging for stderr
1160
1161 * Fri Apr 18 2014 Ihar Hrachyshka <ihrachys@redhat.com> 2014.1-1
1162 - Update to upstream 2014.1
1163
1164 * Tue Apr 15 2014 Miguel Ángel Ajo <majopela@redhat.com> -2014.1-0.19.rc2
1165 - Include the systemd readiness notification patch
1166
1167 * Tue Apr 15 2014 Pádraig Brady <pbrady@redhat.com> - 2014.1-0.18.rc2
1168 - Add missing dependency on python-oslo-rootwrap
1169
1170 * Fri Apr 11 2014 Miguel Angel Ajo <mangelajo@redhat.com> 2014.1-0.17.rc2
1171 - Update to upstream 2014.1.rc2
1172
1173 * Fri Apr 11 2014 Miguel Ángel Ajo <majopela@redhat.com> 2014.1-0.16.rc1
1174 - Use rabbitmq by default
1175
1176 * Thu Apr 10 2014 Miguel Ángel Ajo <majopela@redhat.com> 2014.1-0.15.rc1
1177 - Removes the python-pyudev dependency, bz#1053001
1178
1179 * Thu Apr 10 2014 Ihar Hrachyshka <ihrachys@redhat.com> 2014.1-0.14.rc1
1180 - Remove signing_dir from neutron-dist.conf, bz#1050842
1181
1182 * Fri Apr 04 2014 Pádraig Brady <pbrady@redhat.com> - 2014.1-0.13.rc1
1183 - Fix startup issue due to invalid group permissions, bz#1080560
1184 - Remove runtime dependency on python-pbr
1185
1186 * Wed Apr 02 2014 Terry Wilson <twilson@redhat.com> 2014.1-0.9.rc1
1187 - Update to upstream 2014.1.rc1
1188 - Remove python-psutil requires
1189
1190 * Wed Mar 19 2014 Miguel Ángel Ajo <majopela@redhat.com> - 2014.1.b3-8
1191 - Create agents table when ML2 core_plugin is used
1192
1193 * Tue Mar 11 2014 Miguel Ángel Ajo <majopela@redhat.com> - 2014.1.b3-7
1194 - Fixed a broken dependency/typo lxaml -> lxml
1195 - Enforcing python-six >= 1.4.1 at least
1196
1197 * Fri Mar 07 2014 Miguel Ángel Ajo <majopela@redhat.com> - 2014.1.b3-6
1198 - Update to icehouse milestone 3
1199 - Add neutron-dhcp-agent dependency bz#1019487
1200 - Remove nicira plugin, renamed vmware-nsx to vmware bz#1058995
1201 - Add openstack-neutron-ibm plugin
1202 - Add openstack-neutron-ofagent plugin from ryu project
1203
1204 * Tue Feb 04 2014 Pádraig Brady <pbrady@redhat.com> - 2014.1.b2-5
1205 - Fix missing dependency on python-stevedore
1206
1207 * Tue Feb 04 2014 Pádraig Brady <pbrady@redhat.com> - 2014.1.b2-4
1208 - Fix exception on systems with dnsmasq < 2.59
1209
1210 * Mon Jan 27 2014 Terry Wilson <twilson@redhat.com> - 2014.1.b2-3
1211 - Update to icehouse milestone 2
1212
1213 * Tue Jan 07 2014 Terry Wilson <twilson@redhat.com> - 2014.1.b1-2
1214 - Add python-psutil requirement for openvswitch agent, bz#1049235
1215
1216 * Mon Dec 23 2013 Pádraig Brady <pbrady@redhat.com> - 2014.1.b1-1
1217 - Update to icehouse milestone 1
1218
1219 * Wed Dec 18 2013 Pádraig Brady <pbrady@redhat.com> - 2013.2.1-1
1220 - Update to Havana stable release 2013.2.1
1221
1222 * Fri Dec 13 2013 Terry Wilson <twilson@redhat.com> - 2013.2-13
1223 - QPID fixes from oslo-incubator, bz#1038711, bz#1038717
1224 - Remove dnsmasq version warning, bz#997961
1225 - Ensure that disabled services are properly handled on upgrade, bz#1040704
1226
1227 * Mon Dec 09 2013 Terry Wilson <twilson@redhat.com> - 2013.2-12
1228 - Add vpnaas/fwaas configs to init scripts, bz#1032450
1229 - Pass neutron rootwrap.conf in sudoers.d/neutron, bz#984097
1230
1231 * Wed Dec 04 2013 Terry Wilson <twilson@redhat.com> - 2013.2-11
1232 - Add missing debug and vpnaas rootwrap filters, bz#1034207
1233
1234 * Mon Dec 02 2013 Terry Wilson <twilson@redhat.com> - 2013.2-10
1235 - Replace quantum references in neutron-dist.conf
1236
1237 * Tue Nov 19 2013 Pádraig Brady <pbrady@redhat.com> - 2013.2-9
1238 - Fix dependency on parallel installed python-jinja2-26
1239
1240 * Tue Nov 19 2013 Pádraig Brady <pbrady@redhat.com> - 2013.2-8
1241 - Depend on python-webob1.2 rather than deprecated python-webob1.0
1242
1243 * Wed Nov 13 2013 Terry Wilson <twilson@redhat.com> - 2013.2-7
1244 - Add dnsmasq-utils dependency to openstack-neutron
1245
1246 * Wed Nov 13 2013 Pádraig Brady <pbrady@redhat.com> - 2013.2-6
1247 - Fix jinja2 import in openstack-neutron-vpn-agent
1248
1249 * Thu Nov 07 2013 Terry Wilson <twilson@redhat.com> - 2013.2-5
1250 - Update deps for python-{babel,keystoneclient,oslo-config}
1251
1252 * Wed Oct 30 2013 Terry Wilson <twilson@redaht.com> - 2013.2-4
1253 - Better support for upgrading from grizzly to havana
1254
1255 * Thu Oct 24 2013 Terry Wilson <twilson@redhat.com> - 2013.2-3
1256 - Fix previous neutron-ovs-cleanup fix
1257
1258 * Thu Oct 24 2013 Terry Wilson <twilson@redhat.com> - 2013.2-2
1259 - Ensure that neutron-ovs-cleanup completes before exiting (rhbz#1010941)
1260
1261 * Fri Oct 18 2013 Pádraig Brady <pbrady@redhat.com> - 2013.2-1
1262 - Update to havana GA
1263
1264 * Thu Oct 10 2013 Terry Wilson <twilson@redhat.com> - 2013.2-0.12.rc1
1265 - Update to havana rc1
1266
1267 * Wed Oct  2 2013 Terry Wilson <twilson@redhat.com> - 2013.2-0.11.b3
1268 - Add python-jinja2 requires to VPN agent
1269 - Ad missing services for VPN and metering agent
1270
1271 * Thu Sep 26 2013 Terry Wilson <twilson@redhat.com> - 2013.2-0.10.b3
1272 - Add support for neutron-dist.conf
1273
1274 * Tue Sep 17 2013 Pádraig Brady <pbrady@redhat.com> - 2013.2-0.9.b3
1275 - Fix typo in openstack-neutron-meetering-agent package name
1276 - Register all agent services with chkconfig during installation
1277
1278 * Mon Sep 09 2013 Terry Wilson <twilson@rehdat.com> - 2013.2-0.4.b3
1279 - Update to havana milestone 3 release
1280
1281 * Thu Jul 25 2013 Terry Wilson <twilson@redhat.com> - 2013.2-0.3.b2
1282 - Update to havana milestone 2 release
1283 - Rename quantum to neutron
1284
1285 * Mon Jun 17 2013 Terry Wilson <twilson@redhat.com> - 2013.2-0.2.b1
1286 - Update to havana milestone 1 release
1287
1288 * Fri Jun 07 2013 Terry Wilson <twilson@redhat.com> - 2013.1.2-1
1289 - Update to grizzly 2013.1.2 release
1290
1291 * Sun May 26 2013 Gary Kotton <gkotton@redhat.com> - 2013.1.1-6
1292 - Fixes rootwarp path
1293
1294 * Fri May 24 2013 Pádraig Brady <P@draigBrady.com> - 2013.1.1-5
1295 - Fix inclusion of db migrations
1296
1297 * Wed May 22 2013 Gary Kotton <gkotton@redhat.com> - 2013.1.1-3
1298 - Updates to work with namespaces
1299 - Fix kill-metadata rootwrap filter
1300
1301 * Mon May 13 2013 Gary Kotton <gkotton@redhat.com> - 2013.1.1-2
1302 - Update to grizzly stable release 2013.1.1
1303 - Update install scripts to configure security groups
1304 - Update install scripts to remove virtual interface configurations
1305
1306 * Mon Apr 29 2013 Pádraig Brady <pbrady@redhat.com> 2013.1-3
1307 - Fix quantum-ovs-cleanup.init to reference the correct config files
1308
1309 * Thu Apr  4 2013 Gary Kotton <gkotton@redhat.com> - 2013.1-1
1310 - Update to grizzly release
1311
1312 * Thu Apr  4 2013 Gary Kotton <gkotton@redhat.com> - 2013.1-0.7.rc3
1313 - Update to grizzly rc3
1314 - Update rootwrap (bug 947793)
1315 - Update l3-agent-setup to support qpid (bug 947532)
1316 - Update l3-agent-setup to support metadata-agent credentials
1317 - Update keystone authentication details (bug 947776)
1318
1319 * Tue Mar 26 2013 Terry Wilson <twilson@redhat.com> - 2013.1-0.6.rc2
1320 - Update to grizzly rc2
1321
1322 * Tue Mar 12 2013 Pádraig Brady <P@draigBrady.Com> - 2013.1-0.5.g3
1323 - Relax the dependency requirements on sqlalchemy
1324
1325 * Mon Feb 25 2013 Robert Kukura <rkukura@redhat.com> - 2013.1-0.4.g3
1326 - Update to grizzly milestone 3
1327 - Add brocade, hyperv, midonet, and plumgrid plugins as sub-packages
1328 - Remove cisco files that were eliminated
1329 - Add quantum-check-nvp-config
1330 - Include patch for https://code.launchpad.net/bugs/1132889
1331 - Require python-oslo-config
1332 - Require compatible version of python-sqlalchemy
1333 - Various spec file improvements
1334
1335 * Thu Feb 14 2013 Robert Kukura <rkukura@redhat.com> - 2013.1-0.3.g2
1336 - Update to grizzly milestone 2
1337 - Add quantum-db-manage, quantum-metadata-agent,
1338   quantum-ns-metadata-proxy, quantum-ovs-cleanup, and
1339   quantum-usage-audit executables
1340 - Add systemd units for quantum-metadata-agent and quantum-ovs-cleanup
1341 - Fix /etc/quantum/policy.json permissions (bug 877600)
1342 - Require dnsmasq (bug 890041)
1343 - Add the version info file
1344 - Remove python-lxml dependency
1345 - Add python-alembic dependency
1346
1347 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2013.1-0.2.g1
1348 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
1349
1350 * Wed Jan 23 2013 Martin Magr <mmagr@redhat.com> - 2012.2.1-1
1351 - Added python-keystone requirement
1352
1353 * Wed Dec  5 2012 Robert Kukura <rkukura@redhat.com> - 2013.1-0.1.g1
1354 - Update to grizzly milestone 1
1355 - Require python-quantumclient >= 1:2.1.10
1356 - Remove unneeded rpc control_exchange patch
1357 - Add bigswitch plugin as sub-package
1358 - Work around bigswitch conf file missing from setup.py
1359
1360 * Mon Dec  3 2012 Robert Kukura <rkukura@redhat.com> - 2012.2.1-1
1361 - Update to folsom stable 2012.2.1
1362 - Add upstream patch: Fix rpc control_exchange regression.
1363 - Remove workaround for missing l3_agent.ini
1364
1365 * Thu Nov 01 2012 Alan Pevec <apevec@redhat.com> 2012.2-2
1366 - l3_agent not disabling namespace use lp#1060559
1367
1368 * Fri Sep 28 2012 Robert Kukura <rkukura@redhat.com> - 2012.2-1
1369 - Update to folsom final
1370 - Require python-quantumclient >= 1:2.1.1
1371
1372 * Tue Aug 21 2012 Robert Kukura <rkukura@redhat.com> - 2012.1-8
1373 - fix database config generated by install scripts (#847785)
1374
1375 * Wed Jul 25 2012 Robert Kukura <rkukura@redhat.com> - 2012.1-6
1376 - Update to 20120715 essex stable branch snapshot
1377
1378 * Mon May 28 2012 Pádraig Brady <P@draigBrady.com> - 2012.1-5
1379 - Fix helper scripts to use the always available openstack-config util
1380
1381 * Mon May 07 2012 Pádraig Brady <P@draigBrady.com> - 2012.1-4
1382 - Fix handling of the mysql service in quantum-server-setup
1383
1384 * Tue May 01 2012 Pádraig Brady <P@draigBrady.com> - 2012.1-3
1385 - Start the services later in the boot sequence
1386
1387 * Wed Apr 25 2012 Pádraig Brady <P@draigBrady.com> - 2012.1-2
1388 - Use parallel installed versions of python-routes and python-paste-deploy
1389
1390 * Thu Apr 12 2012 Pádraig Brady <pbrady@redhat.com> - 2012.1-1
1391 - Initial essex release