1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
|
DESCRIPTION = "Neutron (virtual network service)"
HOMEPAGE = "https://launchpad.net/neutron"
SECTION = "devel/python"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2"
SRCNAME = "neutron"
SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=stable/pike \
file://neutron-server.service \
file://neutron.conf \
file://l3_agent.ini \
file://dhcp_agent.ini \
file://metadata_agent.ini \
file://metering_agent.ini \
file://ml2/linuxbridge_agent.ini.sample \
file://ml2/macvtap_agent.ini.sample \
file://ml2/ml2_conf.ini.sample \
file://ml2/openvswitch_agent.ini.sample \
file://ml2/sriov_agent.ini.sample \
file://neutron-dhcp-agent.service \
file://neutron-linuxbridge-agent.service \
file://neutron-metadata-agent.service \
file://neutron-init.service \
file://neutron-init \
file://neutron_sudoers \
file://neutron-dhcp-agent-netns-cleanup.cron \
"
SRCREV = "7fd30cb652fb5d516b4c1f5415f18f54d7a40c2a"
PV = "11.0.2+git${SRCPV}"
S = "${WORKDIR}/git"
inherit setuptools3 systemd useradd identity hosts default_configs monitor
USER = "neutron"
GROUP = "neutron"
USERADD_PACKAGES = "${PN}"
GROUPADD_PARAM_${PN} = "--system ${GROUP}"
USERADD_PARAM_${PN} = "--system -m -d ${localstatedir}/lib/neutron -s /bin/false -g ${GROUP} ${USER}"
SERVICECREATE_PACKAGES = "${SRCNAME}-setup"
KEYSTONE_HOST="${CONTROLLER_IP}"
# USERCREATE_PARAM and SERVICECREATE_PARAM contain the list of parameters to be set.
# If the flag for a parameter in the list is not set here, the default value will be given to that parameter.
# Parameters not in the list will be set to empty.
USERCREATE_PARAM_${SRCNAME}-setup = "name pass tenant role email"
SERVICECREATE_PARAM_${SRCNAME}-setup = "name type description region publicurl adminurl internalurl"
python () {
flags = {'type':'network',\
'description':'OpenStack Networking service',\
'publicurl':"'http://${KEYSTONE_HOST}:9696/'",\
'adminurl':"'http://${KEYSTONE_HOST}:9696/'",\
'internalurl':"'http://${KEYSTONE_HOST}:9696/'"}
d.setVarFlags("SERVICECREATE_PARAM_%s-setup" % d.getVar('SRCNAME',True), flags)
}
do_install_append() {
TEMPLATE_CONF_DIR=${S}${sysconfdir}/
NEUTRON_CONF_DIR=${D}${sysconfdir}/neutron
install -d -g ${GROUP} -m 750 ${NEUTRON_CONF_DIR}
install -d -g ${GROUP} -m 750 ${NEUTRON_CONF_DIR}/plugins
install -d -g ${GROUP} -m 750 ${NEUTRON_CONF_DIR}/plugins/ml2
# Available directly from source
install -m 640 -g ${GROUP} ${S}/etc/api-paste.ini ${NEUTRON_CONF_DIR}/
install -m 640 -g ${GROUP} ${S}/etc/policy.json ${NEUTRON_CONF_DIR}/
# Generated using ./tools/generate_config_file_samples.sh
install -m 640 -g ${GROUP} ${WORKDIR}/neutron.conf ${NEUTRON_CONF_DIR}/
install -m 640 -g ${GROUP} ${WORKDIR}/dhcp_agent.ini ${NEUTRON_CONF_DIR}/
install -m 640 -g ${GROUP} ${WORKDIR}/metadata_agent.ini ${NEUTRON_CONF_DIR}/
install -m 640 -g ${GROUP} ${WORKDIR}/metering_agent.ini ${NEUTRON_CONF_DIR}/
# install ml2 plugin ini files (also generated using ./tools/generate_config_file_samples.sh)
for j in linuxbridge_agent macvtap_agent ml2_conf openvswitch_agent sriov_agent
do
install -m 640 -g ${GROUP} ${WORKDIR}/ml2/$j.ini.sample ${NEUTRON_CONF_DIR}/plugins/ml2/$j.ini
done
# Neutron.conf config changes (replace with .ini file editing)
CONF_FILE=${NEUTRON_CONF_DIR}/neutron.conf
sed -e "/#core_plugin =/acore_plugin = ml2" -i ${CONF_FILE}
sed -e "/#service_plugins =/aservice_plugins =" -i ${CONF_FILE}
sed -e "/#transport_url =/atransport_url = rabbit://openstack:${ADMIN_PASSWORD}@${CONTROLLER_IP}" -i ${CONF_FILE}
sed -e "/#auth_strategy =/aauth_strategy = keystone" -i ${CONF_FILE}
sed -e "/#root_helper =/aroot_helper = sudo ${bindir}/neutron-rootwrap ${sysconfdir}/neutron/rootwrap.conf" -i ${CONF_FILE}
str="auth_uri = http://${CONTROLLER_IP}:5000"
str="$str\nauth_url = http://${CONTROLLER_IP}:35357"
str="$str\nmemcached_servers = ${CONTROLLER_IP}:11211"
str="$str\nauth_type = password"
str="$str\nproject_domain_name = Default"
str="$str\nuser_domain_name = Default"
str="$str\nproject_name = service"
str="$str\nusername = ${USER}"
str="$str\npassword = ${ADMIN_PASSWORD}"
sed -e "/^\[keystone_authtoken\].*/a$str" -i ${CONF_FILE}
sed -e "/^#connection = .*/aconnection = postgresql+psycopg2://${DB_USER}:${DB_PASSWORD}@localhost/neutron" \
-i ${CONF_FILE}
# ml2_conf.ini changes (replace with .ini file editing)
CONF_FILE=${NEUTRON_CONF_DIR}/plugins/ml2/ml2_conf.ini
sed -e "/#type_drivers =/atype_drivers = flat,vlan" -i ${CONF_FILE}
sed -e "/#tenant_network_types =/atenant_network_types =" -i ${CONF_FILE}
sed -e "/#mechanism_drivers =/amechanism_drivers = linuxbridge" -i ${CONF_FILE}
sed -e "/#extension_drivers =/aextension_drivers = port_security" -i ${CONF_FILE}
sed -e "/#flat_networks =/aflat_networks = provider" -i ${CONF_FILE}
sed -e "/#enable_ipset =/aenable_ipset = true" -i ${CONF_FILE}
# dhcp-agent
CONF_FILE=${NEUTRON_CONF_DIR}/dhcp_agent.ini
sed -e "/#interface_driver =/ainterface_driver = linuxbridge" -i ${CONF_FILE}
sed -e "/#dhcp_driver =/adhcp_driver = neutron.agent.linux.dhcp.Dnsmasq" -i ${CONF_FILE}
sed -e "/#enable_isolated_metadata =/aenable_isolated_metadata = true" -i ${CONF_FILE}
install -d ${D}${sysconfdir}/cron.d
CRON_FILE=${D}${sysconfdir}/cron.d/neutron-dhcp-agent-netns-cleanup
install -m 644 ${WORKDIR}/neutron-dhcp-agent-netns-cleanup.cron ${CRON_FILE}
sed "s:@bindir@:${bindir}:g;s:@confdir@:${sysconfdir}:g" -i ${CRON_FILE}
# linuxbridge
CONF_FILE=${NEUTRON_CONF_DIR}/plugins/ml2/linuxbridge_agent.ini
sed -e "/#physical_interface_mappings =/aphysical_interface_mappings = provider:eth0" -i ${CONF_FILE}
sed -e "/#enable_vxlan/aenable_vxlan = false" -i ${CONF_FILE}
sed -e "/#enable_security_group =/aenable_security_group = true" -i ${CONF_FILE}
sed -e "/#firewall_driver =/afirewall_driver = neutron.agent.linux.iptables_firewall.IptablesFirewallDriver" -i ${CONF_FILE}
#PLUGIN=openvswitch
#ARGS="--config-file=${sysconfdir}/${SRCNAME}/neutron.conf --config-file=${sysconfdir}/${SRCNAME}/plugins/ml2/ml2_conf.ini"
#if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then
# install -d ${D}${sysconfdir}/init.d
# sed "s:@plugin@:/etc/neutron/plugins/ml2/ml2_conf.ini:" \
# < ${WORKDIR}/neutron-server.init >${WORKDIR}/neutron-server.init.sh
# install -m 0755 ${WORKDIR}/neutron-server.init.sh ${D}${sysconfdir}/init.d/neutron-server
# sed "s:@suffix@:$PLUGIN:;s:@args@:$ARGS:" < ${WORKDIR}/neutron-agent.init >${WORKDIR}/neutron-$PLUGIN.init.sh
# install -m 0755 ${WORKDIR}/neutron-$PLUGIN.init.sh ${D}${sysconfdir}/init.d/neutron-$PLUGIN-agent
#fi
#
#AGENT=l3
#ARGS="--config-file=${sysconfdir}/${SRCNAME}/neutron.conf --config-file=${sysconfdir}/${SRCNAME}/l3_agent.ini"
#if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then
# sed "s:@suffix@:$AGENT:;s:@args@:$ARGS:" < ${WORKDIR}/neutron-agent.init >${WORKDIR}/neutron-$AGENT.init.sh
# install -m 0755 ${WORKDIR}/neutron-$AGENT.init.sh ${D}${sysconfdir}/init.d/neutron-$AGENT-agent
# install -m 600 ${WORKDIR}/${AGENT}_agent.ini ${NEUTRON_CONF_DIR}/
#fi
#
#AGENT=metadata
#ARGS="--config-file=${sysconfdir}/${SRCNAME}/neutron.conf --config-file=${sysconfdir}/${SRCNAME}/metadata_agent.ini"
#if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then
# sed "s:@suffix@:$AGENT:;s:@args@:$ARGS:" < ${WORKDIR}/neutron-agent.init >${WORKDIR}/neutron-$AGENT.init.sh
# install -m 0755 ${WORKDIR}/neutron-$AGENT.init.sh ${D}${sysconfdir}/init.d/neutron-$AGENT-agent
# install -m 600 ${WORKDIR}/${AGENT}_agent.ini ${NEUTRON_CONF_DIR}/
#fi
#
#for file in plugins/ml2/ml2_conf.ini neutron.conf metadata_agent.ini; do
# sed -e "s:%SERVICE_TENANT_NAME%:${SERVICE_TENANT_NAME}:g" -i ${NEUTRON_CONF_DIR}/$file
# sed -e "s:%SERVICE_USER%:${SRCNAME}:g" -i ${NEUTRON_CONF_DIR}/$file
# sed -e "s:%SERVICE_PASSWORD%:${SERVICE_PASSWORD}:g" -i ${NEUTRON_CONF_DIR}/$file
# sed -e "s:%METADATA_SHARED_SECRET%:${METADATA_SHARED_SECRET}:g" -i ${NEUTRON_CONF_DIR}/$file
# sed -e "s:%DB_USER%:${DB_USER}:g" -i ${NEUTRON_CONF_DIR}/$file
# sed -e "s:%DB_PASSWORD%:${DB_PASSWORD}:g" -i ${NEUTRON_CONF_DIR}/$file
# sed -e "s:%CONTROLLER_IP%:${CONTROLLER_IP}:g" -i ${NEUTRON_CONF_DIR}/$file
# sed -e "s:%CONTROLLER_HOST%:${CONTROLLER_HOST}:g" -i ${NEUTRON_CONF_DIR}/$file
#done
#
#sed -e "s:^auth_host.*:#auth_host:g" -i ${NEUTRON_CONF_DIR}/neutron.conf
#sed -e "s:^auth_port.*:#auth_port:g" -i ${NEUTRON_CONF_DIR}/neutron.conf
#sed -e "s:^auth_protocol.*:#auth_protocol:g" -i ${NEUTRON_CONF_DIR}/neutron.conf
#sed -i '/\[keystone_authtoken\]/aidentity_uri=http://127.0.0.1:8081/keystone/admin/' ${NEUTRON_CONF_DIR}/neutron.conf
#
#cp run_tests.sh ${NEUTRON_CONF_DIR}
# install systemd service files
install -d ${D}${systemd_system_unitdir}/
for j in neutron-server neutron-init neutron-dhcp-agent neutron-linuxbridge-agent neutron-metadata-agent
do
SERVICE_FILE=${D}${systemd_system_unitdir}/$j.service
install -m 644 ${WORKDIR}/$j.service ${SERVICE_FILE}
sed -e "s#%LOCALSTATEDIR%#${localstatedir}#g" -i ${SERVICE_FILE}
sed -e "s#%SYSCONFDIR%#${sysconfdir}#g" -i ${SERVICE_FILE}
done
# Setup the neutron initialization script
INIT_FILE=${NEUTRON_CONF_DIR}/neutron-init
install -g ${USER} -m 750 ${WORKDIR}/neutron-init ${INIT_FILE}
sed -e "s:%DB_USER%:${DB_USER}:g" -i ${INIT_FILE}
sed -e "s:%NEUTRON_USER%:${USER}:g" -i ${INIT_FILE}
sed -e "s:%NEUTRON_GROUP%:${GROUP}:g" -i ${INIT_FILE}
sed -e "s:%CONTROLLER_IP%:${CONTROLLER_IP}:g" -i ${INIT_FILE}
sed -e "s:%ADMIN_USER%:${ADMIN_USER}:g" -i ${INIT_FILE}
sed -e "s:%ADMIN_PASSWORD%:${ADMIN_PASSWORD}:g" -i ${INIT_FILE}
sed -e "s:%ADMIN_ROLE%:${ADMIN_ROLE}:g" -i ${INIT_FILE}
sed -e "s:%SYSCONFDIR%:${sysconfdir}:g" -i ${INIT_FILE}
sed -e "s:%ROOT_HOME%:${ROOT_HOME}:g" -i ${INIT_FILE}
# setup sudo
SUDOERS_FILE=${D}${sysconfdir}/sudoers.d/neutron_sudoers
install -m 750 -d ${D}${sysconfdir}/sudoers.d
install ${WORKDIR}/neutron_sudoers ${SUDOERS_FILE}
sed -e "s:%USER%:${USER}:g" -i ${SUDOERS_FILE}
install -m 600 ${S}/etc/rootwrap.conf ${NEUTRON_CONF_DIR}/
install -m 750 -d ${NEUTRON_CONF_DIR}/rootwrap.d
install -m 600 ${S}/etc/neutron/rootwrap.d/* ${NEUTRON_CONF_DIR}/rootwrap.d/
}
pkg_postinst_${SRCNAME}-setup () {
if [ -z "$D" ]; then
# This is to make sure postgres is configured and running
if ! pidof postmaster > /dev/null; then
/etc/init.d/postgresql-init
/etc/init.d/postgresql start
sleep 2
fi
sudo -u postgres createdb neutron
sudo neutron-db-manage --config-file /etc/neutron/neutron.conf \
--config-file /etc/neutron/plugins/ml2/ml2_conf.ini upgrade head
fi
}
pkg_postinst_${SRCNAME}-plugin-openvswitch-setup () {
if [ -z "$D" ]; then
/etc/init.d/openvswitch-switch start
ovs-vsctl --no-wait -- --may-exist add-br br-int
fi
}
ALLOW_EMPTY_${SRCNAME}-setup = "1"
ALLOW_EMPTY_${SRCNAME}-plugin-openvswitch-setup = "1"
PACKAGES += " \
${SRCNAME}-tests \
${SRCNAME} \
${SRCNAME}-doc \
${SRCNAME}-server \
${SRCNAME}-plugin-openvswitch \
${SRCNAME}-plugin-ml2 \
${SRCNAME}-ml2 \
${SRCNAME}-dhcp-agent \
${SRCNAME}-linuxbridge-agent \
${SRCNAME}-l3-agent \
${SRCNAME}-metadata-agent \
${SRCNAME}-metering-agent \
${SRCNAME}-extra-agents \
${SRCNAME}-setup \
${SRCNAME}-plugin-openvswitch-setup \
"
FILES_${PN} = "${libdir}/*"
FILES_${SRCNAME}-tests = "${sysconfdir}/${SRCNAME}/run_tests.sh"
RDEPENDS_${SRCNAME}-tests += " bash"
FILES_${SRCNAME} = " \
${bindir}/neutron-db-manage \
${bindir}/neutron-rootwrap \
${bindir}/neutron-debug \
${bindir}/neutron-netns-cleanup \
${bindir}/neutron-ovs-cleanup \
${sysconfdir}/${SRCNAME}/policy.json \
${sysconfdir}/${SRCNAME}/neutron.conf \
${sysconfdir}/${SRCNAME}/api-paste.ini \
${sysconfdir}/sudoers.d/neutron_sudoers \
${sysconfdir}/${SRCNAME}/rootwrap.d \
${sysconfdir}/${SRCNAME}/rootwrap.conf \
${localstatedir}/* \
"
FILES_${SRCNAME}-server = " \
${bindir}/neutron-server \
${sysconfdir}/neutron/plugin.ini \
"
FILES_${SRCNAME}-plugin-ml2 = " \
${sysconfdir}/${SRCNAME}/plugins/ml2/* \
"
FILES_${SRCNAME}-plugin-openvswitch = " \
${bindir}/neutron-openvswitch-agent \
${sysconfdir}/init.d/neutron-openvswitch-agent \
"
FILES_${SRCNAME}-dhcp-agent = " \
${bindir}/neutron-dhcp-agent \
${bindir}/neutron-dhcp-agent-dnsmasq-lease-update \
${sysconfdir}/${SRCNAME}/dhcp_agent.ini \
${sysconfdir}/cron.d/neutron-dhcp-agent-netns-cleanup \
"
FILES_${SRCNAME}-linuxbridge-agent = " \
${bindir}/neutron-linuxbridge-agent \
${sysconfdir}/${SRCNAME}/plugins/ml2/linuxbridge_agent.ini \
"
FILES_${SRCNAME}-l3-agent = " \
${bindir}/neutron-l3-agent \
${sysconfdir}/${SRCNAME}/l3_agent.ini \
"
FILES_${SRCNAME}-metadata-agent = " \
${bindir}/neutron-metadata-agent \
${bindir}/neutron-ns-metadata-proxy \
${sysconfdir}/${SRCNAME}/metadata_agent.ini \
"
FILES_${SRCNAME}-metering-agent = " \
${bindir}/neutron-metering-agent \
${sysconfdir}/${SRCNAME}/metering_agent.ini \
"
FILES_${SRCNAME}-extra-agents = "${bindir}/*"
FILES_${SRCNAME}-doc = "${datadir}/*"
FILES_${SRCNAME}-setup = " \
${sysconfdir}/neutron/neutron-init \
"
DEPENDS += " \
python-pip \
python-pbr \
"
RDEPENDS_${PN} += " \
python-pbr \
python-paste \
python-pastedeploy \
python-routes \
python-debtcollector \
python-eventlet \
python-pecan \
python-httplib2 \
python-jinja2 \
python-keystonemiddleware \
python-netaddr \
python-netifaces \
python-neutron-lib \
python-neutronclient \
python-tenacity \
python-ryu \
python-sqlalchemy \
python-webob \
python-keystoneauth1 \
python-alembic \
python-six \
python-stevedore \
python-oslo.cache \
python-oslo.concurrency \
python-oslo.config \
python-oslo.context \
python-oslo.db \
python-oslo.i18n \
python-oslo.log \
python-oslo.messaging \
python-oslo.middleware \
python-oslo.policy \
python-oslo.privsep \
python-oslo.reports \
python-oslo.rootwrap \
python-oslo.serialization \
python-oslo.service \
python-oslo.utils \
python-oslo.versionedobjects \
python-osprofiler \
python-ovs \
python-ovsdbapp \
python-psutil \
python-pyroute2 \
python-weakrefmethod \
python-novaclient \
python-designateclient \
python-os-xenapi \
"
RDEPENDS_${SRCNAME} = "${PN} \
postgresql postgresql-client python-psycopg2"
RDEPENDS_${SRCNAME}-server = "${SRCNAME} ${SRCNAME}-plugin-ml2 ${SRCNAME}-dhcp-agent ${SRCNAME}-linuxbridge-agent ${SRCNAME}-metadata-agent"
RDEPENDS_${SRCNAME}-plugin-openvswitch = "${SRCNAME} ${SRCNAME}-plugin-ml2 ${SRCNAME}-plugin-openvswitch-setup openvswitch-switch iproute2 bridge-utils"
RDEPENDS_${SRCNAME}-plugin-openvswitch-setup = "openvswitch-switch "
RDEPENDS_${SRCNAME}-dhcp-agent = "${SRCNAME} dnsmasq dhcp-server dhcp-server-config"
RDEPENDS_${SRCNAME}-linuxbridge-agent = "${SRCNAME}"
RDEPENDS_${SRCNAME}-l3-agent = "${SRCNAME} ${SRCNAME}-metadata-agent iputils"
RDEPENDS_${SRCNAME}-metadata-agent = "${SRCNAME}"
RDEPENDS_${SRCNAME}-plugin-ml2 = "${SRCNAME}"
RDEPENDS_${SRCNAME}-setup = "postgresql sudo bash"
RRECOMMENDS_${SRCNAME}-server = "${SRCNAME}-plugin-openvswitch"
#INITSCRIPT_PACKAGES = "${SRCNAME}-plugin-openvswitch ${SRCNAME}-l3-agent"
#INITSCRIPT_NAME_${SRCNAME}-plugin-openvswitch = "neutron-openvswitch-agent"
#INITSCRIPT_PARAMS_${SRCNAME}-plugin-openvswitch = "${OS_DEFAULT_INITSCRIPT_PARAMS}"
#INITSCRIPT_NAME_${SRCNAME}-l3-agent = "neutron-l3-agent"
#INITSCRIPT_PARAMS_${SRCNAME}-l3-agent = "${OS_DEFAULT_INITSCRIPT_PARAMS}"
SYSTEMD_PACKAGES = " \
${SRCNAME}-server \
${SRCNAME}-setup \
${SRCNAME}-dhcp-agent \
${SRCNAME}-linuxbridge-agent \
${SRCNAME}-metadata-agent \
"
SYSTEMD_SERVICE_${SRCNAME}-server = "neutron-server.service"
SYSTEMD_SERVICE_${SRCNAME}-dhcp-agent = "neutron-dhcp-agent.service"
SYSTEMD_SERVICE_${SRCNAME}-linuxbridge-agent = "neutron-linuxbridge-agent.service"
SYSTEMD_SERVICE_${SRCNAME}-metadata-agent = "neutron-metadata-agent.service"
SYSTEMD_SERVICE_${SRCNAME}-setup = "neutron-init.service"
# Disable unconfigured services
SYSTEMD_AUTO_ENABLE_${SRCNAME}-server = "disable"
SYSTEMD_AUTO_ENABLE_${SRCNAME}-dhcp-agent = "disable"
SYSTEMD_AUTO_ENABLE_${SRCNAME}-linuxbridge-agent = "disable"
SYSTEMD_AUTO_ENABLE_${SRCNAME}-metadata-agent = "disable"
MONITOR_SERVICE_PACKAGES = "${SRCNAME}"
MONITOR_SERVICE_${SRCNAME} = "neutron"
|