summaryrefslogtreecommitdiff
path: root/openstack/usr/lib/systemd/system/openvswitch.service
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-04-14 13:10:36 +0000
committerFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-04-14 16:36:12 +0000
commitc27edd805fdb6120684c45bdb9035d91586f268c (patch)
tree40a363a08f631773a41d14ec720f25dcad3281c7 /openstack/usr/lib/systemd/system/openvswitch.service
parent666a79968f83a1ba45e7c2d4ad47d5939fa53af7 (diff)
downloaddefinitions-c27edd805fdb6120684c45bdb9035d91586f268c.tar.gz
Openstack: Add support to configure the network of the node
Signed-off-by: Pedro Alvarez <pedro.alvarez@codethink.co.uk> Signed-off-by: Richard Maw <richard.maw@codethink.co.uk> Change-Id: I215b4d0c23a9c1c82e3668b3f23a9f2766b3173a
Diffstat (limited to 'openstack/usr/lib/systemd/system/openvswitch.service')
-rw-r--r--openstack/usr/lib/systemd/system/openvswitch.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/openstack/usr/lib/systemd/system/openvswitch.service b/openstack/usr/lib/systemd/system/openvswitch.service
new file mode 100644
index 00000000..6f1a93a8
--- /dev/null
+++ b/openstack/usr/lib/systemd/system/openvswitch.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Open vSwitch Daemon
+Wants=network-pre.target
+After=openvswitch-initialize-db.service
+Before=network-pre.target
+
+[Service]
+Type=forking
+ExecStart=/usr/sbin/ovs-vswitchd --pidfile --detach
+
+[Install]
+WantedBy=multi-user.target