Merge lp:~james-page/neutron/systemd-enable into lp:~ubuntu-server-dev/neutron/kilo
- systemd-enable
- Merge into kilo
Proposed by
James Page
on 2015-01-12
| Status: | Merged |
|---|---|
| Merged at revision: | 309 |
| Proposed branch: | lp:~james-page/neutron/systemd-enable |
| Merge into: | lp:~ubuntu-server-dev/neutron/kilo |
| Diff against target: |
1367 lines (+562/-442) 60 files modified
debian/changelog (+21/-0) debian/compat (+1/-1) debian/control (+12/-8) debian/neutron-common.logrotate (+8/-0) debian/neutron-dhcp-agent.init.in (+23/-0) debian/neutron-dhcp-agent.logrotate (+0/-7) debian/neutron-dhcp-agent.upstart (+0/-22) debian/neutron-dhcp-agent.upstart.in (+22/-0) debian/neutron-l3-agent.init.in (+24/-0) debian/neutron-l3-agent.logrotate (+0/-7) debian/neutron-l3-agent.upstart (+0/-24) debian/neutron-l3-agent.upstart.in (+24/-0) debian/neutron-lbaas-agent.init.in (+23/-0) debian/neutron-lbaas-agent.logrotate (+0/-7) debian/neutron-lbaas-agent.upstart (+0/-17) debian/neutron-metadata-agent.init.in (+23/-0) debian/neutron-metadata-agent.logrotate (+0/-7) debian/neutron-metadata-agent.upstart (+0/-19) debian/neutron-metering-agent.init.in (+23/-0) debian/neutron-metering-agent.upstart (+0/-19) debian/neutron-plugin-bigswitch-agent.init.in (+22/-0) debian/neutron-plugin-bigswitch-agent.logrotate (+0/-7) debian/neutron-plugin-bigswitch-agent.upstart (+0/-20) debian/neutron-plugin-ibm-agent.init.in (+21/-0) debian/neutron-plugin-ibm-agent.logrotate (+0/-7) debian/neutron-plugin-ibm-agent.upstart (+0/-20) debian/neutron-plugin-linuxbridge-agent.init.in (+23/-0) debian/neutron-plugin-linuxbridge-agent.logrotate (+0/-7) debian/neutron-plugin-linuxbridge-agent.upstart (+0/-17) debian/neutron-plugin-mlnx-agent.init.in (+21/-0) debian/neutron-plugin-mlnx-agent.logrotate (+0/-7) debian/neutron-plugin-mlnx-agent.upstart (+0/-19) debian/neutron-plugin-nec-agent.init.in (+21/-0) debian/neutron-plugin-nec-agent.logrotate (+0/-7) debian/neutron-plugin-nec-agent.upstart (+0/-17) debian/neutron-plugin-oneconvergence-agent.init.in (+22/-0) debian/neutron-plugin-oneconvergence-agent.logrotate (+0/-7) debian/neutron-plugin-oneconvergence-agent.upstart (+0/-18) debian/neutron-plugin-openflow-agent.init.in (+22/-0) debian/neutron-plugin-openflow-agent.logrotate (+0/-7) debian/neutron-plugin-openflow-agent.upstart (+0/-20) debian/neutron-plugin-openvswitch-agent.init.in (+20/-0) debian/neutron-plugin-openvswitch-agent.logrotate (+0/-7) debian/neutron-plugin-openvswitch-agent.neutron-ovs-cleanup.init.in (+18/-0) debian/neutron-plugin-openvswitch-agent.neutron-ovs-cleanup.service.in (+17/-0) debian/neutron-plugin-openvswitch-agent.neutron-ovs-cleanup.upstart (+0/-13) debian/neutron-plugin-openvswitch-agent.neutron-ovs-cleanup.upstart.in (+13/-0) debian/neutron-plugin-openvswitch-agent.service.in (+19/-0) debian/neutron-plugin-openvswitch-agent.upstart (+0/-17) debian/neutron-plugin-openvswitch-agent.upstart.in (+17/-0) debian/neutron-plugin-sriov-agent.init.in (+22/-0) debian/neutron-plugin-sriov-agent.logrotate (+0/-7) debian/neutron-plugin-sriov-agent.upstart (+0/-20) debian/neutron-server.init.in (+18/-0) debian/neutron-server.logrotate (+0/-7) debian/neutron-server.upstart (+0/-23) debian/neutron-vpn-agent.init.in (+23/-0) debian/neutron-vpn-agent.upstart (+0/-25) debian/neutron-vpn-agent.upstart.in (+25/-0) debian/rules (+14/-5) |
| To merge this branch: | bzr merge lp:~james-page/neutron/systemd-enable |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Corey Bryant | Approve on 2015-01-12 | ||
| Ubuntu Server Developers | 2015-01-12 | Pending | |
|
Review via email:
|
|||
Commit Message
Description of the Change
To post a comment you must log in.
| Corey Bryant (corey.bryant) wrote : | # |
| Corey Bryant (corey.bryant) wrote : | # |
Unless I'm wrong and "Provides:" is supposed to match the init.in file name.
lp:~james-page/neutron/systemd-enable
updated
on 2015-01-12
- 309. By James Page on 2015-01-12
-
Fixup names in various plugin agent init.in's
review:
Approve
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
| 1 | === modified file 'debian/changelog' |
| 2 | --- debian/changelog 2015-01-06 14:47:39 +0000 |
| 3 | +++ debian/changelog 2015-01-12 15:16:07 +0000 |
| 4 | @@ -1,3 +1,24 @@ |
| 5 | +neutron (1:2015.1~b1-0ubuntu2) UNRELEASED; urgency=medium |
| 6 | + |
| 7 | + * Systemd enablement: |
| 8 | + - d/control: Add dh-systemd and openstack-pkg-tools to BD's. |
| 9 | + - d/rules: Enable use of pkgos, tidyup generated init files, |
| 10 | + override targets to deal with neutron-ovs-cleanup task. |
| 11 | + - d/*.init.in: Cherry pick pkgos template configurations from |
| 12 | + Debian neutron package (thanks Thomas), copy and adapt for |
| 13 | + other agents that are not covered by Debian packaging. |
| 14 | + - d/*.upstart.in: Specialize upstart configurations for agents |
| 15 | + which would like neutron-ovs-cleanup to run first. |
| 16 | + - d/*.upstart: Drop in preference to generated files. |
| 17 | + - d/*.service.in: Provide specialized systemd units for |
| 18 | + neutron-ovs-cleanup and neutron-plugin-openvswitch-agent. |
| 19 | + * d/control,compat: Bump debhelper compat level to 9. |
| 20 | + * d/*.logrotate,neutron-common.logrotate: Move to single logrotate |
| 21 | + configuration. |
| 22 | + * d/rules: Correct path for execution of unit tests. |
| 23 | + |
| 24 | + -- James Page <james.page@ubuntu.com> Fri, 09 Jan 2015 16:16:25 +0000 |
| 25 | + |
| 26 | neutron (1:2015.1~b1-0ubuntu1) vivid; urgency=medium |
| 27 | |
| 28 | [ Chuck Short ] |
| 29 | |
| 30 | === modified file 'debian/compat' |
| 31 | --- debian/compat 2014-03-07 09:21:15 +0000 |
| 32 | +++ debian/compat 2015-01-12 15:16:07 +0000 |
| 33 | @@ -1,1 +1,1 @@ |
| 34 | -8 |
| 35 | +9 |
| 36 | |
| 37 | === modified file 'debian/control' |
| 38 | --- debian/control 2015-01-06 14:47:39 +0000 |
| 39 | +++ debian/control 2015-01-12 15:16:07 +0000 |
| 40 | @@ -3,7 +3,11 @@ |
| 41 | Priority: optional |
| 42 | Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> |
| 43 | XSBC-Original-Maintainer: Chuck Short <zulcss@ubuntu.com> |
| 44 | -Build-Depends: debhelper (>= 8.0.0), python-all (>= 2.6) |
| 45 | +Build-Depends: |
| 46 | + debhelper (>= 9~), |
| 47 | + dh-systemd, |
| 48 | + openstack-pkg-tools (>= 21ubuntu4~), |
| 49 | + python-all (>= 2.6) |
| 50 | Build-Depends-Indep: |
| 51 | alembic (>= 0.7.1), |
| 52 | python-cliff (>= 1.6.0), |
| 53 | @@ -22,15 +26,15 @@ |
| 54 | python-netaddr (>= 0.7.12), |
| 55 | python-neutronclient (>= 1:2.3.6), |
| 56 | python-novaclient (>= 1:2.18.0), |
| 57 | + python-oslo-context (>= 0.1.0), |
| 58 | python-oslo.config (>= 1:1.4.0), |
| 59 | - python-oslo-context (>= 0.1.0), |
| 60 | python-oslo.db (>= 1.1.0), |
| 61 | python-oslo.i18n (>= 1.0.0), |
| 62 | + python-oslo.messaging (>= 1.4.0), |
| 63 | python-oslo.middleware (>= 0.1.0), |
| 64 | - python-oslo.messaging (>= 1.4.0), |
| 65 | python-oslo.rootwrap (>= 1.3.0), |
| 66 | + python-oslo.serialization (>= 1.0.0), |
| 67 | python-oslo.utils (>= 1.1.0), |
| 68 | - python-oslo.serialization (>= 1.0.0), |
| 69 | python-oslotest (>= 1.2.0), |
| 70 | python-paste, |
| 71 | python-pastedeploy, |
| 72 | @@ -43,8 +47,8 @@ |
| 73 | python-six (>= 1.7.0), |
| 74 | python-sqlalchemy (>= 0.9.7), |
| 75 | python-stevedore (>= 1.1.0), |
| 76 | + python-testscenarios (>= 0.4), |
| 77 | python-testtools (>= 0.9.36), |
| 78 | - python-testscenarios (>= 0.4), |
| 79 | python-webob (>= 1.2.3), |
| 80 | python-webtest (>= 2.0), |
| 81 | subunit, |
| 82 | @@ -444,15 +448,15 @@ |
| 83 | python-netaddr (>= 0.7.12), |
| 84 | python-neutronclient (>= 1:2.3.6), |
| 85 | python-novaclient (>= 1:2.18.0), |
| 86 | + python-oslo-context (>= 0.1.0), |
| 87 | python-oslo.config (>= 1:1.4.0), |
| 88 | - python-oslo-context (>= 0.1.0), |
| 89 | python-oslo.db (>= 1.1.0), |
| 90 | python-oslo.i18n (>= 1.0.0), |
| 91 | + python-oslo.messaging (>= 1.4.0), |
| 92 | python-oslo.middleware (>= 0.1.0), |
| 93 | - python-oslo.messaging (>= 1.4.0), |
| 94 | python-oslo.rootwrap (>= 1.3.0), |
| 95 | + python-oslo.serialization (>= 1.0.0), |
| 96 | python-oslo.utils (>= 1.1.0), |
| 97 | - python-oslo.serialization (>= 1.0.0), |
| 98 | python-paste, |
| 99 | python-pastedeploy, |
| 100 | python-requests (>= 2.2.0), |
| 101 | |
| 102 | === added file 'debian/neutron-common.logrotate' |
| 103 | --- debian/neutron-common.logrotate 1970-01-01 00:00:00 +0000 |
| 104 | +++ debian/neutron-common.logrotate 2015-01-12 15:16:07 +0000 |
| 105 | @@ -0,0 +1,8 @@ |
| 106 | +/var/log/neutron/*.log { |
| 107 | + daily |
| 108 | + missingok |
| 109 | + compress |
| 110 | + delaycompress |
| 111 | + notifempty |
| 112 | + copytruncate |
| 113 | +} |
| 114 | |
| 115 | === added file 'debian/neutron-dhcp-agent.init.in' |
| 116 | --- debian/neutron-dhcp-agent.init.in 1970-01-01 00:00:00 +0000 |
| 117 | +++ debian/neutron-dhcp-agent.init.in 2015-01-12 15:16:07 +0000 |
| 118 | @@ -0,0 +1,23 @@ |
| 119 | +#!/bin/sh |
| 120 | +### BEGIN INIT INFO |
| 121 | +# Provides: neutron-dhcp-agent |
| 122 | +# Required-Start: $network $local_fs $remote_fs $syslog |
| 123 | +# Required-Stop: $remote_fs |
| 124 | +# Should-Start: mysql postgresql rabbitmq-server keystone neutron-ovs-cleanup |
| 125 | +# Should-Stop: mysql postgresql rabbitmq-server keystone |
| 126 | +# Default-Start: 2 3 4 5 |
| 127 | +# Default-Stop: 0 1 6 |
| 128 | +# Short-Description: Neutron DHCP agent |
| 129 | +# Description: Provide DHCP agent for neutron |
| 130 | +### END INIT INFO |
| 131 | + |
| 132 | +# Author: Mehdi Abaakouk <sileht@sileht.net> |
| 133 | + |
| 134 | +# PATH should only include /usr/* if it runs after the mountnfs.sh script |
| 135 | +PATH=/sbin:/usr/sbin:/bin:/usr/bin |
| 136 | +DESC="OpenStack Neutron DHCP agent" |
| 137 | +PROJECT_NAME=neutron |
| 138 | +NAME=${PROJECT_NAME}-dhcp-agent |
| 139 | +# --config-file=/etc/neutron/neutron.conf will be happened |
| 140 | +# to DAEMON_ARGS later by openstack-pkg-tools |
| 141 | +DAEMON_ARGS="--config-file=/etc/neutron/dhcp_agent.ini" |
| 142 | |
| 143 | === removed file 'debian/neutron-dhcp-agent.logrotate' |
| 144 | --- debian/neutron-dhcp-agent.logrotate 2014-03-07 09:21:15 +0000 |
| 145 | +++ debian/neutron-dhcp-agent.logrotate 1970-01-01 00:00:00 +0000 |
| 146 | @@ -1,7 +0,0 @@ |
| 147 | -/var/log/neutron/dhcp-agent.log { |
| 148 | - daily |
| 149 | - missingok |
| 150 | - compress |
| 151 | - delaycompress |
| 152 | - notifempty |
| 153 | -} |
| 154 | |
| 155 | === removed file 'debian/neutron-dhcp-agent.upstart' |
| 156 | --- debian/neutron-dhcp-agent.upstart 2013-12-11 11:23:12 +0000 |
| 157 | +++ debian/neutron-dhcp-agent.upstart 1970-01-01 00:00:00 +0000 |
| 158 | @@ -1,22 +0,0 @@ |
| 159 | -# vim:set ft=upstart ts=2 et: |
| 160 | -description "Neutron DHCP Agent" |
| 161 | -author "Chuck Short <zulcss@ubuntu.com>" |
| 162 | - |
| 163 | -start on runlevel [2345] |
| 164 | -stop on runlevel [!2345] |
| 165 | - |
| 166 | -respawn |
| 167 | - |
| 168 | -chdir /var/run |
| 169 | - |
| 170 | -pre-start script |
| 171 | - mkdir -p /var/run/neutron |
| 172 | - chown neutron:root /var/run/neutron |
| 173 | - # Check to see if openvswitch plugin in use by checking |
| 174 | - # status of cleanup upstart configuration |
| 175 | - if status neutron-ovs-cleanup; then |
| 176 | - start wait-for-state WAIT_FOR=neutron-ovs-cleanup WAIT_STATE=running WAITER=neutron-dhcp-agent |
| 177 | - fi |
| 178 | -end script |
| 179 | - |
| 180 | -exec start-stop-daemon --start --chuid neutron --exec /usr/bin/neutron-dhcp-agent -- --config-file=/etc/neutron/neutron.conf --config-file=/etc/neutron/dhcp_agent.ini --log-file=/var/log/neutron/dhcp-agent.log |
| 181 | |
| 182 | === added file 'debian/neutron-dhcp-agent.upstart.in' |
| 183 | --- debian/neutron-dhcp-agent.upstart.in 1970-01-01 00:00:00 +0000 |
| 184 | +++ debian/neutron-dhcp-agent.upstart.in 2015-01-12 15:16:07 +0000 |
| 185 | @@ -0,0 +1,22 @@ |
| 186 | +# vim:set ft=upstart ts=2 et: |
| 187 | +description "Neutron DHCP Agent" |
| 188 | +author "Chuck Short <zulcss@ubuntu.com>" |
| 189 | + |
| 190 | +start on runlevel [2345] |
| 191 | +stop on runlevel [!2345] |
| 192 | + |
| 193 | +respawn |
| 194 | + |
| 195 | +chdir /var/run |
| 196 | + |
| 197 | +pre-start script |
| 198 | + mkdir -p /var/run/neutron |
| 199 | + chown neutron:root /var/run/neutron |
| 200 | + # Check to see if openvswitch plugin in use by checking |
| 201 | + # status of cleanup upstart configuration |
| 202 | + if status neutron-ovs-cleanup; then |
| 203 | + start wait-for-state WAIT_FOR=neutron-ovs-cleanup WAIT_STATE=running WAITER=neutron-dhcp-agent |
| 204 | + fi |
| 205 | +end script |
| 206 | + |
| 207 | +exec start-stop-daemon --start --chuid neutron --exec /usr/bin/neutron-dhcp-agent -- --config-file=/etc/neutron/neutron.conf --config-file=/etc/neutron/dhcp_agent.ini --log-file=/var/log/neutron/dhcp-agent.log |
| 208 | |
| 209 | === added file 'debian/neutron-l3-agent.init.in' |
| 210 | --- debian/neutron-l3-agent.init.in 1970-01-01 00:00:00 +0000 |
| 211 | +++ debian/neutron-l3-agent.init.in 2015-01-12 15:16:07 +0000 |
| 212 | @@ -0,0 +1,24 @@ |
| 213 | +#!/bin/sh |
| 214 | +### BEGIN INIT INFO |
| 215 | +# Provides: neutron-l3-agent |
| 216 | +# Required-Start: $network $local_fs $remote_fs $syslog |
| 217 | +# Required-Stop: $remote_fs |
| 218 | +# Should-Start: mysql postgresql rabbitmq-server keystone openvswitch-switch neutron-ovs-cleanup |
| 219 | +# Should-Stop: mysql postgresql rabbitmq-server keystone openvswitch-switch |
| 220 | +# Default-Start: 2 3 4 5 |
| 221 | +# Default-Stop: 0 1 6 |
| 222 | +# Short-Description: Neutron L3 agent |
| 223 | +# Description: Provide L3 agent for neutron |
| 224 | +### END INIT INFO |
| 225 | + |
| 226 | +# Authors: Mehdi Abaakouk <sileht@sileht.net> |
| 227 | +# Thomas Goirand <zigo@debian.org> |
| 228 | + |
| 229 | +# PATH should only include /usr/* if it runs after the mountnfs.sh script |
| 230 | +PATH=/sbin:/usr/sbin:/bin:/usr/bin |
| 231 | +DESC="OpenStack Neutron L3 agent" |
| 232 | +PROJECT_NAME=neutron |
| 233 | +NAME=${PROJECT_NAME}-l3-agent |
| 234 | +# --config-file=/etc/neutron/neutron.conf will be happened |
| 235 | +# to DAEMON_ARGS later by openstack-pkg-tools |
| 236 | +DAEMON_ARGS="--config-file=/etc/neutron/l3_agent.ini --config-file=/etc/neutron/fwaas_driver.ini" |
| 237 | |
| 238 | === removed file 'debian/neutron-l3-agent.logrotate' |
| 239 | --- debian/neutron-l3-agent.logrotate 2014-03-07 09:21:15 +0000 |
| 240 | +++ debian/neutron-l3-agent.logrotate 1970-01-01 00:00:00 +0000 |
| 241 | @@ -1,7 +0,0 @@ |
| 242 | -/var/log/neutron/l3-agent.log { |
| 243 | - daily |
| 244 | - missingok |
| 245 | - compress |
| 246 | - delaycompress |
| 247 | - notifempty |
| 248 | -} |
| 249 | |
| 250 | === removed file 'debian/neutron-l3-agent.upstart' |
| 251 | --- debian/neutron-l3-agent.upstart 2014-03-28 09:49:30 +0000 |
| 252 | +++ debian/neutron-l3-agent.upstart 1970-01-01 00:00:00 +0000 |
| 253 | @@ -1,24 +0,0 @@ |
| 254 | -# vim:set ft=upstart ts=2 et: |
| 255 | -description "Neutron L3 Agent" |
| 256 | -author "Chuck Short <zulcss@ubuntu.com>" |
| 257 | - |
| 258 | -start on runlevel [2345] |
| 259 | -stop on runlevel [!2345] |
| 260 | - |
| 261 | -respawn |
| 262 | - |
| 263 | -chdir /var/run |
| 264 | - |
| 265 | -pre-start script |
| 266 | - mkdir -p /var/run/neutron |
| 267 | - chown neutron:root /var/run/neutron |
| 268 | - # Check to see if openvswitch plugin in use by checking |
| 269 | - # status of cleanup upstart configuration |
| 270 | - if status neutron-ovs-cleanup; then |
| 271 | - start wait-for-state WAIT_FOR=neutron-ovs-cleanup WAIT_STATE=running WAITER=neutron-l3-agent |
| 272 | - fi |
| 273 | -end script |
| 274 | - |
| 275 | -exec start-stop-daemon --start --chuid neutron --exec /usr/bin/neutron-l3-agent -- \ |
| 276 | - --config-file=/etc/neutron/neutron.conf --config-file=/etc/neutron/l3_agent.ini \ |
| 277 | - --config-file=/etc/neutron/fwaas_driver.ini --log-file=/var/log/neutron/l3-agent.log |
| 278 | |
| 279 | === added file 'debian/neutron-l3-agent.upstart.in' |
| 280 | --- debian/neutron-l3-agent.upstart.in 1970-01-01 00:00:00 +0000 |
| 281 | +++ debian/neutron-l3-agent.upstart.in 2015-01-12 15:16:07 +0000 |
| 282 | @@ -0,0 +1,24 @@ |
| 283 | +# vim:set ft=upstart ts=2 et: |
| 284 | +description "Neutron L3 Agent" |
| 285 | +author "Chuck Short <zulcss@ubuntu.com>" |
| 286 | + |
| 287 | +start on runlevel [2345] |
| 288 | +stop on runlevel [!2345] |
| 289 | + |
| 290 | +respawn |
| 291 | + |
| 292 | +chdir /var/run |
| 293 | + |
| 294 | +pre-start script |
| 295 | + mkdir -p /var/run/neutron |
| 296 | + chown neutron:root /var/run/neutron |
| 297 | + # Check to see if openvswitch plugin in use by checking |
| 298 | + # status of cleanup upstart configuration |
| 299 | + if status neutron-ovs-cleanup; then |
| 300 | + start wait-for-state WAIT_FOR=neutron-ovs-cleanup WAIT_STATE=running WAITER=neutron-l3-agent |
| 301 | + fi |
| 302 | +end script |
| 303 | + |
| 304 | +exec start-stop-daemon --start --chuid neutron --exec /usr/bin/neutron-l3-agent -- \ |
| 305 | + --config-file=/etc/neutron/neutron.conf --config-file=/etc/neutron/l3_agent.ini \ |
| 306 | + --config-file=/etc/neutron/fwaas_driver.ini --log-file=/var/log/neutron/l3-agent.log |
| 307 | |
| 308 | === added file 'debian/neutron-lbaas-agent.init.in' |
| 309 | --- debian/neutron-lbaas-agent.init.in 1970-01-01 00:00:00 +0000 |
| 310 | +++ debian/neutron-lbaas-agent.init.in 2015-01-12 15:16:07 +0000 |
| 311 | @@ -0,0 +1,23 @@ |
| 312 | +#!/bin/sh |
| 313 | +### BEGIN INIT INFO |
| 314 | +# Provides: neutron-lbaas-agent |
| 315 | +# Required-Start: $network $local_fs $remote_fs $syslog |
| 316 | +# Required-Stop: $remote_fs |
| 317 | +# Should-Start: mysql postgresql rabbitmq-server keystone |
| 318 | +# Should-Stop: mysql postgresql rabbitmq-server keystone |
| 319 | +# Default-Start: 2 3 4 5 |
| 320 | +# Default-Stop: 0 1 6 |
| 321 | +# Short-Description: Neutron LBaaS agent |
| 322 | +# Description: Provide LBaaS agent for neutron |
| 323 | +### END INIT INFO |
| 324 | + |
| 325 | +# Author: Thomas Goirand <zigo@debian.org> |
| 326 | + |
| 327 | +# PATH should only include /usr/* if it runs after the mountnfs.sh script |
| 328 | +PATH=/sbin:/usr/sbin:/bin:/usr/bin |
| 329 | +DESC="OpenStack Neutron LBaaS agent" |
| 330 | +PROJECT_NAME=neutron |
| 331 | +NAME=${PROJECT_NAME}-lbaas-agent |
| 332 | +# --config-file=/etc/neutron/neutron.conf will be happened |
| 333 | +# to DAEMON_ARGS later by openstack-pkg-tools |
| 334 | +DAEMON_ARGS="--config-file=/etc/neutron/lbaas_agent.ini" |
| 335 | |
| 336 | === removed file 'debian/neutron-lbaas-agent.logrotate' |
| 337 | --- debian/neutron-lbaas-agent.logrotate 2014-03-07 09:21:15 +0000 |
| 338 | +++ debian/neutron-lbaas-agent.logrotate 1970-01-01 00:00:00 +0000 |
| 339 | @@ -1,7 +0,0 @@ |
| 340 | -/var/log/neutron/lbaas-agent.log { |
| 341 | - daily |
| 342 | - missingok |
| 343 | - compress |
| 344 | - delaycompress |
| 345 | - notifempty |
| 346 | -} |
| 347 | |
| 348 | === removed file 'debian/neutron-lbaas-agent.upstart' |
| 349 | --- debian/neutron-lbaas-agent.upstart 2013-08-09 08:43:23 +0000 |
| 350 | +++ debian/neutron-lbaas-agent.upstart 1970-01-01 00:00:00 +0000 |
| 351 | @@ -1,17 +0,0 @@ |
| 352 | -# vim:set ft=upstart ts=2 et: |
| 353 | -description "Neutron LBaaS Agent" |
| 354 | -author "Chuck Short <zulcss@ubuntu.com>" |
| 355 | - |
| 356 | -start on runlevel [2345] |
| 357 | -stop on runlevel [!2345] |
| 358 | - |
| 359 | -respawn |
| 360 | - |
| 361 | -chdir /var/run |
| 362 | - |
| 363 | -pre-start script |
| 364 | - mkdir -p /var/run/neutron |
| 365 | - chown neutron:root /var/run/neutron |
| 366 | -end script |
| 367 | - |
| 368 | -exec start-stop-daemon --start --chuid neutron --exec /usr/bin/neutron-lbaas-agent -- --config-file=/etc/neutron/lbaas_agent.ini --config-file=/etc/neutron/neutron.conf --log-file=/var/log/neutron/lbaas-agent.log |
| 369 | |
| 370 | === added file 'debian/neutron-metadata-agent.init.in' |
| 371 | --- debian/neutron-metadata-agent.init.in 1970-01-01 00:00:00 +0000 |
| 372 | +++ debian/neutron-metadata-agent.init.in 2015-01-12 15:16:07 +0000 |
| 373 | @@ -0,0 +1,23 @@ |
| 374 | +#!/bin/sh |
| 375 | +### BEGIN INIT INFO |
| 376 | +# Provides: neutron-metadata-agent |
| 377 | +# Required-Start: $network $local_fs $remote_fs $syslog |
| 378 | +# Required-Stop: $remote_fs |
| 379 | +# Should-Start: mysql postgresql rabbitmq-server keystone openvswitch-switch |
| 380 | +# Should-Stop: mysql postgresql rabbitmq-server keystone openvswitch-switch |
| 381 | +# Default-Start: 2 3 4 5 |
| 382 | +# Default-Stop: 0 1 6 |
| 383 | +# Short-Description: Neutron Metadata Agent agent |
| 384 | +# Description: Provide Metadata agent for neutron |
| 385 | +### END INIT INFO |
| 386 | + |
| 387 | +# Author: Thomas Goirand <zigo@debian.org> |
| 388 | + |
| 389 | +# PATH should only include /usr/* if it runs after the mountnfs.sh script |
| 390 | +PATH=/sbin:/usr/sbin:/bin:/usr/bin |
| 391 | +DESC="OpenStack Neutron Metadata Agent" |
| 392 | +PROJECT_NAME=neutron |
| 393 | +NAME=${PROJECT_NAME}-metadata-agent |
| 394 | +# --config-file=/etc/neutron/neutron.conf will be happened |
| 395 | +# to DAEMON_ARGS later by openstack-pkg-tools |
| 396 | +DAEMON_ARGS="--config-file=/etc/neutron/metadata_agent.ini" |
| 397 | |
| 398 | === removed file 'debian/neutron-metadata-agent.logrotate' |
| 399 | --- debian/neutron-metadata-agent.logrotate 2014-03-07 09:21:15 +0000 |
| 400 | +++ debian/neutron-metadata-agent.logrotate 1970-01-01 00:00:00 +0000 |
| 401 | @@ -1,7 +0,0 @@ |
| 402 | -/var/log/neutron/metadata-agent.log { |
| 403 | - daily |
| 404 | - missingok |
| 405 | - compress |
| 406 | - delaycompress |
| 407 | - notifempty |
| 408 | -} |
| 409 | |
| 410 | === removed file 'debian/neutron-metadata-agent.upstart' |
| 411 | --- debian/neutron-metadata-agent.upstart 2013-08-09 08:43:23 +0000 |
| 412 | +++ debian/neutron-metadata-agent.upstart 1970-01-01 00:00:00 +0000 |
| 413 | @@ -1,19 +0,0 @@ |
| 414 | -# vim:set ft=upstart ts=2 et: |
| 415 | -description "Neutron Metadata Plugin Agent" |
| 416 | -author "Yolanda Robla <yolanda.robla@canonical.com>" |
| 417 | - |
| 418 | -start on runlevel [2345] |
| 419 | -stop on runlevel [!2345] |
| 420 | - |
| 421 | -respawn |
| 422 | - |
| 423 | -chdir /var/run |
| 424 | - |
| 425 | -pre-start script |
| 426 | - mkdir -p /var/run/neutron |
| 427 | - chown neutron:root /var/run/neutron |
| 428 | -end script |
| 429 | - |
| 430 | -exec start-stop-daemon --start --chuid neutron --exec /usr/bin/neutron-metadata-agent -- \ |
| 431 | - --config-file=/etc/neutron/neutron.conf --config-file=/etc/neutron/metadata_agent.ini \ |
| 432 | - --log-file=/var/log/neutron/metadata-agent.log |
| 433 | |
| 434 | === added file 'debian/neutron-metering-agent.init.in' |
| 435 | --- debian/neutron-metering-agent.init.in 1970-01-01 00:00:00 +0000 |
| 436 | +++ debian/neutron-metering-agent.init.in 2015-01-12 15:16:07 +0000 |
| 437 | @@ -0,0 +1,23 @@ |
| 438 | +#!/bin/sh |
| 439 | +### BEGIN INIT INFO |
| 440 | +# Provides: neutron-metering-agent |
| 441 | +# Required-Start: $network $local_fs $remote_fs $syslog |
| 442 | +# Required-Stop: $remote_fs |
| 443 | +# Should-Start: mysql postgresql rabbitmq-server keystone openvswitch-switch |
| 444 | +# Should-Stop: mysql postgresql rabbitmq-server keystone openvswitch-switch |
| 445 | +# Default-Start: 2 3 4 5 |
| 446 | +# Default-Stop: 0 1 6 |
| 447 | +# Short-Description: Neutron Metering Agent agent |
| 448 | +# Description: Provides Metering agent for neutron |
| 449 | +### END INIT INFO |
| 450 | + |
| 451 | +# Author: Thomas Goirand <zigo@debian.org> |
| 452 | + |
| 453 | +# PATH should only include /usr/* if it runs after the mountnfs.sh script |
| 454 | +PATH=/sbin:/usr/sbin:/bin:/usr/bin |
| 455 | +DESC="OpenStack Neutron Metering Agent" |
| 456 | +PROJECT_NAME=neutron |
| 457 | +NAME=${PROJECT_NAME}-metering-agent |
| 458 | +# --config-file=/etc/neutron/neutron.conf will be happened |
| 459 | +# to DAEMON_ARGS later by openstack-pkg-tools |
| 460 | +DAEMON_ARGS="--config-file=/etc/neutron/metering_agent.ini" |
| 461 | |
| 462 | === removed file 'debian/neutron-metering-agent.upstart' |
| 463 | --- debian/neutron-metering-agent.upstart 2014-03-18 15:54:37 +0000 |
| 464 | +++ debian/neutron-metering-agent.upstart 1970-01-01 00:00:00 +0000 |
| 465 | @@ -1,19 +0,0 @@ |
| 466 | -# vim:set ft=upstart ts=2 et: |
| 467 | -description "Neutron Metering Agent" |
| 468 | -author "Chuck Short <zulcss@ubuntu.com>" |
| 469 | - |
| 470 | -start on runlevel [2345] |
| 471 | -stop on runlevel [!2345] |
| 472 | - |
| 473 | -respawn |
| 474 | - |
| 475 | -chdir /var/run |
| 476 | - |
| 477 | -pre-start script |
| 478 | - mkdir -p /var/run/neutron |
| 479 | - chown neutron:root /var/run/neutron |
| 480 | -end script |
| 481 | - |
| 482 | -exec start-stop-daemon --start --chuid neutron --exec /usr/bin/neutron-metering-agent -- \ |
| 483 | - --config-file=/etc/neutron/neutron.conf --config-file=/etc/neutron/metering_agent.ini \ |
| 484 | - --log-file=/var/log/neutron/metering_agent.log |
| 485 | |
| 486 | === added file 'debian/neutron-plugin-bigswitch-agent.init.in' |
| 487 | --- debian/neutron-plugin-bigswitch-agent.init.in 1970-01-01 00:00:00 +0000 |
| 488 | +++ debian/neutron-plugin-bigswitch-agent.init.in 2015-01-12 15:16:07 +0000 |
| 489 | @@ -0,0 +1,22 @@ |
| 490 | +#!/bin/sh |
| 491 | +### BEGIN INIT INFO |
| 492 | +# Provides: neutron-plugin-bigswitch-agent |
| 493 | +# Required-Start: $network $local_fs $remote_fs $syslog |
| 494 | +# Required-Stop: $remote_fs |
| 495 | +# Should-Start: mysql postgresql rabbitmq-server keystone |
| 496 | +# Should-Stop: mysql postgresql rabbitmq-server keystone |
| 497 | +# Default-Start: 2 3 4 5 |
| 498 | +# Default-Stop: 0 1 6 |
| 499 | +# Short-Description: Neutron Bigswitch Agent |
| 500 | +# Description: BigSwitch SDN agent for OpenStack Neutron |
| 501 | +### END INIT INFO |
| 502 | + |
| 503 | +# Authors: James Page <james.page@ubuntu.com> |
| 504 | + |
| 505 | +DESC="Openstack Neutron BigSwitch Plugin Agent" |
| 506 | +PROJECT_NAME=neutron |
| 507 | +NAME=${PROJECT_NAME}-plugin-bigswitch-agent |
| 508 | +DAEMON=/usr/bin/neutron-restproxy-agent |
| 509 | +# --config-file=/etc/neutron/neutron.conf will be happened |
| 510 | +# to DAEMON_ARGS later by openstack-pkg-tools |
| 511 | +DAEMON_ARGS="--config-file=/etc/neutron/plugins/bigswitch/restproxy.ini" |
| 512 | |
| 513 | === removed file 'debian/neutron-plugin-bigswitch-agent.logrotate' |
| 514 | --- debian/neutron-plugin-bigswitch-agent.logrotate 2014-03-07 09:21:15 +0000 |
| 515 | +++ debian/neutron-plugin-bigswitch-agent.logrotate 1970-01-01 00:00:00 +0000 |
| 516 | @@ -1,7 +0,0 @@ |
| 517 | -/var/log/neutron/bigswitch-agent.log { |
| 518 | - daily |
| 519 | - missingok |
| 520 | - compress |
| 521 | - delaycompress |
| 522 | - notifempty |
| 523 | -} |
| 524 | |
| 525 | === removed file 'debian/neutron-plugin-bigswitch-agent.upstart' |
| 526 | --- debian/neutron-plugin-bigswitch-agent.upstart 2014-03-07 09:37:41 +0000 |
| 527 | +++ debian/neutron-plugin-bigswitch-agent.upstart 1970-01-01 00:00:00 +0000 |
| 528 | @@ -1,20 +0,0 @@ |
| 529 | -# vim:set ft=upstart ts=2 et: |
| 530 | -description "Neutron BigSwitch Plugin Agent" |
| 531 | -author "Chuck Short <zulcss@ubuntu.com>" |
| 532 | - |
| 533 | -start on runlevel [2345] |
| 534 | -stop on runlevel [!2345] |
| 535 | - |
| 536 | -respawn |
| 537 | - |
| 538 | -chdir /var/run |
| 539 | - |
| 540 | -pre-start script |
| 541 | - mkdir -p /var/run/neutron |
| 542 | - chown neutron:root /var/run/neutron |
| 543 | -end script |
| 544 | - |
| 545 | -exec start-stop-daemon --start --chuid neutron --exec /usr/bin/neutron-restproxy-agent -- \ |
| 546 | - --config-file=/etc/neutron/neutron.conf \ |
| 547 | - --config-file=/etc/neutron/plugins/bigswitch/restproxy.ini \ |
| 548 | - --log-file=/var/log/neutron/bigswitch-agent.log |
| 549 | |
| 550 | === added file 'debian/neutron-plugin-ibm-agent.init.in' |
| 551 | --- debian/neutron-plugin-ibm-agent.init.in 1970-01-01 00:00:00 +0000 |
| 552 | +++ debian/neutron-plugin-ibm-agent.init.in 2015-01-12 15:16:07 +0000 |
| 553 | @@ -0,0 +1,21 @@ |
| 554 | +#!/bin/sh |
| 555 | +### BEGIN INIT INFO |
| 556 | +# Provides: neutron-plugin-ibm-agent |
| 557 | +# Required-Start: $network $local_fs $remote_fs $syslog |
| 558 | +# Required-Stop: $remote_fs |
| 559 | +# Should-Start: mysql postgresql rabbitmq-server keystone |
| 560 | +# Should-Stop: mysql postgresql rabbitmq-server keystone |
| 561 | +# Default-Start: 2 3 4 5 |
| 562 | +# Default-Stop: 0 1 6 |
| 563 | +# Short-Description: Neutron IBM Agent |
| 564 | +# Description: IBM SDN agent for OpenStack Neutron |
| 565 | +### END INIT INFO |
| 566 | + |
| 567 | +# Authors: James Page <james.page@ubuntu.com> |
| 568 | + |
| 569 | +DESC="Openstack Neutron IBM Plugin Agent" |
| 570 | +PROJECT_NAME=neutron |
| 571 | +NAME=${PROJECT_NAME}-plugin-ibm-agent |
| 572 | +# --config-file=/etc/neutron/neutron.conf will be happened |
| 573 | +# to DAEMON_ARGS later by openstack-pkg-tools |
| 574 | +DAEMON_ARGS="--config-file=/etc/neutron/plugins/ibm/sdnve_neutron_plugin.ini" |
| 575 | |
| 576 | === removed file 'debian/neutron-plugin-ibm-agent.logrotate' |
| 577 | --- debian/neutron-plugin-ibm-agent.logrotate 2014-03-07 09:21:15 +0000 |
| 578 | +++ debian/neutron-plugin-ibm-agent.logrotate 1970-01-01 00:00:00 +0000 |
| 579 | @@ -1,7 +0,0 @@ |
| 580 | -/var/log/neutron/ibm-agent.log { |
| 581 | - daily |
| 582 | - missingok |
| 583 | - compress |
| 584 | - delaycompress |
| 585 | - notifempty |
| 586 | -} |
| 587 | |
| 588 | === removed file 'debian/neutron-plugin-ibm-agent.upstart' |
| 589 | --- debian/neutron-plugin-ibm-agent.upstart 2014-03-07 09:37:41 +0000 |
| 590 | +++ debian/neutron-plugin-ibm-agent.upstart 1970-01-01 00:00:00 +0000 |
| 591 | @@ -1,20 +0,0 @@ |
| 592 | -# vim:set ft=upstart ts=2 et: |
| 593 | -description "Neutron IBM SDN Agent" |
| 594 | -author "Chuck Short <zulcss@ubuntu.com>" |
| 595 | - |
| 596 | -start on runlevel [2345] |
| 597 | -stop on runlevel [!2345] |
| 598 | - |
| 599 | -respawn |
| 600 | - |
| 601 | -chdir /var/run |
| 602 | - |
| 603 | -pre-start script |
| 604 | - mkdir -p /var/run/neutron |
| 605 | - chown neutron:root /var/run/neutron |
| 606 | -end script |
| 607 | - |
| 608 | -exec start-stop-daemon --start --chuid neutron --exec /usr/bin/neutron-ibm-agent -- \ |
| 609 | - --config-file=/etc/neutron/neutron.conf \ |
| 610 | - --config-file=/etc/neutron/plugins/ibm/sdnve_neutron_plugin.ini \ |
| 611 | - --log-file=/var/log/neutron/ibm-agent.log |
| 612 | |
| 613 | === added file 'debian/neutron-plugin-linuxbridge-agent.init.in' |
| 614 | --- debian/neutron-plugin-linuxbridge-agent.init.in 1970-01-01 00:00:00 +0000 |
| 615 | +++ debian/neutron-plugin-linuxbridge-agent.init.in 2015-01-12 15:16:07 +0000 |
| 616 | @@ -0,0 +1,23 @@ |
| 617 | +#!/bin/sh |
| 618 | +### BEGIN INIT INFO |
| 619 | +# Provides: neutron-plugin-linuxbridge-agent |
| 620 | +# Required-Start: $network $local_fs $remote_fs $syslog |
| 621 | +# Required-Stop: $remote_fs |
| 622 | +# Should-Start: mysql postgresql rabbitmq-server keystone |
| 623 | +# Should-Stop: mysql postgresql rabbitmq-server keystone |
| 624 | +# Default-Start: 2 3 4 5 |
| 625 | +# Default-Stop: 0 1 6 |
| 626 | +# Short-Description: Neutron LinuxBridge Agent |
| 627 | +# Description: Agent to use within neutron linuxbridge client |
| 628 | +### END INIT INFO |
| 629 | + |
| 630 | +# Author: Ghe Rivero <ghe.rivero@stackops.com> |
| 631 | + |
| 632 | +# PATH should only include /usr/* if it runs after the mountnfs.sh script |
| 633 | +PATH=/sbin:/usr/sbin:/bin:/usr/bin |
| 634 | +DESC="Openstack Neutron LinuxBridge Plugin Agent" |
| 635 | +PROJECT_NAME=neutron |
| 636 | +NAME=${PROJECT_NAME}-plugin-linuxbridge-agent |
| 637 | +# --config-file=/etc/neutron/neutron.conf will be happened |
| 638 | +# to DAEMON_ARGS later by openstack-pkg-tools |
| 639 | +DAEMON_ARGS="--config-file=/etc/neutron/plugins/ml2/ml2_conf.ini" |
| 640 | |
| 641 | === removed file 'debian/neutron-plugin-linuxbridge-agent.logrotate' |
| 642 | --- debian/neutron-plugin-linuxbridge-agent.logrotate 2014-03-07 09:21:15 +0000 |
| 643 | +++ debian/neutron-plugin-linuxbridge-agent.logrotate 1970-01-01 00:00:00 +0000 |
| 644 | @@ -1,7 +0,0 @@ |
| 645 | -/var/log/neutron/linuxbridge-agent.log { |
| 646 | - daily |
| 647 | - missingok |
| 648 | - compress |
| 649 | - delaycompress |
| 650 | - notifempty |
| 651 | -} |
| 652 | |
| 653 | === removed file 'debian/neutron-plugin-linuxbridge-agent.upstart' |
| 654 | --- debian/neutron-plugin-linuxbridge-agent.upstart 2014-10-03 17:45:30 +0000 |
| 655 | +++ debian/neutron-plugin-linuxbridge-agent.upstart 1970-01-01 00:00:00 +0000 |
| 656 | @@ -1,17 +0,0 @@ |
| 657 | -# vim:set ft=upstart ts=2 et: |
| 658 | -description "Neutron API Server" |
| 659 | -author "Chuck Short <zulcss@ubuntu.com>" |
| 660 | - |
| 661 | -start on runlevel [2345] |
| 662 | -stop on runlevel [!2345] |
| 663 | - |
| 664 | -respawn |
| 665 | - |
| 666 | -chdir /var/run |
| 667 | - |
| 668 | -pre-start script |
| 669 | - mkdir -p /var/run/neutron |
| 670 | - chown neutron:root /var/run/neutron |
| 671 | -end script |
| 672 | - |
| 673 | -exec start-stop-daemon --start --chuid neutron --exec /usr/bin/neutron-linuxbridge-agent -- --config-file=/etc/neutron/neutron.conf --config-file=/etc/neutron/plugins/ml2/ml2_conf.ini --log-file=/var/log/neutron/linuxbridge-agent.log |
| 674 | |
| 675 | === added file 'debian/neutron-plugin-mlnx-agent.init.in' |
| 676 | --- debian/neutron-plugin-mlnx-agent.init.in 1970-01-01 00:00:00 +0000 |
| 677 | +++ debian/neutron-plugin-mlnx-agent.init.in 2015-01-12 15:16:07 +0000 |
| 678 | @@ -0,0 +1,21 @@ |
| 679 | +#!/bin/sh |
| 680 | +### BEGIN INIT INFO |
| 681 | +# Provides: neutron-plugin-mlnx-agent |
| 682 | +# Required-Start: $network $local_fs $remote_fs $syslog |
| 683 | +# Required-Stop: $remote_fs |
| 684 | +# Should-Start: mysql postgresql rabbitmq-server keystone |
| 685 | +# Should-Stop: mysql postgresql rabbitmq-server keystone |
| 686 | +# Default-Start: 2 3 4 5 |
| 687 | +# Default-Stop: 0 1 6 |
| 688 | +# Short-Description: Neutron Mellanox Agent |
| 689 | +# Description: Mellanox SDN agent for OpenStack Neutron |
| 690 | +### END INIT INFO |
| 691 | + |
| 692 | +# Authors: James Page <james.page@ubuntu.com> |
| 693 | + |
| 694 | +DESC="OpenStack Neutron Mellanox Plugin Agent" |
| 695 | +PROJECT_NAME=neutron |
| 696 | +NAME=${PROJECT_NAME}-plugin-mlnx-agent |
| 697 | +# --config-file=/etc/neutron/neutron.conf will be happened |
| 698 | +# to DAEMON_ARGS later by openstack-pkg-tools |
| 699 | +DAEMON_ARGS="--config-file=/etc/neutron/plugins/mlnx/mlnx_conf.ini" |
| 700 | |
| 701 | === removed file 'debian/neutron-plugin-mlnx-agent.logrotate' |
| 702 | --- debian/neutron-plugin-mlnx-agent.logrotate 2014-03-07 09:26:23 +0000 |
| 703 | +++ debian/neutron-plugin-mlnx-agent.logrotate 1970-01-01 00:00:00 +0000 |
| 704 | @@ -1,7 +0,0 @@ |
| 705 | -/var/log/neutron/mlnx-agent.log { |
| 706 | - daily |
| 707 | - missingok |
| 708 | - compress |
| 709 | - delaycompress |
| 710 | - notifempty |
| 711 | -} |
| 712 | |
| 713 | === removed file 'debian/neutron-plugin-mlnx-agent.upstart' |
| 714 | --- debian/neutron-plugin-mlnx-agent.upstart 2014-03-07 09:26:23 +0000 |
| 715 | +++ debian/neutron-plugin-mlnx-agent.upstart 1970-01-01 00:00:00 +0000 |
| 716 | @@ -1,19 +0,0 @@ |
| 717 | -# vim:set ft=upstart ts=2 et: |
| 718 | -description "Neutron MLNX Plugin Agent" |
| 719 | -author "Chuck Short <zulcss@ubuntu.com>" |
| 720 | - |
| 721 | -start on runlevel [2345] |
| 722 | -stop on runlevel [!2345] |
| 723 | - |
| 724 | -respawn |
| 725 | - |
| 726 | -chdir /var/run |
| 727 | - |
| 728 | -pre-start script |
| 729 | - mkdir -p /var/run/neutron |
| 730 | - chown neutron:root /var/run/neutron |
| 731 | -end script |
| 732 | - |
| 733 | -exec start-stop-daemon --start --chuid neutron --exec /usr/bin/neutron-mlnx-agent -- \ |
| 734 | - --config-file=/etc/neutron/neutron.conf --config-file=/etc/neutron/plugins/mlnx/mlnx_conf.ini \ |
| 735 | - --log-file=/var/log/neutron/mlnx-agent.log |
| 736 | |
| 737 | === added file 'debian/neutron-plugin-nec-agent.init.in' |
| 738 | --- debian/neutron-plugin-nec-agent.init.in 1970-01-01 00:00:00 +0000 |
| 739 | +++ debian/neutron-plugin-nec-agent.init.in 2015-01-12 15:16:07 +0000 |
| 740 | @@ -0,0 +1,21 @@ |
| 741 | +#!/bin/sh |
| 742 | +### BEGIN INIT INFO |
| 743 | +# Provides: neutron-plugin-nec-agent |
| 744 | +# Required-Start: $network $local_fs $remote_fs $syslog |
| 745 | +# Required-Stop: $remote_fs |
| 746 | +# Should-Start: mysql postgresql rabbitmq-server keystone |
| 747 | +# Should-Stop: mysql postgresql rabbitmq-server keystone |
| 748 | +# Default-Start: 2 3 4 5 |
| 749 | +# Default-Stop: 0 1 6 |
| 750 | +# Short-Description: Neutron NEC Agent |
| 751 | +# Description: NEC SDN agent for OpenStack Neutron |
| 752 | +### END INIT INFO |
| 753 | + |
| 754 | +# Authors: James Page <james.page@ubuntu.com> |
| 755 | + |
| 756 | +DESC="OpenStack Neutron NEC Plugin Agent" |
| 757 | +PROJECT_NAME=neutron |
| 758 | +NAME=${PROJECT_NAME}-plugin-nec-agent |
| 759 | +# --config-file=/etc/neutron/neutron.conf will be happened |
| 760 | +# to DAEMON_ARGS later by openstack-pkg-tools |
| 761 | +DAEMON_ARGS="--config-file=/etc/neutron/plugins/nec/nec.ini" |
| 762 | |
| 763 | === removed file 'debian/neutron-plugin-nec-agent.logrotate' |
| 764 | --- debian/neutron-plugin-nec-agent.logrotate 2014-03-07 09:21:15 +0000 |
| 765 | +++ debian/neutron-plugin-nec-agent.logrotate 1970-01-01 00:00:00 +0000 |
| 766 | @@ -1,7 +0,0 @@ |
| 767 | -/var/log/neutron/nec-agent.log { |
| 768 | - daily |
| 769 | - missingok |
| 770 | - compress |
| 771 | - delaycompress |
| 772 | - notifempty |
| 773 | -} |
| 774 | |
| 775 | === removed file 'debian/neutron-plugin-nec-agent.upstart' |
| 776 | --- debian/neutron-plugin-nec-agent.upstart 2013-08-09 08:43:23 +0000 |
| 777 | +++ debian/neutron-plugin-nec-agent.upstart 1970-01-01 00:00:00 +0000 |
| 778 | @@ -1,17 +0,0 @@ |
| 779 | -# vim:set ft=upstart ts=2 et: |
| 780 | -description "Neutron NEC Plugin Agent" |
| 781 | -author "Chuck Short <zulcss@ubuntu.com>" |
| 782 | - |
| 783 | -start on runlevel [2345] |
| 784 | -stop on runlevel [!2345] |
| 785 | - |
| 786 | -respawn |
| 787 | - |
| 788 | -chdir /var/run |
| 789 | - |
| 790 | -pre-start script |
| 791 | - mkdir -p /var/run/neutron |
| 792 | - chown neutron:root /var/run/neutron |
| 793 | -end script |
| 794 | - |
| 795 | -exec start-stop-daemon --start --chuid neutron --exec /usr/bin/neutron-nec-agent -- --config-file=/etc/neutron/neutron.conf --config-file=/etc/neutron/plugins/nec/nec.ini --log-file=/var/log/neutron/nec-agent.log |
| 796 | |
| 797 | === added file 'debian/neutron-plugin-oneconvergence-agent.init.in' |
| 798 | --- debian/neutron-plugin-oneconvergence-agent.init.in 1970-01-01 00:00:00 +0000 |
| 799 | +++ debian/neutron-plugin-oneconvergence-agent.init.in 2015-01-12 15:16:07 +0000 |
| 800 | @@ -0,0 +1,22 @@ |
| 801 | +#!/bin/sh |
| 802 | +### BEGIN INIT INFO |
| 803 | +# Provides: neutron-plugin-oneconvergence-agent |
| 804 | +# Required-Start: $network $local_fs $remote_fs $syslog |
| 805 | +# Required-Stop: $remote_fs |
| 806 | +# Should-Start: mysql postgresql rabbitmq-server keystone |
| 807 | +# Should-Stop: mysql postgresql rabbitmq-server keystone |
| 808 | +# Default-Start: 2 3 4 5 |
| 809 | +# Default-Stop: 0 1 6 |
| 810 | +# Short-Description: Neutron One Convergence Agent |
| 811 | +# Description: One Convergence SDN agent for OpenStack Neutron |
| 812 | +### END INIT INFO |
| 813 | + |
| 814 | +# Authors: James Page <james.page@ubuntu.com> |
| 815 | + |
| 816 | +DESC="OpenStack Neutron One Convergence Plugin Agent" |
| 817 | +PROJECT_NAME=neutron |
| 818 | +NAME=${PROJECT_NAME}-plugin-oneconvergence-agent |
| 819 | +DAEMON=/usr/bin/neutron-nvsd-agent |
| 820 | +# --config-file=/etc/neutron/neutron.conf will be happened |
| 821 | +# to DAEMON_ARGS later by openstack-pkg-tools |
| 822 | +DAEMON_ARGS="--config-file=/etc/neutron/plugins/oneconvergence/nvsdplugin.ini" |
| 823 | |
| 824 | === removed file 'debian/neutron-plugin-oneconvergence-agent.logrotate' |
| 825 | --- debian/neutron-plugin-oneconvergence-agent.logrotate 2014-03-20 15:42:58 +0000 |
| 826 | +++ debian/neutron-plugin-oneconvergence-agent.logrotate 1970-01-01 00:00:00 +0000 |
| 827 | @@ -1,7 +0,0 @@ |
| 828 | -/var/log/neutron/nvsd-agent.log { |
| 829 | - daily |
| 830 | - missingok |
| 831 | - compress |
| 832 | - delaycompress |
| 833 | - notifempty |
| 834 | -} |
| 835 | |
| 836 | === removed file 'debian/neutron-plugin-oneconvergence-agent.upstart' |
| 837 | --- debian/neutron-plugin-oneconvergence-agent.upstart 2014-04-07 16:24:11 +0000 |
| 838 | +++ debian/neutron-plugin-oneconvergence-agent.upstart 1970-01-01 00:00:00 +0000 |
| 839 | @@ -1,18 +0,0 @@ |
| 840 | -# vim:set ft=upstart ts=2 et: |
| 841 | -description "One Convergence Plugin Agent" |
| 842 | -author "Chuck Short <zulcss@ubuntu.com>" |
| 843 | - |
| 844 | -start on runlevel [2345] |
| 845 | -stop on runlevel [!2345] |
| 846 | - |
| 847 | -respawn |
| 848 | - |
| 849 | -chdir /var/run |
| 850 | - |
| 851 | -pre-start script |
| 852 | - mkdir -p /var/run/neutron |
| 853 | - chown neutron:root /var/run/neutron |
| 854 | -end script |
| 855 | - |
| 856 | -exec start-stop-daemon --start --chuid neutron --exec /usr/bin/neutron-nvsd-agent -- --config-file=/etc/neutron/neutron.conf --config-file=/etc/neutron/plugins/oneconvergence/nvsdplugin.ini --log-file=/var/log/neutron/nvsd-agent.log |
| 857 | - |
| 858 | |
| 859 | === added file 'debian/neutron-plugin-openflow-agent.init.in' |
| 860 | --- debian/neutron-plugin-openflow-agent.init.in 1970-01-01 00:00:00 +0000 |
| 861 | +++ debian/neutron-plugin-openflow-agent.init.in 2015-01-12 15:16:07 +0000 |
| 862 | @@ -0,0 +1,22 @@ |
| 863 | +#!/bin/sh |
| 864 | +### BEGIN INIT INFO |
| 865 | +# Provides: neutron-plugin-openflow-agent |
| 866 | +# Required-Start: $network $local_fs $remote_fs $syslog |
| 867 | +# Required-Stop: $remote_fs |
| 868 | +# Should-Start: mysql postgresql rabbitmq-server keystone |
| 869 | +# Should-Stop: mysql postgresql rabbitmq-server keystone |
| 870 | +# Default-Start: 2 3 4 5 |
| 871 | +# Default-Stop: 0 1 6 |
| 872 | +# Short-Description: Neutron OpenFlow Agent |
| 873 | +# Description: OpenFlow SDN agent for OpenStack Neutron |
| 874 | +### END INIT INFO |
| 875 | + |
| 876 | +# Authors: James Page <james.page@ubuntu.com> |
| 877 | + |
| 878 | +DESC="OpenStack Neutron OpenFlow Plugin Agent" |
| 879 | +PROJECT_NAME=neutron |
| 880 | +NAME=${PROJECT_NAME}-plugin-openflow-agent |
| 881 | +DAEMON=/usr/bin/neutron-ofagent-agent |
| 882 | +# --config-file=/etc/neutron/neutron.conf will be happened |
| 883 | +# to DAEMON_ARGS later by openstack-pkg-tools |
| 884 | +DAEMON_ARGS="--config-file=/etc/neutron/plugins/ml2/ml2_conf_ofa.ini" |
| 885 | |
| 886 | === removed file 'debian/neutron-plugin-openflow-agent.logrotate' |
| 887 | --- debian/neutron-plugin-openflow-agent.logrotate 2014-03-07 09:21:15 +0000 |
| 888 | +++ debian/neutron-plugin-openflow-agent.logrotate 1970-01-01 00:00:00 +0000 |
| 889 | @@ -1,7 +0,0 @@ |
| 890 | -/var/log/neutron/openflow-agent.log { |
| 891 | - daily |
| 892 | - missingok |
| 893 | - compress |
| 894 | - delaycompress |
| 895 | - notifempty |
| 896 | -} |
| 897 | |
| 898 | === removed file 'debian/neutron-plugin-openflow-agent.upstart' |
| 899 | --- debian/neutron-plugin-openflow-agent.upstart 2014-03-07 09:37:41 +0000 |
| 900 | +++ debian/neutron-plugin-openflow-agent.upstart 1970-01-01 00:00:00 +0000 |
| 901 | @@ -1,20 +0,0 @@ |
| 902 | -# vim:set ft=upstart ts=2 et: |
| 903 | -description "Neutron OpenFlow Plugin Agent" |
| 904 | -author "Chuck Short <zulcss@ubuntu.com>" |
| 905 | - |
| 906 | -start on runlevel [2345] |
| 907 | -stop on runlevel [!2345] |
| 908 | - |
| 909 | -respawn |
| 910 | - |
| 911 | -chdir /var/run |
| 912 | - |
| 913 | -pre-start script |
| 914 | - mkdir -p /var/run/neutron |
| 915 | - chown neutron:root /var/run/neutron |
| 916 | -end script |
| 917 | - |
| 918 | -exec start-stop-daemon --start --chuid neutron --exec /usr/bin/neutron-ofagent-agent -- \ |
| 919 | - --config-file=/etc/neutron/neutron.conf \ |
| 920 | - --config-file=/etc/neutron/plugins/ml2/ml2_conf_ofa.ini \ |
| 921 | - --log-file=/var/log/neutron/openflow-agent.log |
| 922 | |
| 923 | === added file 'debian/neutron-plugin-openvswitch-agent.init.in' |
| 924 | --- debian/neutron-plugin-openvswitch-agent.init.in 1970-01-01 00:00:00 +0000 |
| 925 | +++ debian/neutron-plugin-openvswitch-agent.init.in 2015-01-12 15:16:07 +0000 |
| 926 | @@ -0,0 +1,20 @@ |
| 927 | +#!/bin/sh |
| 928 | +### BEGIN INIT INFO |
| 929 | +# Provides: neutron-plugin-openvswitch-agent |
| 930 | +# Required-Start: $network $local_fs $remote_fs $syslog |
| 931 | +# Required-Stop: $remote_fs openvswitch-switch |
| 932 | +# Should-Start: mysql postgresql rabbitmq-server keystone neutron-ovs-cleanup |
| 933 | +# Should-Stop: mysql postgresql rabbitmq-server keystone |
| 934 | +# Default-Start: 2 3 4 5 |
| 935 | +# Default-Stop: 0 1 6 |
| 936 | +# Short-Description: Neutron Open vSwitch Agent |
| 937 | +# Description: Open vSwitch agent for OpenStack Neutron ML2 plugin |
| 938 | +### END INIT INFO |
| 939 | + |
| 940 | +# Authors: Julien Danjou <acid@debian.org>, Thomas Goirand <zigo@debian.org> |
| 941 | + |
| 942 | +DESC="Openstack Neutron Open vSwitch Plugin Agent" |
| 943 | +PROJECT_NAME=neutron |
| 944 | +NAME=${PROJECT_NAME}-plugin-openvswitch-agent |
| 945 | +DAEMON=/usr/bin/neutron-openvswitch-agent |
| 946 | +DAEMON_ARGS="--config-file=/etc/neutron/plugins/ml2/ml2_conf.ini" |
| 947 | |
| 948 | === removed file 'debian/neutron-plugin-openvswitch-agent.logrotate' |
| 949 | --- debian/neutron-plugin-openvswitch-agent.logrotate 2014-03-07 09:21:15 +0000 |
| 950 | +++ debian/neutron-plugin-openvswitch-agent.logrotate 1970-01-01 00:00:00 +0000 |
| 951 | @@ -1,7 +0,0 @@ |
| 952 | -/var/log/neutron/openvswitch-agent.log { |
| 953 | - daily |
| 954 | - missingok |
| 955 | - compress |
| 956 | - delaycompress |
| 957 | - notifempty |
| 958 | -} |
| 959 | |
| 960 | === added file 'debian/neutron-plugin-openvswitch-agent.neutron-ovs-cleanup.init.in' |
| 961 | --- debian/neutron-plugin-openvswitch-agent.neutron-ovs-cleanup.init.in 1970-01-01 00:00:00 +0000 |
| 962 | +++ debian/neutron-plugin-openvswitch-agent.neutron-ovs-cleanup.init.in 2015-01-12 15:16:07 +0000 |
| 963 | @@ -0,0 +1,18 @@ |
| 964 | +#!/bin/sh |
| 965 | +### BEGIN INIT INFO |
| 966 | +# Provides: neutron-ovs-cleanup |
| 967 | +# Required-Start: $network $local_fs $remote_fs $syslog openvswitch-switch |
| 968 | +# Required-Stop: $remote_fs |
| 969 | +# Should-Start: |
| 970 | +# Should-Stop: |
| 971 | +# Default-Start: 2 3 4 5 |
| 972 | +# Default-Stop: 0 1 6 |
| 973 | +# Short-Description: Neutron OVS Cleanup |
| 974 | +# Description: OpenvSwitch Cleanup for OpenStack Neutron |
| 975 | +### END INIT INFO |
| 976 | + |
| 977 | +# Authors: James Page <james.page@ubuntu.com> |
| 978 | + |
| 979 | +DESC="OpenStack Neutron OVS cleanup" |
| 980 | +PROJECT_NAME=neutron |
| 981 | +NAME=${PROJECT_NAME}-ovs-cleanup |
| 982 | |
| 983 | === added file 'debian/neutron-plugin-openvswitch-agent.neutron-ovs-cleanup.service.in' |
| 984 | --- debian/neutron-plugin-openvswitch-agent.neutron-ovs-cleanup.service.in 1970-01-01 00:00:00 +0000 |
| 985 | +++ debian/neutron-plugin-openvswitch-agent.neutron-ovs-cleanup.service.in 2015-01-12 15:16:07 +0000 |
| 986 | @@ -0,0 +1,17 @@ |
| 987 | +[Unit] |
| 988 | +Description=OpenStack Neutron OVS cleanup |
| 989 | + |
| 990 | +[Service] |
| 991 | +type=oneshot |
| 992 | +User=neutron |
| 993 | +Group=neutron |
| 994 | +WorkingDirectory=/var/lib/neutron |
| 995 | +PermissionsStartOnly=true |
| 996 | +ExecStartPre=/bin/mkdir -p /var/lock/neutron /var/log/neutron /var/lib/neutron |
| 997 | +ExecStartPre=/bin/chown neutron:neutron /var/lock/neutron /var/log/neutron /var/lib/neutron |
| 998 | +ExecStart=/etc/init.d/neutron-ovs-cleanup systemd-start |
| 999 | +RemainAfterExit=yes |
| 1000 | + |
| 1001 | +[Install] |
| 1002 | +WantedBy=multi-user.target |
| 1003 | + |
| 1004 | |
| 1005 | === removed file 'debian/neutron-plugin-openvswitch-agent.neutron-ovs-cleanup.upstart' |
| 1006 | --- debian/neutron-plugin-openvswitch-agent.neutron-ovs-cleanup.upstart 2013-12-11 11:57:43 +0000 |
| 1007 | +++ debian/neutron-plugin-openvswitch-agent.neutron-ovs-cleanup.upstart 1970-01-01 00:00:00 +0000 |
| 1008 | @@ -1,13 +0,0 @@ |
| 1009 | -# vim:set ft=upstart ts=2 et: |
| 1010 | -description "Neutron OVS cleanup" |
| 1011 | -author "James Page <james.page@ubuntu.com>" |
| 1012 | - |
| 1013 | -start on started openvswitch-switch |
| 1014 | -stop on runlevel [!2345] |
| 1015 | - |
| 1016 | -pre-start script |
| 1017 | - [ ! -x /usr/bin/neutron-ovs-cleanup ] && exit 0 |
| 1018 | - start-stop-daemon --start --chuid neutron --exec /usr/bin/neutron-ovs-cleanup -- \ |
| 1019 | - --log-file /var/log/neutron/ovs-cleanup.log \ |
| 1020 | - --config-file /etc/neutron/neutron.conf --verbose |
| 1021 | -end script |
| 1022 | |
| 1023 | === added file 'debian/neutron-plugin-openvswitch-agent.neutron-ovs-cleanup.upstart.in' |
| 1024 | --- debian/neutron-plugin-openvswitch-agent.neutron-ovs-cleanup.upstart.in 1970-01-01 00:00:00 +0000 |
| 1025 | +++ debian/neutron-plugin-openvswitch-agent.neutron-ovs-cleanup.upstart.in 2015-01-12 15:16:07 +0000 |
| 1026 | @@ -0,0 +1,13 @@ |
| 1027 | +# vim:set ft=upstart ts=2 et: |
| 1028 | +description "Neutron OVS cleanup" |
| 1029 | +author "James Page <james.page@ubuntu.com>" |
| 1030 | + |
| 1031 | +start on started openvswitch-switch |
| 1032 | +stop on runlevel [!2345] |
| 1033 | + |
| 1034 | +pre-start script |
| 1035 | + [ ! -x /usr/bin/neutron-ovs-cleanup ] && exit 0 |
| 1036 | + start-stop-daemon --start --chuid neutron --exec /usr/bin/neutron-ovs-cleanup -- \ |
| 1037 | + --log-file /var/log/neutron/ovs-cleanup.log \ |
| 1038 | + --config-file /etc/neutron/neutron.conf --verbose |
| 1039 | +end script |
| 1040 | |
| 1041 | === added file 'debian/neutron-plugin-openvswitch-agent.service.in' |
| 1042 | --- debian/neutron-plugin-openvswitch-agent.service.in 1970-01-01 00:00:00 +0000 |
| 1043 | +++ debian/neutron-plugin-openvswitch-agent.service.in 2015-01-12 15:16:07 +0000 |
| 1044 | @@ -0,0 +1,19 @@ |
| 1045 | +[Unit] |
| 1046 | +Description=Openstack Neutron Open vSwitch Plugin Agent |
| 1047 | +After=mysql.service postgresql.service rabbitmq-server.service keystone.service |
| 1048 | +Requires=neutron-ovs-cleanup.service |
| 1049 | + |
| 1050 | +[Service] |
| 1051 | +User=neutron |
| 1052 | +Group=neutron |
| 1053 | +WorkingDirectory=/var/lib/neutron |
| 1054 | +PermissionsStartOnly=true |
| 1055 | +ExecStartPre=/bin/mkdir -p /var/lock/neutron /var/log/neutron /var/lib/neutron |
| 1056 | +ExecStartPre=/bin/chown neutron:neutron /var/lock/neutron /var/log/neutron /var/lib/neutron |
| 1057 | +ExecStart=/etc/init.d/neutron-plugin-openvswitch-agent systemd-start |
| 1058 | +Restart=on-failure |
| 1059 | +LimitNOFILE=65535 |
| 1060 | + |
| 1061 | +[Install] |
| 1062 | +WantedBy=multi-user.target |
| 1063 | + |
| 1064 | |
| 1065 | === removed file 'debian/neutron-plugin-openvswitch-agent.upstart' |
| 1066 | --- debian/neutron-plugin-openvswitch-agent.upstart 2013-12-11 11:23:12 +0000 |
| 1067 | +++ debian/neutron-plugin-openvswitch-agent.upstart 1970-01-01 00:00:00 +0000 |
| 1068 | @@ -1,17 +0,0 @@ |
| 1069 | -# vim:set ft=upstart ts=2 et: |
| 1070 | -description "Neutron OpenvSwitch Plugin Agent" |
| 1071 | -author "Chuck Short <zulcss@ubuntu.com>" |
| 1072 | - |
| 1073 | -start on runlevel [2345] and started neutron-ovs-cleanup |
| 1074 | -stop on runlevel [!2345] |
| 1075 | - |
| 1076 | -respawn |
| 1077 | - |
| 1078 | -chdir /var/run |
| 1079 | - |
| 1080 | -pre-start script |
| 1081 | - mkdir -p /var/run/neutron |
| 1082 | - chown neutron:root /var/run/neutron |
| 1083 | -end script |
| 1084 | - |
| 1085 | -exec start-stop-daemon --start --chuid neutron --exec /usr/bin/neutron-openvswitch-agent -- --config-file=/etc/neutron/neutron.conf --config-file=/etc/neutron/plugins/ml2/ml2_conf.ini --log-file=/var/log/neutron/openvswitch-agent.log |
| 1086 | |
| 1087 | === added file 'debian/neutron-plugin-openvswitch-agent.upstart.in' |
| 1088 | --- debian/neutron-plugin-openvswitch-agent.upstart.in 1970-01-01 00:00:00 +0000 |
| 1089 | +++ debian/neutron-plugin-openvswitch-agent.upstart.in 2015-01-12 15:16:07 +0000 |
| 1090 | @@ -0,0 +1,17 @@ |
| 1091 | +# vim:set ft=upstart ts=2 et: |
| 1092 | +description "Neutron OpenvSwitch Plugin Agent" |
| 1093 | +author "Chuck Short <zulcss@ubuntu.com>" |
| 1094 | + |
| 1095 | +start on runlevel [2345] and started neutron-ovs-cleanup |
| 1096 | +stop on runlevel [!2345] |
| 1097 | + |
| 1098 | +respawn |
| 1099 | + |
| 1100 | +chdir /var/run |
| 1101 | + |
| 1102 | +pre-start script |
| 1103 | + mkdir -p /var/run/neutron |
| 1104 | + chown neutron:root /var/run/neutron |
| 1105 | +end script |
| 1106 | + |
| 1107 | +exec start-stop-daemon --start --chuid neutron --exec /usr/bin/neutron-openvswitch-agent -- --config-file=/etc/neutron/neutron.conf --config-file=/etc/neutron/plugins/ml2/ml2_conf.ini --log-file=/var/log/neutron/openvswitch-agent.log |
| 1108 | |
| 1109 | === added file 'debian/neutron-plugin-sriov-agent.init.in' |
| 1110 | --- debian/neutron-plugin-sriov-agent.init.in 1970-01-01 00:00:00 +0000 |
| 1111 | +++ debian/neutron-plugin-sriov-agent.init.in 2015-01-12 15:16:07 +0000 |
| 1112 | @@ -0,0 +1,22 @@ |
| 1113 | +#!/bin/sh |
| 1114 | +### BEGIN INIT INFO |
| 1115 | +# Provides: neutron-plugin-sriov-agent |
| 1116 | +# Required-Start: $network $local_fs $remote_fs $syslog |
| 1117 | +# Required-Stop: $remote_fs |
| 1118 | +# Should-Start: mysql postgresql rabbitmq-server keystone |
| 1119 | +# Should-Stop: mysql postgresql rabbitmq-server keystone |
| 1120 | +# Default-Start: 2 3 4 5 |
| 1121 | +# Default-Stop: 0 1 6 |
| 1122 | +# Short-Description: Neutron SRIOV Agent |
| 1123 | +# Description: SRIOV agent for OpenStack Neutron |
| 1124 | +### END INIT INFO |
| 1125 | + |
| 1126 | +# Authors: James Page <james.page@ubuntu.com> |
| 1127 | + |
| 1128 | +DESC="OpenStack Neutron SRIOV Plugin Agent" |
| 1129 | +PROJECT_NAME=neutron |
| 1130 | +NAME=${PROJECT_NAME}-plugin-sriov-agent |
| 1131 | +DAEMON=/usr/bin/neutron-sriov-nic-agent |
| 1132 | +# --config-file=/etc/neutron/neutron.conf will be happened |
| 1133 | +# to DAEMON_ARGS later by openstack-pkg-tools |
| 1134 | +DAEMON_ARGS="--config-file=/etc/neutron/plugins/ml2/ml2_conf_sriov.ini" |
| 1135 | |
| 1136 | === removed file 'debian/neutron-plugin-sriov-agent.logrotate' |
| 1137 | --- debian/neutron-plugin-sriov-agent.logrotate 2014-08-28 16:34:02 +0000 |
| 1138 | +++ debian/neutron-plugin-sriov-agent.logrotate 1970-01-01 00:00:00 +0000 |
| 1139 | @@ -1,7 +0,0 @@ |
| 1140 | -/var/log/neutron/sriov-agent.log { |
| 1141 | - daily |
| 1142 | - missingok |
| 1143 | - compress |
| 1144 | - delaycompress |
| 1145 | - notifempty |
| 1146 | -} |
| 1147 | |
| 1148 | === removed file 'debian/neutron-plugin-sriov-agent.upstart' |
| 1149 | --- debian/neutron-plugin-sriov-agent.upstart 2014-08-28 16:34:02 +0000 |
| 1150 | +++ debian/neutron-plugin-sriov-agent.upstart 1970-01-01 00:00:00 +0000 |
| 1151 | @@ -1,20 +0,0 @@ |
| 1152 | -# vim:set ft=upstart ts=2 et: |
| 1153 | -description "Neutron SRIOV SDN Agent" |
| 1154 | -author "Chuck Short <zulcss@ubuntu.com>" |
| 1155 | - |
| 1156 | -start on runlevel [2345] |
| 1157 | -stop on runlevel [!2345] |
| 1158 | - |
| 1159 | -respawn |
| 1160 | - |
| 1161 | -chdir /var/run |
| 1162 | - |
| 1163 | -pre-start script |
| 1164 | - mkdir -p /var/run/neutron |
| 1165 | - chown neutron:root /var/run/neutron |
| 1166 | -end script |
| 1167 | - |
| 1168 | -exec start-stop-daemon --start --chuid neutron --exec /usr/bin/usr/bin/neutron-sriov-nic-agent -- \ |
| 1169 | - --config-file=/etc/neutron/neutron.conf \ |
| 1170 | - --config-file=/etc/neutron/plugins/ml2/ml2_conf_sriov \ |
| 1171 | - --log-file=/var/log/neutron/sriov-agent.log |
| 1172 | |
| 1173 | === added file 'debian/neutron-server.init.in' |
| 1174 | --- debian/neutron-server.init.in 1970-01-01 00:00:00 +0000 |
| 1175 | +++ debian/neutron-server.init.in 2015-01-12 15:16:07 +0000 |
| 1176 | @@ -0,0 +1,18 @@ |
| 1177 | +#! /bin/sh |
| 1178 | +### BEGIN INIT INFO |
| 1179 | +# Provides: neutron-server |
| 1180 | +# Required-Start: $remote_fs $syslog |
| 1181 | +# Required-Stop: $remote_fs $syslog |
| 1182 | +# Should-Start: mysql postgresql rabbitmq-server keystone |
| 1183 | +# Should-Stop: mysql postgresql rabbitmq-server keystone |
| 1184 | +# Default-Start: 2 3 4 5 |
| 1185 | +# Default-Stop: 0 1 6 |
| 1186 | +# Short-Description: neutron-server |
| 1187 | +# Description: Provides the Neutron networking service |
| 1188 | +### END INIT INFO |
| 1189 | + |
| 1190 | +DESC="OpenStack Neutron Server" |
| 1191 | +PROJECT_NAME=neutron |
| 1192 | +NAME=${PROJECT_NAME}-server |
| 1193 | +[ -r /etc/default/neutron-server ] && . /etc/default/neutron-server |
| 1194 | +[ -r "$NEUTRON_PLUGIN_CONFIG" ] && DAEMON_ARGS="--config-file=$NEUTRON_PLUGIN_CONFIG" |
| 1195 | |
| 1196 | === removed file 'debian/neutron-server.logrotate' |
| 1197 | --- debian/neutron-server.logrotate 2014-03-07 09:21:15 +0000 |
| 1198 | +++ debian/neutron-server.logrotate 1970-01-01 00:00:00 +0000 |
| 1199 | @@ -1,7 +0,0 @@ |
| 1200 | -/var/log/neutron/server.log { |
| 1201 | - daily |
| 1202 | - missingok |
| 1203 | - compress |
| 1204 | - delaycompress |
| 1205 | - notifempty |
| 1206 | -} |
| 1207 | |
| 1208 | === removed file 'debian/neutron-server.upstart' |
| 1209 | --- debian/neutron-server.upstart 2013-08-09 08:43:23 +0000 |
| 1210 | +++ debian/neutron-server.upstart 1970-01-01 00:00:00 +0000 |
| 1211 | @@ -1,23 +0,0 @@ |
| 1212 | -# vim:set ft=upstart ts=2 et: |
| 1213 | -description "Neutron API Server" |
| 1214 | -author "Chuck Short <zulcss@ubuntu.com>" |
| 1215 | - |
| 1216 | -start on runlevel [2345] |
| 1217 | -stop on runlevel [!2345] |
| 1218 | - |
| 1219 | -respawn |
| 1220 | - |
| 1221 | -chdir /var/run |
| 1222 | - |
| 1223 | -pre-start script |
| 1224 | - mkdir -p /var/run/neutron |
| 1225 | - chown neutron:root /var/run/neutron |
| 1226 | -end script |
| 1227 | - |
| 1228 | -script |
| 1229 | - [ -r /etc/default/neutron-server ] && . /etc/default/neutron-server |
| 1230 | - [ -r "$NEUTRON_PLUGIN_CONFIG" ] && CONF_ARG="--config-file $NEUTRON_PLUGIN_CONFIG" |
| 1231 | - exec start-stop-daemon --start --chuid neutron --exec /usr/bin/neutron-server -- \ |
| 1232 | - --config-file /etc/neutron/neutron.conf \ |
| 1233 | - --log-file /var/log/neutron/server.log $CONF_ARG |
| 1234 | -end script |
| 1235 | |
| 1236 | === added file 'debian/neutron-vpn-agent.init.in' |
| 1237 | --- debian/neutron-vpn-agent.init.in 1970-01-01 00:00:00 +0000 |
| 1238 | +++ debian/neutron-vpn-agent.init.in 2015-01-12 15:16:07 +0000 |
| 1239 | @@ -0,0 +1,23 @@ |
| 1240 | +#!/bin/sh |
| 1241 | +### BEGIN INIT INFO |
| 1242 | +# Provides: neutron-vpn-agent |
| 1243 | +# Required-Start: $network $local_fs $remote_fs $syslog |
| 1244 | +# Required-Stop: $remote_fs |
| 1245 | +# Should-Start: mysql postgresql rabbitmq-server keystone openvswitch-switch neutron-ovs-cleanup |
| 1246 | +# Should-Stop: mysql postgresql rabbitmq-server keystone openvswitch-switch |
| 1247 | +# Default-Start: 2 3 4 5 |
| 1248 | +# Default-Stop: 0 1 6 |
| 1249 | +# Short-Description: Neutron VPN Agent agent |
| 1250 | +# Description: Provides VPN agent for neutron |
| 1251 | +### END INIT INFO |
| 1252 | + |
| 1253 | +# Author: Thomas Goirand <zigo@debian.org> |
| 1254 | + |
| 1255 | +# PATH should only include /usr/* if it runs after the mountnfs.sh script |
| 1256 | +PATH=/sbin:/usr/sbin:/bin:/usr/bin |
| 1257 | +DESC="OpenStack Neutron VPN Agent" |
| 1258 | +PROJECT_NAME=neutron |
| 1259 | +NAME=${PROJECT_NAME}-vpn-agent |
| 1260 | +# --config-file=/etc/neutron/neutron.conf will be happened |
| 1261 | +# to DAEMON_ARGS later by openstack-pkg-tools |
| 1262 | +DAEMON_ARGS="--config-file=/etc/neutron/l3_agent.ini --config-file=/etc/neutron/fwaas_driver.ini --config-file=/etc/neutron/vpn_agent.ini" |
| 1263 | |
| 1264 | === removed file 'debian/neutron-vpn-agent.upstart' |
| 1265 | --- debian/neutron-vpn-agent.upstart 2014-04-13 19:54:40 +0000 |
| 1266 | +++ debian/neutron-vpn-agent.upstart 1970-01-01 00:00:00 +0000 |
| 1267 | @@ -1,25 +0,0 @@ |
| 1268 | -# vim:set ft=upstart ts=2 et: |
| 1269 | -description "Neutron VPN Agent" |
| 1270 | -author "Chuck Short <zulcss@ubuntu.com>" |
| 1271 | - |
| 1272 | -start on runlevel [2345] |
| 1273 | -stop on runlevel [!2345] |
| 1274 | - |
| 1275 | -respawn |
| 1276 | - |
| 1277 | -chdir /var/run |
| 1278 | - |
| 1279 | -pre-start script |
| 1280 | - mkdir -p /var/run/neutron |
| 1281 | - chown neutron:root /var/run/neutron |
| 1282 | - # Check to see if openvswitch plugin in use by checking |
| 1283 | - # status of cleanup upstart configuration |
| 1284 | - if status neutron-ovs-cleanup; then |
| 1285 | - start wait-for-state WAIT_FOR=neutron-ovs-cleanup WAIT_STATE=running WAITER=neutron-vpn-agent |
| 1286 | - fi |
| 1287 | -end script |
| 1288 | - |
| 1289 | -exec start-stop-daemon --start --chuid neutron --exec /usr/bin/neutron-vpn-agent -- \ |
| 1290 | - --config-file=/etc/neutron/neutron.conf --config-file=/etc/neutron/vpn_agent.ini \ |
| 1291 | - --config-file=/etc/neutron/l3_agent.ini --config-file=/etc/neutron/fwaas_driver.ini \ |
| 1292 | - --log-file=/var/log/neutron/vpn_agent.log |
| 1293 | |
| 1294 | === added file 'debian/neutron-vpn-agent.upstart.in' |
| 1295 | --- debian/neutron-vpn-agent.upstart.in 1970-01-01 00:00:00 +0000 |
| 1296 | +++ debian/neutron-vpn-agent.upstart.in 2015-01-12 15:16:07 +0000 |
| 1297 | @@ -0,0 +1,25 @@ |
| 1298 | +# vim:set ft=upstart ts=2 et: |
| 1299 | +description "Neutron VPN Agent" |
| 1300 | +author "Chuck Short <zulcss@ubuntu.com>" |
| 1301 | + |
| 1302 | +start on runlevel [2345] |
| 1303 | +stop on runlevel [!2345] |
| 1304 | + |
| 1305 | +respawn |
| 1306 | + |
| 1307 | +chdir /var/run |
| 1308 | + |
| 1309 | +pre-start script |
| 1310 | + mkdir -p /var/run/neutron |
| 1311 | + chown neutron:root /var/run/neutron |
| 1312 | + # Check to see if openvswitch plugin in use by checking |
| 1313 | + # status of cleanup upstart configuration |
| 1314 | + if status neutron-ovs-cleanup; then |
| 1315 | + start wait-for-state WAIT_FOR=neutron-ovs-cleanup WAIT_STATE=running WAITER=neutron-vpn-agent |
| 1316 | + fi |
| 1317 | +end script |
| 1318 | + |
| 1319 | +exec start-stop-daemon --start --chuid neutron --exec /usr/bin/neutron-vpn-agent -- \ |
| 1320 | + --config-file=/etc/neutron/neutron.conf --config-file=/etc/neutron/vpn_agent.ini \ |
| 1321 | + --config-file=/etc/neutron/l3_agent.ini --config-file=/etc/neutron/fwaas_driver.ini \ |
| 1322 | + --log-file=/var/log/neutron/vpn_agent.log |
| 1323 | |
| 1324 | === modified file 'debian/rules' |
| 1325 | --- debian/rules 2015-01-06 14:47:39 +0000 |
| 1326 | +++ debian/rules 2015-01-12 15:16:07 +0000 |
| 1327 | @@ -3,18 +3,27 @@ |
| 1328 | # Uncomment this to turn on verbose mode. |
| 1329 | #export DH_VERBOSE=1 |
| 1330 | |
| 1331 | +include /usr/share/openstack-pkg-tools/pkgos.make |
| 1332 | + |
| 1333 | %: |
| 1334 | - dh $@ --with python2 |
| 1335 | + dh $@ --with python2,systemd |
| 1336 | |
| 1337 | override_dh_install: |
| 1338 | dh_install --fail-missing -X/usr/etc |
| 1339 | |
| 1340 | +override_dh_systemd_enable: |
| 1341 | + dh_systemd_enable -pneutron-plugin-openvswitch-agent --name=neutron-ovs-cleanup \ |
| 1342 | + neutron-ovs-cleanup.service |
| 1343 | + dh_systemd_enable |
| 1344 | + |
| 1345 | override_dh_installinit: |
| 1346 | - dh_installinit |
| 1347 | - dh_installinit -pneutron-plugin-openvswitch-agent --no-start --name=neutron-ovs-cleanup |
| 1348 | + dh_installinit -pneutron-plugin-openvswitch-agent --no-start \ |
| 1349 | + --name=neutron-ovs-cleanup |
| 1350 | + dh_installinit --error-handler=true |
| 1351 | |
| 1352 | override_dh_auto_clean: |
| 1353 | - dh_clean |
| 1354 | + dh_auto_clean |
| 1355 | + rm -f debian/*.upstart debian/*.init debian/*.service |
| 1356 | |
| 1357 | get-orig-source: |
| 1358 | uscan --verbose --force-download --rename --destdir=../build-area |
| 1359 | @@ -28,7 +37,7 @@ |
| 1360 | testr init && \ |
| 1361 | set -e && \ |
| 1362 | TEMP_REZ=`mktemp -t` && \ |
| 1363 | - testr run --subunit neutron.tests.unit.test_wsgi | tee $$TEMP_REZ | subunit2pyunit; \ |
| 1364 | + testr run --subunit neutron.tests.unit | tee $$TEMP_REZ | subunit2pyunit; \ |
| 1365 | cat $$TEMP_REZ | subunit-filter -s --no-passthrough | subunit-stats; \ |
| 1366 | rm -f $$TEMP_REZ ; \ |
| 1367 | testr slowest; \ |


Inline comments below, I think it just affects init.in comments.