nova/nova/rootwrap
Thierry Carrez 93d3c77caf Move rootwrap filters definition to config files
Move rootwrap filters definition from being defined within Nova
code to being defined in configuration files to facilitate pluging-in
new rootwrap commands.

Transition notes:
* nova-rootwrap now requires an additional (first) parameter pointing
  to the root-owned rootwrap.conf file, sudoers needs to be updated
  to specify that ("nova-rootwrap /etc/nova/rootwrap.conf *")
* Packagers should ship {compute,network,volume}.filters inside a
  directory listed in rootwrap.conf rather than shipping
  nova/rootwrap/{compute,network,volume}.py
* Filter definitions now only support strings. The KillFilter (which was
  using arrays as parameters) was modified and the tests updated.

Implements bp nova-rootwrap-pluggable-filters

Corresponding devstack change needs to land first, so that tests pass:
https://review.openstack.org/8842

Change-Id: I2350154cd8057bd57926ed542de035626f7de37d
2012-06-22 15:35:23 +02:00
..
__init__.py Imports cleanup 2012-06-19 01:05:37 +08:00
filters.py Move rootwrap filters definition to config files 2012-06-22 15:35:23 +02:00
wrapper.py Move rootwrap filters definition to config files 2012-06-22 15:35:23 +02:00