| 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 |
# '$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 |
| 11 |
# python. |
| 12 |
kill_tox_python: KillFilter, root, $BASE_PATH/bin/python, -9 |
| 13 |
|
| 14 |
# enable ping from namespace |
| 15 |
ping_filter: CommandFilter, ping, root |
| 16 |
|
| 17 |
# enable curl from namespace |
| 18 |
curl_filter: CommandFilter, curl, root |
| 19 |
tee_filter: CommandFilter, tee, root |
| 20 |
tee_kill: KillFilter, root, tee, -9 |