]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Import recent rootwrap features in local rootwrap
authorThierry Carrez <thierry@openstack.org>
Mon, 6 May 2013 15:02:39 +0000 (17:02 +0200)
committerThierry Carrez <thierry@openstack.org>
Tue, 7 May 2013 09:29:30 +0000 (11:29 +0200)
commit4056e8e605bb5f24db1816eafd84d30719264ebe
tree96dc03649b85e1d3b3781c4b080948ac749f985d
parent2f3e340df08634a398b1338b75f83a07b8578dcc
Import recent rootwrap features in local rootwrap

Import features developed in oslo-rootwrap during the Grizzly cycle (and
recently in havana) into quantum-rootwrap. This is the first step toward
using the common oslo-rootwrap into Quantum: the goal being to make both
implementations converge, we should avoid making local changes (and push
any required change into oslo-rootwrap instead from now on).

New features include:
- Optional logging (use_syslog)
- Searching for executables in a specified binary path (exec_dirs)
- New path-based PathFilter

Those features required a refactoring in the way executables are matched
and in configuration loading.

Implements bp quantum-rootwrap-new-features

Change-Id: Ia6a2e91c297ade471448dae0964adfd001a46086
bin/quantum-rootwrap
quantum/rootwrap/filters.py
quantum/rootwrap/wrapper.py
quantum/tests/unit/test_rootwrap.py