From ee53974ddc864535bbc99302d16da11287affe47 Mon Sep 17 00:00:00 2001 From: Richard Maw Date: Mon, 23 Mar 2015 21:06:52 +0000 Subject: WIP: Add OpenStack initial configuration TODO: Split this out into: 1. initial config (openstack/etc) default values 2+. as many individual changes to initial config as possible to extract, including support scripts and configuration extensions --- .../etc/neutron/rootwrap.d/lbaas-haproxy.filters | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 openstack/etc/neutron/rootwrap.d/lbaas-haproxy.filters (limited to 'openstack/etc/neutron/rootwrap.d/lbaas-haproxy.filters') 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 -- cgit v1.2.1