summaryrefslogtreecommitdiff
path: root/openstack/etc/neutron/rootwrap.d/lbaas-haproxy.filters
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-02-12 17:26:00 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-03-14 12:07:10 +0000
commitedeb456f6980896ad651d734ea3f3f2f3e034026 (patch)
treea70a3ca2c486ea7797b554a74d4bf8782730f326 /openstack/etc/neutron/rootwrap.d/lbaas-haproxy.filters
parent3c3ee6104062133af0b40cdcacf32e63dfdd0fce (diff)
downloaddefinitions-edeb456f6980896ad651d734ea3f3f2f3e034026.tar.gz
SPLITME: Add all Openstack
Diffstat (limited to 'openstack/etc/neutron/rootwrap.d/lbaas-haproxy.filters')
-rw-r--r--openstack/etc/neutron/rootwrap.d/lbaas-haproxy.filters26
1 files changed, 26 insertions, 0 deletions
diff --git a/openstack/etc/neutron/rootwrap.d/lbaas-haproxy.filters b/openstack/etc/neutron/rootwrap.d/lbaas-haproxy.filters
new file mode 100644
index 00000000..b4e1ecba
--- /dev/null
+++ b/openstack/etc/neutron/rootwrap.d/lbaas-haproxy.filters
@@ -0,0 +1,26 @@
+# neutron-rootwrap command filters for nodes on which neutron is
+# expected to control network
+#
+# This file should be owned by (and only-writeable by) the root user
+
+# format seems to be
+# cmd-name: filter-name, raw-command, user, args
+
+[Filters]
+
+# haproxy
+haproxy: CommandFilter, haproxy, root
+
+# lbaas-agent uses kill as well, that's handled by the generic KillFilter
+kill_haproxy_usr: KillFilter, root, /usr/sbin/haproxy, -9, -HUP
+
+ovs-vsctl: CommandFilter, ovs-vsctl, root
+mm-ctl: CommandFilter, mm-ctl, root
+
+# ip_lib
+ip: IpFilter, ip, root
+ip_exec: IpNetnsExecFilter, ip, root
+route: CommandFilter, route, root
+
+# arping
+arping: CommandFilter, arping, root