1
# neutron-rootwrap command filters to support functional testing. It
2
# is NOT intended to be used outside of a test environment.
4
# This file should be owned by (and only-writeable by) the root user
7
# '$BASE_PATH' is intended to be replaced with the expected tox path
8
# (e.g. /opt/stack/new/neutron/.tox/dsvm-functional) by the neutron
9
# functional jenkins job. This ensures that tests can kill the
10
# processes that they launch with their containing tox environment's
12
kill_tox_python: KillFilter, root, $BASE_PATH/bin/python, -9
14
# enable ping from namespace
15
ping_filter: CommandFilter, ping, root
17
# enable curl from namespace
18
curl_filter: CommandFilter, curl, root
19
tee_filter: CommandFilter, tee, root
20
tee_kill: KillFilter, root, tee, -9
21
nc_filter: CommandFilter, nc, root
22
# netcat has different binaries depending on linux distribution
23
nc_kill: KillFilter, root, nc, -9
24
ncbsd_kill: KillFilter, root, nc.openbsd, -9
25
ncat_kill: KillFilter, root, ncat, -9
26
ss_filter: CommandFilter, ss, root