The nova.openstack.common.rootwrap.wrapper Module

exception FilterMatchNotExecutable(match=None, **kwargs)

Bases: exceptions.Exception

This exception is raised when a filter matched but no executable was found.

exception NoFilterMatched

Bases: exceptions.Exception

This exception is raised when no filter matched.

class RootwrapConfig(config)

Bases: object

build_filter(class_name, *args)

Returns a filter object of class class_name

load_filters(filters_path)

Load filters from a list of directories

match_filter(filters, userargs, exec_dirs=[])

Checks user command and arguments through command filters and returns the first matching filter. Raises NoFilterMatched if no filter matched. Raises FilterMatchNotExecutable if no executable was found for the best filter match.

setup_syslog(execname, facility, level)

Previous topic

The nova.openstack.common.rootwrap.filters Module

Next topic

The nova.openstack.common.rpc.amqp Module

This Page