Update neutron to 9.0.0.0b1
[openstack-build/neutron-build.git] / xenial / debian / neutron-openvswitch-agent.init.in
diff --git a/xenial/debian/neutron-openvswitch-agent.init.in b/xenial/debian/neutron-openvswitch-agent.init.in
new file mode 100644 (file)
index 0000000..8577910
--- /dev/null
@@ -0,0 +1,24 @@
+#!/bin/sh
+### BEGIN INIT INFO
+# Provides:          neutron-openvswitch-agent
+# Required-Start:    $network $local_fs $remote_fs $syslog openvswitch-switch
+# Required-Stop:     $remote_fs openvswitch-switch
+# 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 OpenVSwitch Agent
+# Description:       Agent to use within neutron openswitch client
+### END INIT INFO
+
+# Authors: Julien Danjou <acid@debian.org>, Thomas Goirand <zigo@debian.org>
+
+DESC="Openstack Neutron OpenVSwitch Plugin Agent"
+PROJECT_NAME=neutron
+NAME=${PROJECT_NAME}-openvswitch-agent
+CONFIG_FILE=/etc/neutron/plugins/ml2/openvswitch_agent.ini
+
+# Since Juno OVS plugin as been deprecated as core_plugin, it has been
+# replaced by ml2 as core_plugin and ovs as agent. Making ml2 mandatory
+# to use this agent
+DAEMON_ARGS="--config-file=/etc/neutron/neutron.conf --config-file=/etc/neutron/plugins/ml2/openvswitch_agent.ini"