Debian Codegraph @

neutron_vpnaas/tests/contrib/functional-testing.filters

raw
1 # neutron-rootwrap command filters to support functional testing. It
2 # is NOT intended to be used outside of a test environment.
3 #
4 # This file should be owned by (and only-writable by) the root user
5
6 [Filters]
7 # enable ping from namespace
8 ping_filter: CommandFilter, ping, root
9 ping6_filter: CommandFilter, ping6, root
10
11 # enable curl from namespace
12 curl_filter: CommandFilter, curl, root
13 tee_filter: CommandFilter, tee, root
14 tee_kill: KillFilter, root, tee, -9
15 nc_filter: CommandFilter, nc, root
16 # netcat has different binaries depending on linux distribution
17 nc_kill: KillFilter, root, nc, -9
18 ncbsd_kill: KillFilter, root, nc.openbsd, -9
19 ncat_kill: KillFilter, root, ncat, -9
20 ss_filter: CommandFilter, ss, root
21
22 # arping
23 arping: CommandFilter, arping, root
24
25 # l3_agent
26 sysctl: CommandFilter, sysctl, root
27 route: CommandFilter, route, root
28 radvd: CommandFilter, radvd, root
29
30 # metadata proxy
31 metadata_proxy: CommandFilter, neutron-ns-metadata-proxy, root
32 # RHEL invocation of the metadata proxy will report /usr/bin/python
33 kill_metadata: KillFilter, root, python, -9
34 kill_metadata7: KillFilter, root, python2.7, -9
35 kill_radvd_usr: KillFilter, root, /usr/sbin/radvd, -9, -HUP
36 kill_radvd: KillFilter, root, /sbin/radvd, -9, -HUP
37
38 # ip_lib
39 ip: IpFilter, ip, root
40 find: RegExpFilter, find, root, find, /sys/class/net, -maxdepth, 1, -type, l, -printf, %.*
41 ip_exec: IpNetnsExecFilter, ip, root
42
43 # For ip monitor
44 kill_ip_monitor: KillFilter, root, ip, -9
45
46 # ovs_lib (if OVSInterfaceDriver is used)
47 ovs-vsctl: CommandFilter, ovs-vsctl, root
48
49 # iptables_manager
50 iptables: CommandFilter, iptables, root
51 iptables-save: CommandFilter, iptables-save, root
52 iptables-restore: CommandFilter, iptables-restore, root
53 ip6tables-save: CommandFilter, ip6tables-save, root
54 ip6tables-restore: CommandFilter, ip6tables-restore, root
55
56 # Keepalived
57 keepalived: CommandFilter, keepalived, root
58 kill_keepalived: KillFilter, root, /usr/sbin/keepalived, -HUP, -15, -9
59
60 # l3 agent to delete floatingip's conntrack state
61 conntrack: CommandFilter, conntrack, root
62
63 # keepalived state change monitor
64 keepalived_state_change: CommandFilter, neutron-keepalived-state-change, root