The cinder.openstack.common.rootwrap.wrapper Module

exception FilterMatchNotExecutable(match=None, **kwargs)

Bases: exceptions.Exception

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(filter_list, userargs, exec_dirs=[])

Checks user command and arguments through command filters.

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 cinder.openstack.common.rootwrap.filters Module

Next topic

The cinder.openstack.common.rpc.amqp Module

This Page