Update neutron to 9.0.0.0b1
[openstack-build/neutron-build.git] / xenial / debian / neutron-linuxbridge-agent.init.in
diff --git a/xenial/debian/neutron-linuxbridge-agent.init.in b/xenial/debian/neutron-linuxbridge-agent.init.in
new file mode 100644 (file)
index 0000000..a79ed95
--- /dev/null
@@ -0,0 +1,29 @@
+#!/bin/sh
+### BEGIN INIT INFO
+# Provides:          neutron-linuxbridge-agent
+# Required-Start:    $network $local_fs $remote_fs $syslog
+# Required-Stop:     $remote_fs
+# Should-Start:      mysql postgresql rabbitmq-server keystone
+# Should-Stop:       mysql postgresql rabbitmq-server keystone
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+# Short-Description: Neutron LinuxBridge Agent
+# Description:       Agent to use within neutron linuxbridge client
+### END INIT INFO
+
+# Author: Ghe Rivero <ghe.rivero@stackops.com>
+
+# PATH should only include /usr/* if it runs after the mountnfs.sh script
+PATH=/sbin:/usr/sbin:/bin:/usr/bin
+DESC="Openstack Neutron LinuxBridge Plugin Agent"
+PROJECT_NAME=neutron
+NAME=${PROJECT_NAME}-linuxbridge-agent
+# --config-file=/etc/neutron/neutron.conf will be happened
+# to DAEMON_ARGS later by openstack-pkg-tools
+
+# Since Juno LB plugin as been deprecated as core_plugin, it has been
+# replaced by ml2 as core_plugin and lb as agent. Making ml2 mandatory
+# to use this agent
+
+DAEMON_ARGS="--config-file=/etc/neutron/plugins/linuxbridge/linuxbridge_conf.ini --config-file=/etc/neutron/plugins/ml2/linuxbridge_agent.ini"
+